Documentation ¶
Index ¶
- type EndpointEventGrid
- func (*EndpointEventGrid) ElementType() reflect.Type
- func (i *EndpointEventGrid) ToEndpointEventGridOutput() EndpointEventGridOutput
- func (i *EndpointEventGrid) ToEndpointEventGridOutputWithContext(ctx context.Context) EndpointEventGridOutput
- func (i *EndpointEventGrid) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
- func (i *EndpointEventGrid) ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput
- type EndpointEventGridArgs
- type EndpointEventGridArray
- type EndpointEventGridArrayInput
- type EndpointEventGridArrayOutput
- func (EndpointEventGridArrayOutput) ElementType() reflect.Type
- func (o EndpointEventGridArrayOutput) Index(i pulumi.IntInput) EndpointEventGridOutput
- func (o EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutput() EndpointEventGridArrayOutput
- func (o EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutputWithContext(ctx context.Context) EndpointEventGridArrayOutput
- type EndpointEventGridInput
- type EndpointEventGridMap
- type EndpointEventGridMapInput
- type EndpointEventGridMapOutput
- func (EndpointEventGridMapOutput) ElementType() reflect.Type
- func (o EndpointEventGridMapOutput) MapIndex(k pulumi.StringInput) EndpointEventGridOutput
- func (o EndpointEventGridMapOutput) ToEndpointEventGridMapOutput() EndpointEventGridMapOutput
- func (o EndpointEventGridMapOutput) ToEndpointEventGridMapOutputWithContext(ctx context.Context) EndpointEventGridMapOutput
- type EndpointEventGridOutput
- func (EndpointEventGridOutput) ElementType() reflect.Type
- func (o EndpointEventGridOutput) ToEndpointEventGridOutput() EndpointEventGridOutput
- func (o EndpointEventGridOutput) ToEndpointEventGridOutputWithContext(ctx context.Context) EndpointEventGridOutput
- func (o EndpointEventGridOutput) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
- func (o EndpointEventGridOutput) ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput
- type EndpointEventGridPtrInput
- type EndpointEventGridPtrOutput
- func (o EndpointEventGridPtrOutput) Elem() EndpointEventGridOutput
- func (EndpointEventGridPtrOutput) ElementType() reflect.Type
- func (o EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
- func (o EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput
- type EndpointEventGridState
- type EndpointEventHub
- func (*EndpointEventHub) ElementType() reflect.Type
- func (i *EndpointEventHub) ToEndpointEventHubOutput() EndpointEventHubOutput
- func (i *EndpointEventHub) ToEndpointEventHubOutputWithContext(ctx context.Context) EndpointEventHubOutput
- func (i *EndpointEventHub) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
- func (i *EndpointEventHub) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
- type EndpointEventHubArgs
- type EndpointEventHubArray
- type EndpointEventHubArrayInput
- type EndpointEventHubArrayOutput
- func (EndpointEventHubArrayOutput) ElementType() reflect.Type
- func (o EndpointEventHubArrayOutput) Index(i pulumi.IntInput) EndpointEventHubOutput
- func (o EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutput() EndpointEventHubArrayOutput
- func (o EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutputWithContext(ctx context.Context) EndpointEventHubArrayOutput
- type EndpointEventHubInput
- type EndpointEventHubMap
- type EndpointEventHubMapInput
- type EndpointEventHubMapOutput
- func (EndpointEventHubMapOutput) ElementType() reflect.Type
- func (o EndpointEventHubMapOutput) MapIndex(k pulumi.StringInput) EndpointEventHubOutput
- func (o EndpointEventHubMapOutput) ToEndpointEventHubMapOutput() EndpointEventHubMapOutput
- func (o EndpointEventHubMapOutput) ToEndpointEventHubMapOutputWithContext(ctx context.Context) EndpointEventHubMapOutput
- type EndpointEventHubOutput
- func (EndpointEventHubOutput) ElementType() reflect.Type
- func (o EndpointEventHubOutput) ToEndpointEventHubOutput() EndpointEventHubOutput
- func (o EndpointEventHubOutput) ToEndpointEventHubOutputWithContext(ctx context.Context) EndpointEventHubOutput
- func (o EndpointEventHubOutput) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
- func (o EndpointEventHubOutput) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
- type EndpointEventHubPtrInput
- type EndpointEventHubPtrOutput
- func (o EndpointEventHubPtrOutput) Elem() EndpointEventHubOutput
- func (EndpointEventHubPtrOutput) ElementType() reflect.Type
- func (o EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
- func (o EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
- type EndpointEventHubState
- type EndpointServicebus
- func (*EndpointServicebus) ElementType() reflect.Type
- func (i *EndpointServicebus) ToEndpointServicebusOutput() EndpointServicebusOutput
- func (i *EndpointServicebus) ToEndpointServicebusOutputWithContext(ctx context.Context) EndpointServicebusOutput
- func (i *EndpointServicebus) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
- func (i *EndpointServicebus) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
- type EndpointServicebusArgs
- type EndpointServicebusArray
- type EndpointServicebusArrayInput
- type EndpointServicebusArrayOutput
- func (EndpointServicebusArrayOutput) ElementType() reflect.Type
- func (o EndpointServicebusArrayOutput) Index(i pulumi.IntInput) EndpointServicebusOutput
- func (o EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutput() EndpointServicebusArrayOutput
- func (o EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutputWithContext(ctx context.Context) EndpointServicebusArrayOutput
- type EndpointServicebusInput
- type EndpointServicebusMap
- type EndpointServicebusMapInput
- type EndpointServicebusMapOutput
- func (EndpointServicebusMapOutput) ElementType() reflect.Type
- func (o EndpointServicebusMapOutput) MapIndex(k pulumi.StringInput) EndpointServicebusOutput
- func (o EndpointServicebusMapOutput) ToEndpointServicebusMapOutput() EndpointServicebusMapOutput
- func (o EndpointServicebusMapOutput) ToEndpointServicebusMapOutputWithContext(ctx context.Context) EndpointServicebusMapOutput
- type EndpointServicebusOutput
- func (EndpointServicebusOutput) ElementType() reflect.Type
- func (o EndpointServicebusOutput) ToEndpointServicebusOutput() EndpointServicebusOutput
- func (o EndpointServicebusOutput) ToEndpointServicebusOutputWithContext(ctx context.Context) EndpointServicebusOutput
- func (o EndpointServicebusOutput) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
- func (o EndpointServicebusOutput) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
- type EndpointServicebusPtrInput
- type EndpointServicebusPtrOutput
- func (o EndpointServicebusPtrOutput) Elem() EndpointServicebusOutput
- func (EndpointServicebusPtrOutput) ElementType() reflect.Type
- func (o EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
- func (o EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
- type EndpointServicebusState
- type Instance
- func (*Instance) ElementType() reflect.Type
- func (i *Instance) ToInstanceOutput() InstanceOutput
- func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
- func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
- func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
- type InstancePtrInput
- type InstancePtrOutput
- type InstanceState
- type LookupInstanceArgs
- type LookupInstanceOutputArgs
- type LookupInstanceResult
- type LookupInstanceResultOutput
- func (LookupInstanceResultOutput) ElementType() reflect.Type
- func (o LookupInstanceResultOutput) HostName() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Id() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Location() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Name() pulumi.StringOutput
- func (o LookupInstanceResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EndpointEventGrid ¶
type EndpointEventGrid struct { pulumi.CustomResourceState // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrOutput `pulumi:"deadLetterStorageSecret"` // The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Eventgrid Endpoint to be created. DigitalTwinsId pulumi.StringOutput `pulumi:"digitalTwinsId"` // The endpoint of the Event Grid Topic. EventgridTopicEndpoint pulumi.StringOutput `pulumi:"eventgridTopicEndpoint"` // The primary access key of the Event Grid Topic. EventgridTopicPrimaryAccessKey pulumi.StringOutput `pulumi:"eventgridTopicPrimaryAccessKey"` // The secondary access key of the Event Grid Topic. EventgridTopicSecondaryAccessKey pulumi.StringOutput `pulumi:"eventgridTopicSecondaryAccessKey"` // The name which should be used for this Digital Twins Eventgrid Endpoint. Changing this forces a new Digital Twins Eventgrid Endpoint to be created. Name pulumi.StringOutput `pulumi:"name"` }
Manages a Digital Twins Event Grid Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/digitaltwins" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/eventgrid" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleInstance, err := digitaltwins.NewInstance(ctx, "exampleInstance", &digitaltwins.InstanceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, }) if err != nil { return err } exampleTopic, err := eventgrid.NewTopic(ctx, "exampleTopic", &eventgrid.TopicArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } _, err = digitaltwins.NewEndpointEventGrid(ctx, "exampleEndpointEventGrid", &digitaltwins.EndpointEventGridArgs{ DigitalTwinsId: exampleInstance.ID(), EventgridTopicEndpoint: exampleTopic.Endpoint, EventgridTopicPrimaryAccessKey: exampleTopic.PrimaryAccessKey, EventgridTopicSecondaryAccessKey: exampleTopic.SecondaryAccessKey, }) if err != nil { return err } return nil }) }
```
## Import
Digital Twins Eventgrid Endpoints can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:digitaltwins/endpointEventGrid:EndpointEventGrid example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DigitalTwins/digitalTwinsInstances/dt1/endpoints/ep1
```
func GetEndpointEventGrid ¶
func GetEndpointEventGrid(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointEventGridState, opts ...pulumi.ResourceOption) (*EndpointEventGrid, error)
GetEndpointEventGrid gets an existing EndpointEventGrid resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEndpointEventGrid ¶
func NewEndpointEventGrid(ctx *pulumi.Context, name string, args *EndpointEventGridArgs, opts ...pulumi.ResourceOption) (*EndpointEventGrid, error)
NewEndpointEventGrid registers a new resource with the given unique name, arguments, and options.
func (*EndpointEventGrid) ElementType ¶
func (*EndpointEventGrid) ElementType() reflect.Type
func (*EndpointEventGrid) ToEndpointEventGridOutput ¶
func (i *EndpointEventGrid) ToEndpointEventGridOutput() EndpointEventGridOutput
func (*EndpointEventGrid) ToEndpointEventGridOutputWithContext ¶
func (i *EndpointEventGrid) ToEndpointEventGridOutputWithContext(ctx context.Context) EndpointEventGridOutput
func (*EndpointEventGrid) ToEndpointEventGridPtrOutput ¶
func (i *EndpointEventGrid) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
func (*EndpointEventGrid) ToEndpointEventGridPtrOutputWithContext ¶
func (i *EndpointEventGrid) ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput
type EndpointEventGridArgs ¶
type EndpointEventGridArgs struct { // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrInput // The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Eventgrid Endpoint to be created. DigitalTwinsId pulumi.StringInput // The endpoint of the Event Grid Topic. EventgridTopicEndpoint pulumi.StringInput // The primary access key of the Event Grid Topic. EventgridTopicPrimaryAccessKey pulumi.StringInput // The secondary access key of the Event Grid Topic. EventgridTopicSecondaryAccessKey pulumi.StringInput // The name which should be used for this Digital Twins Eventgrid Endpoint. Changing this forces a new Digital Twins Eventgrid Endpoint to be created. Name pulumi.StringPtrInput }
The set of arguments for constructing a EndpointEventGrid resource.
func (EndpointEventGridArgs) ElementType ¶
func (EndpointEventGridArgs) ElementType() reflect.Type
type EndpointEventGridArray ¶
type EndpointEventGridArray []EndpointEventGridInput
func (EndpointEventGridArray) ElementType ¶
func (EndpointEventGridArray) ElementType() reflect.Type
func (EndpointEventGridArray) ToEndpointEventGridArrayOutput ¶
func (i EndpointEventGridArray) ToEndpointEventGridArrayOutput() EndpointEventGridArrayOutput
func (EndpointEventGridArray) ToEndpointEventGridArrayOutputWithContext ¶
func (i EndpointEventGridArray) ToEndpointEventGridArrayOutputWithContext(ctx context.Context) EndpointEventGridArrayOutput
type EndpointEventGridArrayInput ¶
type EndpointEventGridArrayInput interface { pulumi.Input ToEndpointEventGridArrayOutput() EndpointEventGridArrayOutput ToEndpointEventGridArrayOutputWithContext(context.Context) EndpointEventGridArrayOutput }
EndpointEventGridArrayInput is an input type that accepts EndpointEventGridArray and EndpointEventGridArrayOutput values. You can construct a concrete instance of `EndpointEventGridArrayInput` via:
EndpointEventGridArray{ EndpointEventGridArgs{...} }
type EndpointEventGridArrayOutput ¶
type EndpointEventGridArrayOutput struct{ *pulumi.OutputState }
func (EndpointEventGridArrayOutput) ElementType ¶
func (EndpointEventGridArrayOutput) ElementType() reflect.Type
func (EndpointEventGridArrayOutput) Index ¶
func (o EndpointEventGridArrayOutput) Index(i pulumi.IntInput) EndpointEventGridOutput
func (EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutput ¶
func (o EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutput() EndpointEventGridArrayOutput
func (EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutputWithContext ¶
func (o EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutputWithContext(ctx context.Context) EndpointEventGridArrayOutput
type EndpointEventGridInput ¶
type EndpointEventGridInput interface { pulumi.Input ToEndpointEventGridOutput() EndpointEventGridOutput ToEndpointEventGridOutputWithContext(ctx context.Context) EndpointEventGridOutput }
type EndpointEventGridMap ¶
type EndpointEventGridMap map[string]EndpointEventGridInput
func (EndpointEventGridMap) ElementType ¶
func (EndpointEventGridMap) ElementType() reflect.Type
func (EndpointEventGridMap) ToEndpointEventGridMapOutput ¶
func (i EndpointEventGridMap) ToEndpointEventGridMapOutput() EndpointEventGridMapOutput
func (EndpointEventGridMap) ToEndpointEventGridMapOutputWithContext ¶
func (i EndpointEventGridMap) ToEndpointEventGridMapOutputWithContext(ctx context.Context) EndpointEventGridMapOutput
type EndpointEventGridMapInput ¶
type EndpointEventGridMapInput interface { pulumi.Input ToEndpointEventGridMapOutput() EndpointEventGridMapOutput ToEndpointEventGridMapOutputWithContext(context.Context) EndpointEventGridMapOutput }
EndpointEventGridMapInput is an input type that accepts EndpointEventGridMap and EndpointEventGridMapOutput values. You can construct a concrete instance of `EndpointEventGridMapInput` via:
EndpointEventGridMap{ "key": EndpointEventGridArgs{...} }
type EndpointEventGridMapOutput ¶
type EndpointEventGridMapOutput struct{ *pulumi.OutputState }
func (EndpointEventGridMapOutput) ElementType ¶
func (EndpointEventGridMapOutput) ElementType() reflect.Type
func (EndpointEventGridMapOutput) MapIndex ¶
func (o EndpointEventGridMapOutput) MapIndex(k pulumi.StringInput) EndpointEventGridOutput
func (EndpointEventGridMapOutput) ToEndpointEventGridMapOutput ¶
func (o EndpointEventGridMapOutput) ToEndpointEventGridMapOutput() EndpointEventGridMapOutput
func (EndpointEventGridMapOutput) ToEndpointEventGridMapOutputWithContext ¶
func (o EndpointEventGridMapOutput) ToEndpointEventGridMapOutputWithContext(ctx context.Context) EndpointEventGridMapOutput
type EndpointEventGridOutput ¶
type EndpointEventGridOutput struct{ *pulumi.OutputState }
func (EndpointEventGridOutput) ElementType ¶
func (EndpointEventGridOutput) ElementType() reflect.Type
func (EndpointEventGridOutput) ToEndpointEventGridOutput ¶
func (o EndpointEventGridOutput) ToEndpointEventGridOutput() EndpointEventGridOutput
func (EndpointEventGridOutput) ToEndpointEventGridOutputWithContext ¶
func (o EndpointEventGridOutput) ToEndpointEventGridOutputWithContext(ctx context.Context) EndpointEventGridOutput
func (EndpointEventGridOutput) ToEndpointEventGridPtrOutput ¶
func (o EndpointEventGridOutput) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
func (EndpointEventGridOutput) ToEndpointEventGridPtrOutputWithContext ¶
func (o EndpointEventGridOutput) ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput
type EndpointEventGridPtrInput ¶
type EndpointEventGridPtrInput interface { pulumi.Input ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput }
type EndpointEventGridPtrOutput ¶
type EndpointEventGridPtrOutput struct{ *pulumi.OutputState }
func (EndpointEventGridPtrOutput) Elem ¶ added in v4.20.0
func (o EndpointEventGridPtrOutput) Elem() EndpointEventGridOutput
func (EndpointEventGridPtrOutput) ElementType ¶
func (EndpointEventGridPtrOutput) ElementType() reflect.Type
func (EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutput ¶
func (o EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
func (EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutputWithContext ¶
func (o EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput
type EndpointEventGridState ¶
type EndpointEventGridState struct { // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrInput // The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Eventgrid Endpoint to be created. DigitalTwinsId pulumi.StringPtrInput // The endpoint of the Event Grid Topic. EventgridTopicEndpoint pulumi.StringPtrInput // The primary access key of the Event Grid Topic. EventgridTopicPrimaryAccessKey pulumi.StringPtrInput // The secondary access key of the Event Grid Topic. EventgridTopicSecondaryAccessKey pulumi.StringPtrInput // The name which should be used for this Digital Twins Eventgrid Endpoint. Changing this forces a new Digital Twins Eventgrid Endpoint to be created. Name pulumi.StringPtrInput }
func (EndpointEventGridState) ElementType ¶
func (EndpointEventGridState) ElementType() reflect.Type
type EndpointEventHub ¶
type EndpointEventHub struct { pulumi.CustomResourceState // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrOutput `pulumi:"deadLetterStorageSecret"` // The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created. DigitalTwinsId pulumi.StringOutput `pulumi:"digitalTwinsId"` // The primary connection string of the Event Hub Authorization Rule with a minimum of `send` permission. EventhubPrimaryConnectionString pulumi.StringOutput `pulumi:"eventhubPrimaryConnectionString"` // The secondary connection string of the Event Hub Authorization Rule with a minimum of `send` permission. EventhubSecondaryConnectionString pulumi.StringOutput `pulumi:"eventhubSecondaryConnectionString"` // The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created. Name pulumi.StringOutput `pulumi:"name"` }
Manages a Digital Twins Event Hub Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/digitaltwins" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/eventhub" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleInstance, err := digitaltwins.NewInstance(ctx, "exampleInstance", &digitaltwins.InstanceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, }) if err != nil { return err } exampleEventHubNamespace, err := eventhub.NewEventHubNamespace(ctx, "exampleEventHubNamespace", &eventhub.EventHubNamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } exampleEventHub, err := eventhub.NewEventHub(ctx, "exampleEventHub", &eventhub.EventHubArgs{ NamespaceName: exampleEventHubNamespace.Name, ResourceGroupName: exampleResourceGroup.Name, PartitionCount: pulumi.Int(2), MessageRetention: pulumi.Int(1), }) if err != nil { return err } exampleAuthorizationRule, err := eventhub.NewAuthorizationRule(ctx, "exampleAuthorizationRule", &eventhub.AuthorizationRuleArgs{ NamespaceName: exampleEventHubNamespace.Name, EventhubName: exampleEventHub.Name, ResourceGroupName: exampleResourceGroup.Name, Listen: pulumi.Bool(false), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } _, err = digitaltwins.NewEndpointEventHub(ctx, "exampleEndpointEventHub", &digitaltwins.EndpointEventHubArgs{ DigitalTwinsId: exampleInstance.ID(), EventhubPrimaryConnectionString: exampleAuthorizationRule.PrimaryConnectionString, EventhubSecondaryConnectionString: exampleAuthorizationRule.SecondaryConnectionString, }) if err != nil { return err } return nil }) }
```
## Import
Digital Twins Eventhub Endpoints can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:digitaltwins/endpointEventHub:EndpointEventHub example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DigitalTwins/digitalTwinsInstances/dt1/endpoints/ep1
```
func GetEndpointEventHub ¶
func GetEndpointEventHub(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointEventHubState, opts ...pulumi.ResourceOption) (*EndpointEventHub, error)
GetEndpointEventHub gets an existing EndpointEventHub resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEndpointEventHub ¶
func NewEndpointEventHub(ctx *pulumi.Context, name string, args *EndpointEventHubArgs, opts ...pulumi.ResourceOption) (*EndpointEventHub, error)
NewEndpointEventHub registers a new resource with the given unique name, arguments, and options.
func (*EndpointEventHub) ElementType ¶
func (*EndpointEventHub) ElementType() reflect.Type
func (*EndpointEventHub) ToEndpointEventHubOutput ¶
func (i *EndpointEventHub) ToEndpointEventHubOutput() EndpointEventHubOutput
func (*EndpointEventHub) ToEndpointEventHubOutputWithContext ¶
func (i *EndpointEventHub) ToEndpointEventHubOutputWithContext(ctx context.Context) EndpointEventHubOutput
func (*EndpointEventHub) ToEndpointEventHubPtrOutput ¶
func (i *EndpointEventHub) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
func (*EndpointEventHub) ToEndpointEventHubPtrOutputWithContext ¶
func (i *EndpointEventHub) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
type EndpointEventHubArgs ¶
type EndpointEventHubArgs struct { // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrInput // The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created. DigitalTwinsId pulumi.StringInput // The primary connection string of the Event Hub Authorization Rule with a minimum of `send` permission. EventhubPrimaryConnectionString pulumi.StringInput // The secondary connection string of the Event Hub Authorization Rule with a minimum of `send` permission. EventhubSecondaryConnectionString pulumi.StringInput // The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created. Name pulumi.StringPtrInput }
The set of arguments for constructing a EndpointEventHub resource.
func (EndpointEventHubArgs) ElementType ¶
func (EndpointEventHubArgs) ElementType() reflect.Type
type EndpointEventHubArray ¶
type EndpointEventHubArray []EndpointEventHubInput
func (EndpointEventHubArray) ElementType ¶
func (EndpointEventHubArray) ElementType() reflect.Type
func (EndpointEventHubArray) ToEndpointEventHubArrayOutput ¶
func (i EndpointEventHubArray) ToEndpointEventHubArrayOutput() EndpointEventHubArrayOutput
func (EndpointEventHubArray) ToEndpointEventHubArrayOutputWithContext ¶
func (i EndpointEventHubArray) ToEndpointEventHubArrayOutputWithContext(ctx context.Context) EndpointEventHubArrayOutput
type EndpointEventHubArrayInput ¶
type EndpointEventHubArrayInput interface { pulumi.Input ToEndpointEventHubArrayOutput() EndpointEventHubArrayOutput ToEndpointEventHubArrayOutputWithContext(context.Context) EndpointEventHubArrayOutput }
EndpointEventHubArrayInput is an input type that accepts EndpointEventHubArray and EndpointEventHubArrayOutput values. You can construct a concrete instance of `EndpointEventHubArrayInput` via:
EndpointEventHubArray{ EndpointEventHubArgs{...} }
type EndpointEventHubArrayOutput ¶
type EndpointEventHubArrayOutput struct{ *pulumi.OutputState }
func (EndpointEventHubArrayOutput) ElementType ¶
func (EndpointEventHubArrayOutput) ElementType() reflect.Type
func (EndpointEventHubArrayOutput) Index ¶
func (o EndpointEventHubArrayOutput) Index(i pulumi.IntInput) EndpointEventHubOutput
func (EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutput ¶
func (o EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutput() EndpointEventHubArrayOutput
func (EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutputWithContext ¶
func (o EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutputWithContext(ctx context.Context) EndpointEventHubArrayOutput
type EndpointEventHubInput ¶
type EndpointEventHubInput interface { pulumi.Input ToEndpointEventHubOutput() EndpointEventHubOutput ToEndpointEventHubOutputWithContext(ctx context.Context) EndpointEventHubOutput }
type EndpointEventHubMap ¶
type EndpointEventHubMap map[string]EndpointEventHubInput
func (EndpointEventHubMap) ElementType ¶
func (EndpointEventHubMap) ElementType() reflect.Type
func (EndpointEventHubMap) ToEndpointEventHubMapOutput ¶
func (i EndpointEventHubMap) ToEndpointEventHubMapOutput() EndpointEventHubMapOutput
func (EndpointEventHubMap) ToEndpointEventHubMapOutputWithContext ¶
func (i EndpointEventHubMap) ToEndpointEventHubMapOutputWithContext(ctx context.Context) EndpointEventHubMapOutput
type EndpointEventHubMapInput ¶
type EndpointEventHubMapInput interface { pulumi.Input ToEndpointEventHubMapOutput() EndpointEventHubMapOutput ToEndpointEventHubMapOutputWithContext(context.Context) EndpointEventHubMapOutput }
EndpointEventHubMapInput is an input type that accepts EndpointEventHubMap and EndpointEventHubMapOutput values. You can construct a concrete instance of `EndpointEventHubMapInput` via:
EndpointEventHubMap{ "key": EndpointEventHubArgs{...} }
type EndpointEventHubMapOutput ¶
type EndpointEventHubMapOutput struct{ *pulumi.OutputState }
func (EndpointEventHubMapOutput) ElementType ¶
func (EndpointEventHubMapOutput) ElementType() reflect.Type
func (EndpointEventHubMapOutput) MapIndex ¶
func (o EndpointEventHubMapOutput) MapIndex(k pulumi.StringInput) EndpointEventHubOutput
func (EndpointEventHubMapOutput) ToEndpointEventHubMapOutput ¶
func (o EndpointEventHubMapOutput) ToEndpointEventHubMapOutput() EndpointEventHubMapOutput
func (EndpointEventHubMapOutput) ToEndpointEventHubMapOutputWithContext ¶
func (o EndpointEventHubMapOutput) ToEndpointEventHubMapOutputWithContext(ctx context.Context) EndpointEventHubMapOutput
type EndpointEventHubOutput ¶
type EndpointEventHubOutput struct{ *pulumi.OutputState }
func (EndpointEventHubOutput) ElementType ¶
func (EndpointEventHubOutput) ElementType() reflect.Type
func (EndpointEventHubOutput) ToEndpointEventHubOutput ¶
func (o EndpointEventHubOutput) ToEndpointEventHubOutput() EndpointEventHubOutput
func (EndpointEventHubOutput) ToEndpointEventHubOutputWithContext ¶
func (o EndpointEventHubOutput) ToEndpointEventHubOutputWithContext(ctx context.Context) EndpointEventHubOutput
func (EndpointEventHubOutput) ToEndpointEventHubPtrOutput ¶
func (o EndpointEventHubOutput) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
func (EndpointEventHubOutput) ToEndpointEventHubPtrOutputWithContext ¶
func (o EndpointEventHubOutput) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
type EndpointEventHubPtrInput ¶
type EndpointEventHubPtrInput interface { pulumi.Input ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput }
type EndpointEventHubPtrOutput ¶
type EndpointEventHubPtrOutput struct{ *pulumi.OutputState }
func (EndpointEventHubPtrOutput) Elem ¶ added in v4.20.0
func (o EndpointEventHubPtrOutput) Elem() EndpointEventHubOutput
func (EndpointEventHubPtrOutput) ElementType ¶
func (EndpointEventHubPtrOutput) ElementType() reflect.Type
func (EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutput ¶
func (o EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
func (EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutputWithContext ¶
func (o EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
type EndpointEventHubState ¶
type EndpointEventHubState struct { // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrInput // The resource ID of the Digital Twins Instance. Changing this forces a new Digital Twins Event Hub Endpoint to be created. DigitalTwinsId pulumi.StringPtrInput // The primary connection string of the Event Hub Authorization Rule with a minimum of `send` permission. EventhubPrimaryConnectionString pulumi.StringPtrInput // The secondary connection string of the Event Hub Authorization Rule with a minimum of `send` permission. EventhubSecondaryConnectionString pulumi.StringPtrInput // The name which should be used for this Digital Twins Event Hub Endpoint. Changing this forces a new Digital Twins Event Hub Endpoint to be created. Name pulumi.StringPtrInput }
func (EndpointEventHubState) ElementType ¶
func (EndpointEventHubState) ElementType() reflect.Type
type EndpointServicebus ¶
type EndpointServicebus struct { pulumi.CustomResourceState // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrOutput `pulumi:"deadLetterStorageSecret"` // The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created. DigitalTwinsId pulumi.StringOutput `pulumi:"digitalTwinsId"` // The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created. Name pulumi.StringOutput `pulumi:"name"` // The primary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. . ServicebusPrimaryConnectionString pulumi.StringOutput `pulumi:"servicebusPrimaryConnectionString"` // The secondary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. ServicebusSecondaryConnectionString pulumi.StringOutput `pulumi:"servicebusSecondaryConnectionString"` }
Manages a Digital Twins Service Bus Endpoint.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/digitaltwins" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/servicebus" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } exampleInstance, err := digitaltwins.NewInstance(ctx, "exampleInstance", &digitaltwins.InstanceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, }) if err != nil { return err } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), }) if err != nil { return err } exampleTopic, err := servicebus.NewTopic(ctx, "exampleTopic", &servicebus.TopicArgs{ NamespaceName: exampleNamespace.Name, ResourceGroupName: exampleResourceGroup.Name, }) if err != nil { return err } exampleTopicAuthorizationRule, err := servicebus.NewTopicAuthorizationRule(ctx, "exampleTopicAuthorizationRule", &servicebus.TopicAuthorizationRuleArgs{ NamespaceName: exampleNamespace.Name, ResourceGroupName: exampleResourceGroup.Name, TopicName: exampleTopic.Name, Listen: pulumi.Bool(false), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } _, err = digitaltwins.NewEndpointServicebus(ctx, "exampleEndpointServicebus", &digitaltwins.EndpointServicebusArgs{ DigitalTwinsId: exampleInstance.ID(), ServicebusPrimaryConnectionString: exampleTopicAuthorizationRule.PrimaryConnectionString, ServicebusSecondaryConnectionString: exampleTopicAuthorizationRule.SecondaryConnectionString, }) if err != nil { return err } return nil }) }
```
## Import
Digital Twins Service Bus Endpoints can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:digitaltwins/endpointServicebus:EndpointServicebus example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DigitalTwins/digitalTwinsInstances/dt1/endpoints/ep1
```
func GetEndpointServicebus ¶
func GetEndpointServicebus(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EndpointServicebusState, opts ...pulumi.ResourceOption) (*EndpointServicebus, error)
GetEndpointServicebus gets an existing EndpointServicebus resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewEndpointServicebus ¶
func NewEndpointServicebus(ctx *pulumi.Context, name string, args *EndpointServicebusArgs, opts ...pulumi.ResourceOption) (*EndpointServicebus, error)
NewEndpointServicebus registers a new resource with the given unique name, arguments, and options.
func (*EndpointServicebus) ElementType ¶
func (*EndpointServicebus) ElementType() reflect.Type
func (*EndpointServicebus) ToEndpointServicebusOutput ¶
func (i *EndpointServicebus) ToEndpointServicebusOutput() EndpointServicebusOutput
func (*EndpointServicebus) ToEndpointServicebusOutputWithContext ¶
func (i *EndpointServicebus) ToEndpointServicebusOutputWithContext(ctx context.Context) EndpointServicebusOutput
func (*EndpointServicebus) ToEndpointServicebusPtrOutput ¶
func (i *EndpointServicebus) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
func (*EndpointServicebus) ToEndpointServicebusPtrOutputWithContext ¶
func (i *EndpointServicebus) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
type EndpointServicebusArgs ¶
type EndpointServicebusArgs struct { // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrInput // The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created. DigitalTwinsId pulumi.StringInput // The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created. Name pulumi.StringPtrInput // The primary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. . ServicebusPrimaryConnectionString pulumi.StringInput // The secondary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. ServicebusSecondaryConnectionString pulumi.StringInput }
The set of arguments for constructing a EndpointServicebus resource.
func (EndpointServicebusArgs) ElementType ¶
func (EndpointServicebusArgs) ElementType() reflect.Type
type EndpointServicebusArray ¶
type EndpointServicebusArray []EndpointServicebusInput
func (EndpointServicebusArray) ElementType ¶
func (EndpointServicebusArray) ElementType() reflect.Type
func (EndpointServicebusArray) ToEndpointServicebusArrayOutput ¶
func (i EndpointServicebusArray) ToEndpointServicebusArrayOutput() EndpointServicebusArrayOutput
func (EndpointServicebusArray) ToEndpointServicebusArrayOutputWithContext ¶
func (i EndpointServicebusArray) ToEndpointServicebusArrayOutputWithContext(ctx context.Context) EndpointServicebusArrayOutput
type EndpointServicebusArrayInput ¶
type EndpointServicebusArrayInput interface { pulumi.Input ToEndpointServicebusArrayOutput() EndpointServicebusArrayOutput ToEndpointServicebusArrayOutputWithContext(context.Context) EndpointServicebusArrayOutput }
EndpointServicebusArrayInput is an input type that accepts EndpointServicebusArray and EndpointServicebusArrayOutput values. You can construct a concrete instance of `EndpointServicebusArrayInput` via:
EndpointServicebusArray{ EndpointServicebusArgs{...} }
type EndpointServicebusArrayOutput ¶
type EndpointServicebusArrayOutput struct{ *pulumi.OutputState }
func (EndpointServicebusArrayOutput) ElementType ¶
func (EndpointServicebusArrayOutput) ElementType() reflect.Type
func (EndpointServicebusArrayOutput) Index ¶
func (o EndpointServicebusArrayOutput) Index(i pulumi.IntInput) EndpointServicebusOutput
func (EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutput ¶
func (o EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutput() EndpointServicebusArrayOutput
func (EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutputWithContext ¶
func (o EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutputWithContext(ctx context.Context) EndpointServicebusArrayOutput
type EndpointServicebusInput ¶
type EndpointServicebusInput interface { pulumi.Input ToEndpointServicebusOutput() EndpointServicebusOutput ToEndpointServicebusOutputWithContext(ctx context.Context) EndpointServicebusOutput }
type EndpointServicebusMap ¶
type EndpointServicebusMap map[string]EndpointServicebusInput
func (EndpointServicebusMap) ElementType ¶
func (EndpointServicebusMap) ElementType() reflect.Type
func (EndpointServicebusMap) ToEndpointServicebusMapOutput ¶
func (i EndpointServicebusMap) ToEndpointServicebusMapOutput() EndpointServicebusMapOutput
func (EndpointServicebusMap) ToEndpointServicebusMapOutputWithContext ¶
func (i EndpointServicebusMap) ToEndpointServicebusMapOutputWithContext(ctx context.Context) EndpointServicebusMapOutput
type EndpointServicebusMapInput ¶
type EndpointServicebusMapInput interface { pulumi.Input ToEndpointServicebusMapOutput() EndpointServicebusMapOutput ToEndpointServicebusMapOutputWithContext(context.Context) EndpointServicebusMapOutput }
EndpointServicebusMapInput is an input type that accepts EndpointServicebusMap and EndpointServicebusMapOutput values. You can construct a concrete instance of `EndpointServicebusMapInput` via:
EndpointServicebusMap{ "key": EndpointServicebusArgs{...} }
type EndpointServicebusMapOutput ¶
type EndpointServicebusMapOutput struct{ *pulumi.OutputState }
func (EndpointServicebusMapOutput) ElementType ¶
func (EndpointServicebusMapOutput) ElementType() reflect.Type
func (EndpointServicebusMapOutput) MapIndex ¶
func (o EndpointServicebusMapOutput) MapIndex(k pulumi.StringInput) EndpointServicebusOutput
func (EndpointServicebusMapOutput) ToEndpointServicebusMapOutput ¶
func (o EndpointServicebusMapOutput) ToEndpointServicebusMapOutput() EndpointServicebusMapOutput
func (EndpointServicebusMapOutput) ToEndpointServicebusMapOutputWithContext ¶
func (o EndpointServicebusMapOutput) ToEndpointServicebusMapOutputWithContext(ctx context.Context) EndpointServicebusMapOutput
type EndpointServicebusOutput ¶
type EndpointServicebusOutput struct{ *pulumi.OutputState }
func (EndpointServicebusOutput) ElementType ¶
func (EndpointServicebusOutput) ElementType() reflect.Type
func (EndpointServicebusOutput) ToEndpointServicebusOutput ¶
func (o EndpointServicebusOutput) ToEndpointServicebusOutput() EndpointServicebusOutput
func (EndpointServicebusOutput) ToEndpointServicebusOutputWithContext ¶
func (o EndpointServicebusOutput) ToEndpointServicebusOutputWithContext(ctx context.Context) EndpointServicebusOutput
func (EndpointServicebusOutput) ToEndpointServicebusPtrOutput ¶
func (o EndpointServicebusOutput) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
func (EndpointServicebusOutput) ToEndpointServicebusPtrOutputWithContext ¶
func (o EndpointServicebusOutput) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
type EndpointServicebusPtrInput ¶
type EndpointServicebusPtrInput interface { pulumi.Input ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput }
type EndpointServicebusPtrOutput ¶
type EndpointServicebusPtrOutput struct{ *pulumi.OutputState }
func (EndpointServicebusPtrOutput) Elem ¶ added in v4.20.0
func (o EndpointServicebusPtrOutput) Elem() EndpointServicebusOutput
func (EndpointServicebusPtrOutput) ElementType ¶
func (EndpointServicebusPtrOutput) ElementType() reflect.Type
func (EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutput ¶
func (o EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
func (EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutputWithContext ¶
func (o EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
type EndpointServicebusState ¶
type EndpointServicebusState struct { // The storage secret of the dead-lettering, whose format is `https://<storageAccountname>.blob.core.windows.net/<containerName>?<SASToken>`. When an endpoint can't deliver an event within a certain time period or after trying to deliver the event a certain number of times, it can send the undelivered event to a storage account. DeadLetterStorageSecret pulumi.StringPtrInput // The ID of the Digital Twins Instance. Changing this forces a new Digital Twins Service Bus Endpoint to be created. DigitalTwinsId pulumi.StringPtrInput // The name which should be used for this Digital Twins Service Bus Endpoint. Changing this forces a new Digital Twins Service Bus Endpoint to be created. Name pulumi.StringPtrInput // The primary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. . ServicebusPrimaryConnectionString pulumi.StringPtrInput // The secondary connection string of the Service Bus Topic Authorization Rule with a minimum of `send` permission. ServicebusSecondaryConnectionString pulumi.StringPtrInput }
func (EndpointServicebusState) ElementType ¶
func (EndpointServicebusState) ElementType() reflect.Type
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The Api endpoint to work with this Digital Twins instance. HostName pulumi.StringOutput `pulumi:"hostName"` // The Azure Region where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. Location pulumi.StringOutput `pulumi:"location"` // The name which should be used for this Digital Twins instance. Changing this forces a new Digital Twins instance to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the Resource Group where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // A mapping of tags which should be assigned to the Digital Twins instance. Tags pulumi.StringMapOutput `pulumi:"tags"` }
Manages a Digital Twins instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v4/go/azure/digitaltwins" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleResourceGroup, err := core.NewResourceGroup(ctx, "exampleResourceGroup", &core.ResourceGroupArgs{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = digitaltwins.NewInstance(ctx, "exampleInstance", &digitaltwins.InstanceArgs{ ResourceGroupName: exampleResourceGroup.Name, Location: exampleResourceGroup.Location, Tags: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
```
## Import
Digital Twins instances can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:digitaltwins/instance:Instance example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.DigitalTwins/digitalTwinsInstances/dt1
```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (*Instance) ToInstancePtrOutput ¶
func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
func (*Instance) ToInstancePtrOutputWithContext ¶
func (i *Instance) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstanceArgs ¶
type InstanceArgs struct { // The Azure Region where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. Location pulumi.StringPtrInput // The name which should be used for this Digital Twins instance. Changing this forces a new Digital Twins instance to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. ResourceGroupName pulumi.StringInput // A mapping of tags which should be assigned to the Digital Twins instance. Tags pulumi.StringMapInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) ToInstancePtrOutput ¶
func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstanceOutput) ToInstancePtrOutputWithContext ¶
func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstancePtrInput ¶
type InstancePtrInput interface { pulumi.Input ToInstancePtrOutput() InstancePtrOutput ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput }
type InstancePtrOutput ¶
type InstancePtrOutput struct{ *pulumi.OutputState }
func (InstancePtrOutput) Elem ¶ added in v4.20.0
func (o InstancePtrOutput) Elem() InstanceOutput
func (InstancePtrOutput) ElementType ¶
func (InstancePtrOutput) ElementType() reflect.Type
func (InstancePtrOutput) ToInstancePtrOutput ¶
func (o InstancePtrOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstancePtrOutput) ToInstancePtrOutputWithContext ¶
func (o InstancePtrOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstanceState ¶
type InstanceState struct { // The Api endpoint to work with this Digital Twins instance. HostName pulumi.StringPtrInput // The Azure Region where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. Location pulumi.StringPtrInput // The name which should be used for this Digital Twins instance. Changing this forces a new Digital Twins instance to be created. Name pulumi.StringPtrInput // The name of the Resource Group where the Digital Twins instance should exist. Changing this forces a new Digital Twins instance to be created. ResourceGroupName pulumi.StringPtrInput // A mapping of tags which should be assigned to the Digital Twins instance. Tags pulumi.StringMapInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type LookupInstanceArgs ¶
type LookupInstanceArgs struct { // The name of this Digital Twins instance. Name string `pulumi:"name"` // The name of the Resource Group where the Digital Twins instance exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getInstance.
type LookupInstanceOutputArgs ¶ added in v4.20.0
type LookupInstanceOutputArgs struct { // The name of this Digital Twins instance. Name pulumi.StringInput `pulumi:"name"` // The name of the Resource Group where the Digital Twins instance exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getInstance.
func (LookupInstanceOutputArgs) ElementType ¶ added in v4.20.0
func (LookupInstanceOutputArgs) ElementType() reflect.Type
type LookupInstanceResult ¶
type LookupInstanceResult struct { // The Api endpoint to work with this Digital Twins instance. HostName string `pulumi:"hostName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The Azure Region where the Digital Twins instance exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // A mapping of tags assigned to the Digital Twins instance. Tags map[string]string `pulumi:"tags"` }
A collection of values returned by getInstance.
func LookupInstance ¶
func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)
Use this data source to access information about an existing Digital Twins instance.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/digitaltwins" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := digitaltwins.LookupInstance(ctx, &digitaltwins.LookupInstanceArgs{ Name: "existing-digital-twins", ResourceGroupName: "existing-resgroup", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupInstanceResultOutput ¶ added in v4.20.0
type LookupInstanceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstance.
func LookupInstanceOutput ¶ added in v4.20.0
func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput
func (LookupInstanceResultOutput) ElementType ¶ added in v4.20.0
func (LookupInstanceResultOutput) ElementType() reflect.Type
func (LookupInstanceResultOutput) HostName ¶ added in v4.20.0
func (o LookupInstanceResultOutput) HostName() pulumi.StringOutput
The Api endpoint to work with this Digital Twins instance.
func (LookupInstanceResultOutput) Id ¶ added in v4.20.0
func (o LookupInstanceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupInstanceResultOutput) Location ¶ added in v4.20.0
func (o LookupInstanceResultOutput) Location() pulumi.StringOutput
The Azure Region where the Digital Twins instance exists.
func (LookupInstanceResultOutput) Name ¶ added in v4.20.0
func (o LookupInstanceResultOutput) Name() pulumi.StringOutput
func (LookupInstanceResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupInstanceResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupInstanceResultOutput) Tags ¶ added in v4.20.0
func (o LookupInstanceResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the Digital Twins instance.
func (LookupInstanceResultOutput) ToLookupInstanceResultOutput ¶ added in v4.20.0
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext ¶ added in v4.20.0
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput