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
- 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
- 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
- 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 LookupInstanceResult
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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/digitaltwins" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/eventgrid" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.47.1
func (i *EndpointEventGrid) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
func (*EndpointEventGrid) ToEndpointEventGridPtrOutputWithContext ¶ added in v3.47.1
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 ¶ added in v3.47.1
type EndpointEventGridArray []EndpointEventGridInput
func (EndpointEventGridArray) ElementType ¶ added in v3.47.1
func (EndpointEventGridArray) ElementType() reflect.Type
func (EndpointEventGridArray) ToEndpointEventGridArrayOutput ¶ added in v3.47.1
func (i EndpointEventGridArray) ToEndpointEventGridArrayOutput() EndpointEventGridArrayOutput
func (EndpointEventGridArray) ToEndpointEventGridArrayOutputWithContext ¶ added in v3.47.1
func (i EndpointEventGridArray) ToEndpointEventGridArrayOutputWithContext(ctx context.Context) EndpointEventGridArrayOutput
type EndpointEventGridArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type EndpointEventGridArrayOutput struct{ *pulumi.OutputState }
func (EndpointEventGridArrayOutput) ElementType ¶ added in v3.47.1
func (EndpointEventGridArrayOutput) ElementType() reflect.Type
func (EndpointEventGridArrayOutput) Index ¶ added in v3.47.1
func (o EndpointEventGridArrayOutput) Index(i pulumi.IntInput) EndpointEventGridOutput
func (EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutput ¶ added in v3.47.1
func (o EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutput() EndpointEventGridArrayOutput
func (EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutputWithContext ¶ added in v3.47.1
func (o EndpointEventGridArrayOutput) ToEndpointEventGridArrayOutputWithContext(ctx context.Context) EndpointEventGridArrayOutput
type EndpointEventGridInput ¶
type EndpointEventGridInput interface { pulumi.Input ToEndpointEventGridOutput() EndpointEventGridOutput ToEndpointEventGridOutputWithContext(ctx context.Context) EndpointEventGridOutput }
type EndpointEventGridMap ¶ added in v3.47.1
type EndpointEventGridMap map[string]EndpointEventGridInput
func (EndpointEventGridMap) ElementType ¶ added in v3.47.1
func (EndpointEventGridMap) ElementType() reflect.Type
func (EndpointEventGridMap) ToEndpointEventGridMapOutput ¶ added in v3.47.1
func (i EndpointEventGridMap) ToEndpointEventGridMapOutput() EndpointEventGridMapOutput
func (EndpointEventGridMap) ToEndpointEventGridMapOutputWithContext ¶ added in v3.47.1
func (i EndpointEventGridMap) ToEndpointEventGridMapOutputWithContext(ctx context.Context) EndpointEventGridMapOutput
type EndpointEventGridMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type EndpointEventGridMapOutput struct{ *pulumi.OutputState }
func (EndpointEventGridMapOutput) ElementType ¶ added in v3.47.1
func (EndpointEventGridMapOutput) ElementType() reflect.Type
func (EndpointEventGridMapOutput) MapIndex ¶ added in v3.47.1
func (o EndpointEventGridMapOutput) MapIndex(k pulumi.StringInput) EndpointEventGridOutput
func (EndpointEventGridMapOutput) ToEndpointEventGridMapOutput ¶ added in v3.47.1
func (o EndpointEventGridMapOutput) ToEndpointEventGridMapOutput() EndpointEventGridMapOutput
func (EndpointEventGridMapOutput) ToEndpointEventGridMapOutputWithContext ¶ added in v3.47.1
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 ¶ added in v3.47.1
func (o EndpointEventGridOutput) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
func (EndpointEventGridOutput) ToEndpointEventGridPtrOutputWithContext ¶ added in v3.47.1
func (o EndpointEventGridOutput) ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput
type EndpointEventGridPtrInput ¶ added in v3.47.1
type EndpointEventGridPtrInput interface { pulumi.Input ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput ToEndpointEventGridPtrOutputWithContext(ctx context.Context) EndpointEventGridPtrOutput }
type EndpointEventGridPtrOutput ¶ added in v3.47.1
type EndpointEventGridPtrOutput struct {
*pulumi.OutputState
}
func (EndpointEventGridPtrOutput) ElementType ¶ added in v3.47.1
func (EndpointEventGridPtrOutput) ElementType() reflect.Type
func (EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutput ¶ added in v3.47.1
func (o EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutput() EndpointEventGridPtrOutput
func (EndpointEventGridPtrOutput) ToEndpointEventGridPtrOutputWithContext ¶ added in v3.47.1
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 ¶ added in v3.40.0
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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/digitaltwins" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/eventhub" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.40.0
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 ¶ added in v3.40.0
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 ¶ added in v3.40.0
func (*EndpointEventHub) ElementType() reflect.Type
func (*EndpointEventHub) ToEndpointEventHubOutput ¶ added in v3.40.0
func (i *EndpointEventHub) ToEndpointEventHubOutput() EndpointEventHubOutput
func (*EndpointEventHub) ToEndpointEventHubOutputWithContext ¶ added in v3.40.0
func (i *EndpointEventHub) ToEndpointEventHubOutputWithContext(ctx context.Context) EndpointEventHubOutput
func (*EndpointEventHub) ToEndpointEventHubPtrOutput ¶ added in v3.47.1
func (i *EndpointEventHub) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
func (*EndpointEventHub) ToEndpointEventHubPtrOutputWithContext ¶ added in v3.47.1
func (i *EndpointEventHub) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
type EndpointEventHubArgs ¶ added in v3.40.0
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 ¶ added in v3.40.0
func (EndpointEventHubArgs) ElementType() reflect.Type
type EndpointEventHubArray ¶ added in v3.47.1
type EndpointEventHubArray []EndpointEventHubInput
func (EndpointEventHubArray) ElementType ¶ added in v3.47.1
func (EndpointEventHubArray) ElementType() reflect.Type
func (EndpointEventHubArray) ToEndpointEventHubArrayOutput ¶ added in v3.47.1
func (i EndpointEventHubArray) ToEndpointEventHubArrayOutput() EndpointEventHubArrayOutput
func (EndpointEventHubArray) ToEndpointEventHubArrayOutputWithContext ¶ added in v3.47.1
func (i EndpointEventHubArray) ToEndpointEventHubArrayOutputWithContext(ctx context.Context) EndpointEventHubArrayOutput
type EndpointEventHubArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type EndpointEventHubArrayOutput struct{ *pulumi.OutputState }
func (EndpointEventHubArrayOutput) ElementType ¶ added in v3.47.1
func (EndpointEventHubArrayOutput) ElementType() reflect.Type
func (EndpointEventHubArrayOutput) Index ¶ added in v3.47.1
func (o EndpointEventHubArrayOutput) Index(i pulumi.IntInput) EndpointEventHubOutput
func (EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutput ¶ added in v3.47.1
func (o EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutput() EndpointEventHubArrayOutput
func (EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutputWithContext ¶ added in v3.47.1
func (o EndpointEventHubArrayOutput) ToEndpointEventHubArrayOutputWithContext(ctx context.Context) EndpointEventHubArrayOutput
type EndpointEventHubInput ¶ added in v3.40.0
type EndpointEventHubInput interface { pulumi.Input ToEndpointEventHubOutput() EndpointEventHubOutput ToEndpointEventHubOutputWithContext(ctx context.Context) EndpointEventHubOutput }
type EndpointEventHubMap ¶ added in v3.47.1
type EndpointEventHubMap map[string]EndpointEventHubInput
func (EndpointEventHubMap) ElementType ¶ added in v3.47.1
func (EndpointEventHubMap) ElementType() reflect.Type
func (EndpointEventHubMap) ToEndpointEventHubMapOutput ¶ added in v3.47.1
func (i EndpointEventHubMap) ToEndpointEventHubMapOutput() EndpointEventHubMapOutput
func (EndpointEventHubMap) ToEndpointEventHubMapOutputWithContext ¶ added in v3.47.1
func (i EndpointEventHubMap) ToEndpointEventHubMapOutputWithContext(ctx context.Context) EndpointEventHubMapOutput
type EndpointEventHubMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type EndpointEventHubMapOutput struct{ *pulumi.OutputState }
func (EndpointEventHubMapOutput) ElementType ¶ added in v3.47.1
func (EndpointEventHubMapOutput) ElementType() reflect.Type
func (EndpointEventHubMapOutput) MapIndex ¶ added in v3.47.1
func (o EndpointEventHubMapOutput) MapIndex(k pulumi.StringInput) EndpointEventHubOutput
func (EndpointEventHubMapOutput) ToEndpointEventHubMapOutput ¶ added in v3.47.1
func (o EndpointEventHubMapOutput) ToEndpointEventHubMapOutput() EndpointEventHubMapOutput
func (EndpointEventHubMapOutput) ToEndpointEventHubMapOutputWithContext ¶ added in v3.47.1
func (o EndpointEventHubMapOutput) ToEndpointEventHubMapOutputWithContext(ctx context.Context) EndpointEventHubMapOutput
type EndpointEventHubOutput ¶ added in v3.40.0
type EndpointEventHubOutput struct {
*pulumi.OutputState
}
func (EndpointEventHubOutput) ElementType ¶ added in v3.40.0
func (EndpointEventHubOutput) ElementType() reflect.Type
func (EndpointEventHubOutput) ToEndpointEventHubOutput ¶ added in v3.40.0
func (o EndpointEventHubOutput) ToEndpointEventHubOutput() EndpointEventHubOutput
func (EndpointEventHubOutput) ToEndpointEventHubOutputWithContext ¶ added in v3.40.0
func (o EndpointEventHubOutput) ToEndpointEventHubOutputWithContext(ctx context.Context) EndpointEventHubOutput
func (EndpointEventHubOutput) ToEndpointEventHubPtrOutput ¶ added in v3.47.1
func (o EndpointEventHubOutput) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
func (EndpointEventHubOutput) ToEndpointEventHubPtrOutputWithContext ¶ added in v3.47.1
func (o EndpointEventHubOutput) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
type EndpointEventHubPtrInput ¶ added in v3.47.1
type EndpointEventHubPtrInput interface { pulumi.Input ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput }
type EndpointEventHubPtrOutput ¶ added in v3.47.1
type EndpointEventHubPtrOutput struct {
*pulumi.OutputState
}
func (EndpointEventHubPtrOutput) ElementType ¶ added in v3.47.1
func (EndpointEventHubPtrOutput) ElementType() reflect.Type
func (EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutput ¶ added in v3.47.1
func (o EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutput() EndpointEventHubPtrOutput
func (EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutputWithContext ¶ added in v3.47.1
func (o EndpointEventHubPtrOutput) ToEndpointEventHubPtrOutputWithContext(ctx context.Context) EndpointEventHubPtrOutput
type EndpointEventHubState ¶ added in v3.40.0
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 ¶ added in v3.40.0
func (EndpointEventHubState) ElementType() reflect.Type
type EndpointServicebus ¶ added in v3.40.0
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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/digitaltwins" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/servicebus" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.40.0
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 ¶ added in v3.40.0
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 ¶ added in v3.40.0
func (*EndpointServicebus) ElementType() reflect.Type
func (*EndpointServicebus) ToEndpointServicebusOutput ¶ added in v3.40.0
func (i *EndpointServicebus) ToEndpointServicebusOutput() EndpointServicebusOutput
func (*EndpointServicebus) ToEndpointServicebusOutputWithContext ¶ added in v3.40.0
func (i *EndpointServicebus) ToEndpointServicebusOutputWithContext(ctx context.Context) EndpointServicebusOutput
func (*EndpointServicebus) ToEndpointServicebusPtrOutput ¶ added in v3.47.1
func (i *EndpointServicebus) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
func (*EndpointServicebus) ToEndpointServicebusPtrOutputWithContext ¶ added in v3.47.1
func (i *EndpointServicebus) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
type EndpointServicebusArgs ¶ added in v3.40.0
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 ¶ added in v3.40.0
func (EndpointServicebusArgs) ElementType() reflect.Type
type EndpointServicebusArray ¶ added in v3.47.1
type EndpointServicebusArray []EndpointServicebusInput
func (EndpointServicebusArray) ElementType ¶ added in v3.47.1
func (EndpointServicebusArray) ElementType() reflect.Type
func (EndpointServicebusArray) ToEndpointServicebusArrayOutput ¶ added in v3.47.1
func (i EndpointServicebusArray) ToEndpointServicebusArrayOutput() EndpointServicebusArrayOutput
func (EndpointServicebusArray) ToEndpointServicebusArrayOutputWithContext ¶ added in v3.47.1
func (i EndpointServicebusArray) ToEndpointServicebusArrayOutputWithContext(ctx context.Context) EndpointServicebusArrayOutput
type EndpointServicebusArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type EndpointServicebusArrayOutput struct{ *pulumi.OutputState }
func (EndpointServicebusArrayOutput) ElementType ¶ added in v3.47.1
func (EndpointServicebusArrayOutput) ElementType() reflect.Type
func (EndpointServicebusArrayOutput) Index ¶ added in v3.47.1
func (o EndpointServicebusArrayOutput) Index(i pulumi.IntInput) EndpointServicebusOutput
func (EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutput ¶ added in v3.47.1
func (o EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutput() EndpointServicebusArrayOutput
func (EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutputWithContext ¶ added in v3.47.1
func (o EndpointServicebusArrayOutput) ToEndpointServicebusArrayOutputWithContext(ctx context.Context) EndpointServicebusArrayOutput
type EndpointServicebusInput ¶ added in v3.40.0
type EndpointServicebusInput interface { pulumi.Input ToEndpointServicebusOutput() EndpointServicebusOutput ToEndpointServicebusOutputWithContext(ctx context.Context) EndpointServicebusOutput }
type EndpointServicebusMap ¶ added in v3.47.1
type EndpointServicebusMap map[string]EndpointServicebusInput
func (EndpointServicebusMap) ElementType ¶ added in v3.47.1
func (EndpointServicebusMap) ElementType() reflect.Type
func (EndpointServicebusMap) ToEndpointServicebusMapOutput ¶ added in v3.47.1
func (i EndpointServicebusMap) ToEndpointServicebusMapOutput() EndpointServicebusMapOutput
func (EndpointServicebusMap) ToEndpointServicebusMapOutputWithContext ¶ added in v3.47.1
func (i EndpointServicebusMap) ToEndpointServicebusMapOutputWithContext(ctx context.Context) EndpointServicebusMapOutput
type EndpointServicebusMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type EndpointServicebusMapOutput struct{ *pulumi.OutputState }
func (EndpointServicebusMapOutput) ElementType ¶ added in v3.47.1
func (EndpointServicebusMapOutput) ElementType() reflect.Type
func (EndpointServicebusMapOutput) MapIndex ¶ added in v3.47.1
func (o EndpointServicebusMapOutput) MapIndex(k pulumi.StringInput) EndpointServicebusOutput
func (EndpointServicebusMapOutput) ToEndpointServicebusMapOutput ¶ added in v3.47.1
func (o EndpointServicebusMapOutput) ToEndpointServicebusMapOutput() EndpointServicebusMapOutput
func (EndpointServicebusMapOutput) ToEndpointServicebusMapOutputWithContext ¶ added in v3.47.1
func (o EndpointServicebusMapOutput) ToEndpointServicebusMapOutputWithContext(ctx context.Context) EndpointServicebusMapOutput
type EndpointServicebusOutput ¶ added in v3.40.0
type EndpointServicebusOutput struct {
*pulumi.OutputState
}
func (EndpointServicebusOutput) ElementType ¶ added in v3.40.0
func (EndpointServicebusOutput) ElementType() reflect.Type
func (EndpointServicebusOutput) ToEndpointServicebusOutput ¶ added in v3.40.0
func (o EndpointServicebusOutput) ToEndpointServicebusOutput() EndpointServicebusOutput
func (EndpointServicebusOutput) ToEndpointServicebusOutputWithContext ¶ added in v3.40.0
func (o EndpointServicebusOutput) ToEndpointServicebusOutputWithContext(ctx context.Context) EndpointServicebusOutput
func (EndpointServicebusOutput) ToEndpointServicebusPtrOutput ¶ added in v3.47.1
func (o EndpointServicebusOutput) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
func (EndpointServicebusOutput) ToEndpointServicebusPtrOutputWithContext ¶ added in v3.47.1
func (o EndpointServicebusOutput) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
type EndpointServicebusPtrInput ¶ added in v3.47.1
type EndpointServicebusPtrInput interface { pulumi.Input ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput }
type EndpointServicebusPtrOutput ¶ added in v3.47.1
type EndpointServicebusPtrOutput struct {
*pulumi.OutputState
}
func (EndpointServicebusPtrOutput) ElementType ¶ added in v3.47.1
func (EndpointServicebusPtrOutput) ElementType() reflect.Type
func (EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutput ¶ added in v3.47.1
func (o EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutput() EndpointServicebusPtrOutput
func (EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutputWithContext ¶ added in v3.47.1
func (o EndpointServicebusPtrOutput) ToEndpointServicebusPtrOutputWithContext(ctx context.Context) EndpointServicebusPtrOutput
type EndpointServicebusState ¶ added in v3.40.0
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 ¶ added in v3.40.0
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/v3/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v3/go/azure/digitaltwins" "github.com/pulumi/pulumi/sdk/v2/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 ¶ added in v3.47.1
func (i *Instance) ToInstancePtrOutput() InstancePtrOutput
func (*Instance) ToInstancePtrOutputWithContext ¶ added in v3.47.1
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 ¶ added in v3.47.1
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶ added in v3.47.1
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶ added in v3.47.1
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶ added in v3.47.1
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶ added in v3.47.1
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶ added in v3.47.1
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶ added in v3.47.1
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶ added in v3.47.1
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶ added in v3.47.1
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶ added in v3.47.1
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶ added in v3.47.1
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶ added in v3.47.1
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶ added in v3.47.1
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 ¶ added in v3.47.1
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶ added in v3.47.1
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶ added in v3.47.1
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶ added in v3.47.1
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶ added in v3.47.1
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 ¶ added in v3.47.1
func (o InstanceOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstanceOutput) ToInstancePtrOutputWithContext ¶ added in v3.47.1
func (o InstanceOutput) ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput
type InstancePtrInput ¶ added in v3.47.1
type InstancePtrInput interface { pulumi.Input ToInstancePtrOutput() InstancePtrOutput ToInstancePtrOutputWithContext(ctx context.Context) InstancePtrOutput }
type InstancePtrOutput ¶ added in v3.47.1
type InstancePtrOutput struct {
*pulumi.OutputState
}
func (InstancePtrOutput) ElementType ¶ added in v3.47.1
func (InstancePtrOutput) ElementType() reflect.Type
func (InstancePtrOutput) ToInstancePtrOutput ¶ added in v3.47.1
func (o InstancePtrOutput) ToInstancePtrOutput() InstancePtrOutput
func (InstancePtrOutput) ToInstancePtrOutputWithContext ¶ added in v3.47.1
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 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/v3/go/azure/digitaltwins" "github.com/pulumi/pulumi/sdk/v2/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 }) }
```