Documentation ¶
Index ¶
- type LookupNamespaceArgs
- type LookupNamespaceAuthorizationRuleArgs
- type LookupNamespaceAuthorizationRuleOutputArgs
- type LookupNamespaceAuthorizationRuleResult
- type LookupNamespaceAuthorizationRuleResultOutput
- func (LookupNamespaceAuthorizationRuleResultOutput) ElementType() reflect.Type
- func (o LookupNamespaceAuthorizationRuleResultOutput) Id() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) Name() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) NamespaceName() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) PrimaryConnectionStringAlias() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) PrimaryKey() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) SecondaryConnectionStringAlias() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) SecondaryKey() pulumi.StringOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) ToLookupNamespaceAuthorizationRuleResultOutput() LookupNamespaceAuthorizationRuleResultOutput
- func (o LookupNamespaceAuthorizationRuleResultOutput) ToLookupNamespaceAuthorizationRuleResultOutputWithContext(ctx context.Context) LookupNamespaceAuthorizationRuleResultOutput
- type LookupNamespaceDisasterRecoveryConfigArgs
- type LookupNamespaceDisasterRecoveryConfigOutputArgs
- type LookupNamespaceDisasterRecoveryConfigResult
- type LookupNamespaceDisasterRecoveryConfigResultOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) DefaultPrimaryKey() pulumi.StringOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) DefaultSecondaryKey() pulumi.StringOutput
- func (LookupNamespaceDisasterRecoveryConfigResultOutput) ElementType() reflect.Type
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) Id() pulumi.StringOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) Name() pulumi.StringOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) NamespaceName() pulumi.StringOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) PartnerNamespaceId() pulumi.StringOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) PrimaryConnectionStringAlias() pulumi.StringOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) SecondaryConnectionStringAlias() pulumi.StringOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) ToLookupNamespaceDisasterRecoveryConfigResultOutput() LookupNamespaceDisasterRecoveryConfigResultOutput
- func (o LookupNamespaceDisasterRecoveryConfigResultOutput) ToLookupNamespaceDisasterRecoveryConfigResultOutputWithContext(ctx context.Context) LookupNamespaceDisasterRecoveryConfigResultOutput
- type LookupNamespaceOutputArgs
- type LookupNamespaceResult
- type LookupNamespaceResultOutput
- func (o LookupNamespaceResultOutput) Capacity() pulumi.IntOutput
- func (o LookupNamespaceResultOutput) DefaultPrimaryConnectionString() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) DefaultPrimaryKey() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) DefaultSecondaryConnectionString() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) DefaultSecondaryKey() pulumi.StringOutput
- func (LookupNamespaceResultOutput) ElementType() reflect.Type
- func (o LookupNamespaceResultOutput) Id() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) Location() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) Name() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) Sku() pulumi.StringOutput
- func (o LookupNamespaceResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutput() LookupNamespaceResultOutput
- func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ctx context.Context) LookupNamespaceResultOutput
- func (o LookupNamespaceResultOutput) ZoneRedundant() pulumi.BoolOutput
- type LookupQueueArgs
- type LookupQueueAuthorizationRuleArgs
- type LookupQueueAuthorizationRuleOutputArgs
- type LookupQueueAuthorizationRuleResult
- type LookupQueueAuthorizationRuleResultOutput
- func (LookupQueueAuthorizationRuleResultOutput) ElementType() reflect.Type
- func (o LookupQueueAuthorizationRuleResultOutput) Id() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) Listen() pulumi.BoolOutput
- func (o LookupQueueAuthorizationRuleResultOutput) Manage() pulumi.BoolOutput
- func (o LookupQueueAuthorizationRuleResultOutput) Name() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) NamespaceName() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) PrimaryConnectionStringAlias() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) PrimaryKey() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) QueueName() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) SecondaryConnectionStringAlias() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) SecondaryKey() pulumi.StringOutput
- func (o LookupQueueAuthorizationRuleResultOutput) Send() pulumi.BoolOutput
- func (o LookupQueueAuthorizationRuleResultOutput) ToLookupQueueAuthorizationRuleResultOutput() LookupQueueAuthorizationRuleResultOutput
- func (o LookupQueueAuthorizationRuleResultOutput) ToLookupQueueAuthorizationRuleResultOutputWithContext(ctx context.Context) LookupQueueAuthorizationRuleResultOutput
- type LookupQueueOutputArgs
- type LookupQueueResult
- type LookupQueueResultOutput
- func (o LookupQueueResultOutput) AutoDeleteOnIdle() pulumi.StringOutput
- func (o LookupQueueResultOutput) DeadLetteringOnMessageExpiration() pulumi.BoolOutput
- func (o LookupQueueResultOutput) DefaultMessageTtl() pulumi.StringOutput
- func (o LookupQueueResultOutput) DuplicateDetectionHistoryTimeWindow() pulumi.StringOutput
- func (LookupQueueResultOutput) ElementType() reflect.Type
- func (o LookupQueueResultOutput) EnableBatchedOperations() pulumi.BoolOutput
- func (o LookupQueueResultOutput) EnableExpress() pulumi.BoolOutput
- func (o LookupQueueResultOutput) EnablePartitioning() pulumi.BoolOutput
- func (o LookupQueueResultOutput) ForwardDeadLetteredMessagesTo() pulumi.StringOutput
- func (o LookupQueueResultOutput) ForwardTo() pulumi.StringOutput
- func (o LookupQueueResultOutput) Id() pulumi.StringOutput
- func (o LookupQueueResultOutput) LockDuration() pulumi.StringOutput
- func (o LookupQueueResultOutput) MaxDeliveryCount() pulumi.IntOutput
- func (o LookupQueueResultOutput) MaxSizeInMegabytes() pulumi.IntOutput
- func (o LookupQueueResultOutput) Name() pulumi.StringOutput
- func (o LookupQueueResultOutput) NamespaceName() pulumi.StringOutput
- func (o LookupQueueResultOutput) RequiresDuplicateDetection() pulumi.BoolOutput
- func (o LookupQueueResultOutput) RequiresSession() pulumi.BoolOutput
- func (o LookupQueueResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupQueueResultOutput) Status() pulumi.StringOutput
- func (o LookupQueueResultOutput) ToLookupQueueResultOutput() LookupQueueResultOutput
- func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx context.Context) LookupQueueResultOutput
- type LookupSubscriptionArgs
- type LookupSubscriptionOutputArgs
- type LookupSubscriptionResult
- type LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) AutoDeleteOnIdle() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) DeadLetteringOnFilterEvaluationError() pulumi.BoolOutput
- func (o LookupSubscriptionResultOutput) DeadLetteringOnMessageExpiration() pulumi.BoolOutput
- func (o LookupSubscriptionResultOutput) DefaultMessageTtl() pulumi.StringOutput
- func (LookupSubscriptionResultOutput) ElementType() reflect.Type
- func (o LookupSubscriptionResultOutput) EnableBatchedOperations() pulumi.BoolOutput
- func (o LookupSubscriptionResultOutput) ForwardDeadLetteredMessagesTo() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) ForwardTo() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) Id() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) LockDuration() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) MaxDeliveryCount() pulumi.IntOutput
- func (o LookupSubscriptionResultOutput) Name() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) NamespaceName() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) RequiresSession() pulumi.BoolOutput
- func (o LookupSubscriptionResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput
- func (o LookupSubscriptionResultOutput) TopicName() pulumi.StringOutput
- type LookupTopicArgs
- type LookupTopicAuthorizationRuleArgs
- type LookupTopicAuthorizationRuleOutputArgs
- type LookupTopicAuthorizationRuleResult
- type LookupTopicAuthorizationRuleResultOutput
- func (LookupTopicAuthorizationRuleResultOutput) ElementType() reflect.Type
- func (o LookupTopicAuthorizationRuleResultOutput) Id() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) Listen() pulumi.BoolOutput
- func (o LookupTopicAuthorizationRuleResultOutput) Manage() pulumi.BoolOutput
- func (o LookupTopicAuthorizationRuleResultOutput) Name() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) NamespaceName() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) PrimaryConnectionString() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) PrimaryConnectionStringAlias() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) PrimaryKey() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) SecondaryConnectionString() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) SecondaryConnectionStringAlias() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) SecondaryKey() pulumi.StringOutput
- func (o LookupTopicAuthorizationRuleResultOutput) Send() pulumi.BoolOutput
- func (o LookupTopicAuthorizationRuleResultOutput) ToLookupTopicAuthorizationRuleResultOutput() LookupTopicAuthorizationRuleResultOutput
- func (o LookupTopicAuthorizationRuleResultOutput) ToLookupTopicAuthorizationRuleResultOutputWithContext(ctx context.Context) LookupTopicAuthorizationRuleResultOutput
- func (o LookupTopicAuthorizationRuleResultOutput) TopicName() pulumi.StringOutput
- type LookupTopicOutputArgs
- type LookupTopicResult
- type LookupTopicResultOutput
- func (o LookupTopicResultOutput) AutoDeleteOnIdle() pulumi.StringOutput
- func (o LookupTopicResultOutput) DefaultMessageTtl() pulumi.StringOutput
- func (o LookupTopicResultOutput) DuplicateDetectionHistoryTimeWindow() pulumi.StringOutput
- func (LookupTopicResultOutput) ElementType() reflect.Type
- func (o LookupTopicResultOutput) EnableBatchedOperations() pulumi.BoolOutput
- func (o LookupTopicResultOutput) EnableExpress() pulumi.BoolOutput
- func (o LookupTopicResultOutput) EnablePartitioning() pulumi.BoolOutput
- func (o LookupTopicResultOutput) Id() pulumi.StringOutput
- func (o LookupTopicResultOutput) MaxSizeInMegabytes() pulumi.IntOutput
- func (o LookupTopicResultOutput) Name() pulumi.StringOutput
- func (o LookupTopicResultOutput) NamespaceName() pulumi.StringOutput
- func (o LookupTopicResultOutput) RequiresDuplicateDetection() pulumi.BoolOutput
- func (o LookupTopicResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupTopicResultOutput) Status() pulumi.StringOutput
- func (o LookupTopicResultOutput) SupportOrdering() pulumi.BoolOutput
- func (o LookupTopicResultOutput) ToLookupTopicResultOutput() LookupTopicResultOutput
- func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx context.Context) LookupTopicResultOutput
- type Namespace
- type NamespaceArgs
- type NamespaceArray
- type NamespaceArrayInput
- type NamespaceArrayOutput
- func (NamespaceArrayOutput) ElementType() reflect.Type
- func (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput
- func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput
- func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
- type NamespaceAuthorizationRule
- func (*NamespaceAuthorizationRule) ElementType() reflect.Type
- func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput
- func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleOutput
- type NamespaceAuthorizationRuleArgs
- type NamespaceAuthorizationRuleArray
- func (NamespaceAuthorizationRuleArray) ElementType() reflect.Type
- func (i NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput
- func (i NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleArrayOutput
- type NamespaceAuthorizationRuleArrayInput
- type NamespaceAuthorizationRuleArrayOutput
- func (NamespaceAuthorizationRuleArrayOutput) ElementType() reflect.Type
- func (o NamespaceAuthorizationRuleArrayOutput) Index(i pulumi.IntInput) NamespaceAuthorizationRuleOutput
- func (o NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput
- func (o NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleArrayOutput
- type NamespaceAuthorizationRuleInput
- type NamespaceAuthorizationRuleMap
- func (NamespaceAuthorizationRuleMap) ElementType() reflect.Type
- func (i NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput
- func (i NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleMapOutput
- type NamespaceAuthorizationRuleMapInput
- type NamespaceAuthorizationRuleMapOutput
- func (NamespaceAuthorizationRuleMapOutput) ElementType() reflect.Type
- func (o NamespaceAuthorizationRuleMapOutput) MapIndex(k pulumi.StringInput) NamespaceAuthorizationRuleOutput
- func (o NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput
- func (o NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleMapOutput
- type NamespaceAuthorizationRuleOutput
- func (NamespaceAuthorizationRuleOutput) ElementType() reflect.Type
- func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput
- func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleOutput
- type NamespaceAuthorizationRuleState
- type NamespaceDisasterRecoveryConfig
- func GetNamespaceDisasterRecoveryConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, ...) (*NamespaceDisasterRecoveryConfig, error)
- func NewNamespaceDisasterRecoveryConfig(ctx *pulumi.Context, name string, args *NamespaceDisasterRecoveryConfigArgs, ...) (*NamespaceDisasterRecoveryConfig, error)
- func (*NamespaceDisasterRecoveryConfig) ElementType() reflect.Type
- func (i *NamespaceDisasterRecoveryConfig) ToNamespaceDisasterRecoveryConfigOutput() NamespaceDisasterRecoveryConfigOutput
- func (i *NamespaceDisasterRecoveryConfig) ToNamespaceDisasterRecoveryConfigOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigOutput
- type NamespaceDisasterRecoveryConfigArgs
- type NamespaceDisasterRecoveryConfigArray
- func (NamespaceDisasterRecoveryConfigArray) ElementType() reflect.Type
- func (i NamespaceDisasterRecoveryConfigArray) ToNamespaceDisasterRecoveryConfigArrayOutput() NamespaceDisasterRecoveryConfigArrayOutput
- func (i NamespaceDisasterRecoveryConfigArray) ToNamespaceDisasterRecoveryConfigArrayOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigArrayOutput
- type NamespaceDisasterRecoveryConfigArrayInput
- type NamespaceDisasterRecoveryConfigArrayOutput
- func (NamespaceDisasterRecoveryConfigArrayOutput) ElementType() reflect.Type
- func (o NamespaceDisasterRecoveryConfigArrayOutput) Index(i pulumi.IntInput) NamespaceDisasterRecoveryConfigOutput
- func (o NamespaceDisasterRecoveryConfigArrayOutput) ToNamespaceDisasterRecoveryConfigArrayOutput() NamespaceDisasterRecoveryConfigArrayOutput
- func (o NamespaceDisasterRecoveryConfigArrayOutput) ToNamespaceDisasterRecoveryConfigArrayOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigArrayOutput
- type NamespaceDisasterRecoveryConfigInput
- type NamespaceDisasterRecoveryConfigMap
- func (NamespaceDisasterRecoveryConfigMap) ElementType() reflect.Type
- func (i NamespaceDisasterRecoveryConfigMap) ToNamespaceDisasterRecoveryConfigMapOutput() NamespaceDisasterRecoveryConfigMapOutput
- func (i NamespaceDisasterRecoveryConfigMap) ToNamespaceDisasterRecoveryConfigMapOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigMapOutput
- type NamespaceDisasterRecoveryConfigMapInput
- type NamespaceDisasterRecoveryConfigMapOutput
- func (NamespaceDisasterRecoveryConfigMapOutput) ElementType() reflect.Type
- func (o NamespaceDisasterRecoveryConfigMapOutput) MapIndex(k pulumi.StringInput) NamespaceDisasterRecoveryConfigOutput
- func (o NamespaceDisasterRecoveryConfigMapOutput) ToNamespaceDisasterRecoveryConfigMapOutput() NamespaceDisasterRecoveryConfigMapOutput
- func (o NamespaceDisasterRecoveryConfigMapOutput) ToNamespaceDisasterRecoveryConfigMapOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigMapOutput
- type NamespaceDisasterRecoveryConfigOutput
- func (NamespaceDisasterRecoveryConfigOutput) ElementType() reflect.Type
- func (o NamespaceDisasterRecoveryConfigOutput) ToNamespaceDisasterRecoveryConfigOutput() NamespaceDisasterRecoveryConfigOutput
- func (o NamespaceDisasterRecoveryConfigOutput) ToNamespaceDisasterRecoveryConfigOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigOutput
- type NamespaceDisasterRecoveryConfigState
- type NamespaceInput
- type NamespaceMap
- type NamespaceMapInput
- type NamespaceMapOutput
- type NamespaceNetworkRuleSet
- type NamespaceNetworkRuleSetArgs
- type NamespaceNetworkRuleSetArray
- func (NamespaceNetworkRuleSetArray) ElementType() reflect.Type
- func (i NamespaceNetworkRuleSetArray) ToNamespaceNetworkRuleSetArrayOutput() NamespaceNetworkRuleSetArrayOutput
- func (i NamespaceNetworkRuleSetArray) ToNamespaceNetworkRuleSetArrayOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetArrayOutput
- type NamespaceNetworkRuleSetArrayInput
- type NamespaceNetworkRuleSetArrayOutput
- func (NamespaceNetworkRuleSetArrayOutput) ElementType() reflect.Type
- func (o NamespaceNetworkRuleSetArrayOutput) Index(i pulumi.IntInput) NamespaceNetworkRuleSetOutput
- func (o NamespaceNetworkRuleSetArrayOutput) ToNamespaceNetworkRuleSetArrayOutput() NamespaceNetworkRuleSetArrayOutput
- func (o NamespaceNetworkRuleSetArrayOutput) ToNamespaceNetworkRuleSetArrayOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetArrayOutput
- type NamespaceNetworkRuleSetInput
- type NamespaceNetworkRuleSetMap
- func (NamespaceNetworkRuleSetMap) ElementType() reflect.Type
- func (i NamespaceNetworkRuleSetMap) ToNamespaceNetworkRuleSetMapOutput() NamespaceNetworkRuleSetMapOutput
- func (i NamespaceNetworkRuleSetMap) ToNamespaceNetworkRuleSetMapOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetMapOutput
- type NamespaceNetworkRuleSetMapInput
- type NamespaceNetworkRuleSetMapOutput
- func (NamespaceNetworkRuleSetMapOutput) ElementType() reflect.Type
- func (o NamespaceNetworkRuleSetMapOutput) MapIndex(k pulumi.StringInput) NamespaceNetworkRuleSetOutput
- func (o NamespaceNetworkRuleSetMapOutput) ToNamespaceNetworkRuleSetMapOutput() NamespaceNetworkRuleSetMapOutput
- func (o NamespaceNetworkRuleSetMapOutput) ToNamespaceNetworkRuleSetMapOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetMapOutput
- type NamespaceNetworkRuleSetNetworkRule
- type NamespaceNetworkRuleSetNetworkRuleArgs
- func (NamespaceNetworkRuleSetNetworkRuleArgs) ElementType() reflect.Type
- func (i NamespaceNetworkRuleSetNetworkRuleArgs) ToNamespaceNetworkRuleSetNetworkRuleOutput() NamespaceNetworkRuleSetNetworkRuleOutput
- func (i NamespaceNetworkRuleSetNetworkRuleArgs) ToNamespaceNetworkRuleSetNetworkRuleOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetNetworkRuleOutput
- type NamespaceNetworkRuleSetNetworkRuleArray
- func (NamespaceNetworkRuleSetNetworkRuleArray) ElementType() reflect.Type
- func (i NamespaceNetworkRuleSetNetworkRuleArray) ToNamespaceNetworkRuleSetNetworkRuleArrayOutput() NamespaceNetworkRuleSetNetworkRuleArrayOutput
- func (i NamespaceNetworkRuleSetNetworkRuleArray) ToNamespaceNetworkRuleSetNetworkRuleArrayOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetNetworkRuleArrayOutput
- type NamespaceNetworkRuleSetNetworkRuleArrayInput
- type NamespaceNetworkRuleSetNetworkRuleArrayOutput
- func (NamespaceNetworkRuleSetNetworkRuleArrayOutput) ElementType() reflect.Type
- func (o NamespaceNetworkRuleSetNetworkRuleArrayOutput) Index(i pulumi.IntInput) NamespaceNetworkRuleSetNetworkRuleOutput
- func (o NamespaceNetworkRuleSetNetworkRuleArrayOutput) ToNamespaceNetworkRuleSetNetworkRuleArrayOutput() NamespaceNetworkRuleSetNetworkRuleArrayOutput
- func (o NamespaceNetworkRuleSetNetworkRuleArrayOutput) ToNamespaceNetworkRuleSetNetworkRuleArrayOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetNetworkRuleArrayOutput
- type NamespaceNetworkRuleSetNetworkRuleInput
- type NamespaceNetworkRuleSetNetworkRuleOutput
- func (NamespaceNetworkRuleSetNetworkRuleOutput) ElementType() reflect.Type
- func (o NamespaceNetworkRuleSetNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint() pulumi.BoolPtrOutput
- func (o NamespaceNetworkRuleSetNetworkRuleOutput) SubnetId() pulumi.StringOutput
- func (o NamespaceNetworkRuleSetNetworkRuleOutput) ToNamespaceNetworkRuleSetNetworkRuleOutput() NamespaceNetworkRuleSetNetworkRuleOutput
- func (o NamespaceNetworkRuleSetNetworkRuleOutput) ToNamespaceNetworkRuleSetNetworkRuleOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetNetworkRuleOutput
- type NamespaceNetworkRuleSetOutput
- type NamespaceNetworkRuleSetState
- type NamespaceOutput
- type NamespaceState
- type Queue
- type QueueArgs
- type QueueArray
- type QueueArrayInput
- type QueueArrayOutput
- type QueueAuthorizationRule
- type QueueAuthorizationRuleArgs
- type QueueAuthorizationRuleArray
- func (QueueAuthorizationRuleArray) ElementType() reflect.Type
- func (i QueueAuthorizationRuleArray) ToQueueAuthorizationRuleArrayOutput() QueueAuthorizationRuleArrayOutput
- func (i QueueAuthorizationRuleArray) ToQueueAuthorizationRuleArrayOutputWithContext(ctx context.Context) QueueAuthorizationRuleArrayOutput
- type QueueAuthorizationRuleArrayInput
- type QueueAuthorizationRuleArrayOutput
- func (QueueAuthorizationRuleArrayOutput) ElementType() reflect.Type
- func (o QueueAuthorizationRuleArrayOutput) Index(i pulumi.IntInput) QueueAuthorizationRuleOutput
- func (o QueueAuthorizationRuleArrayOutput) ToQueueAuthorizationRuleArrayOutput() QueueAuthorizationRuleArrayOutput
- func (o QueueAuthorizationRuleArrayOutput) ToQueueAuthorizationRuleArrayOutputWithContext(ctx context.Context) QueueAuthorizationRuleArrayOutput
- type QueueAuthorizationRuleInput
- type QueueAuthorizationRuleMap
- type QueueAuthorizationRuleMapInput
- type QueueAuthorizationRuleMapOutput
- func (QueueAuthorizationRuleMapOutput) ElementType() reflect.Type
- func (o QueueAuthorizationRuleMapOutput) MapIndex(k pulumi.StringInput) QueueAuthorizationRuleOutput
- func (o QueueAuthorizationRuleMapOutput) ToQueueAuthorizationRuleMapOutput() QueueAuthorizationRuleMapOutput
- func (o QueueAuthorizationRuleMapOutput) ToQueueAuthorizationRuleMapOutputWithContext(ctx context.Context) QueueAuthorizationRuleMapOutput
- type QueueAuthorizationRuleOutput
- type QueueAuthorizationRuleState
- type QueueInput
- type QueueMap
- type QueueMapInput
- type QueueMapOutput
- type QueueOutput
- type QueueState
- type Subscription
- type SubscriptionArgs
- type SubscriptionArray
- type SubscriptionArrayInput
- type SubscriptionArrayOutput
- func (SubscriptionArrayOutput) ElementType() reflect.Type
- func (o SubscriptionArrayOutput) Index(i pulumi.IntInput) SubscriptionOutput
- func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput
- func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
- type SubscriptionInput
- type SubscriptionMap
- type SubscriptionMapInput
- type SubscriptionMapOutput
- func (SubscriptionMapOutput) ElementType() reflect.Type
- func (o SubscriptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionOutput
- func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput
- func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
- type SubscriptionOutput
- type SubscriptionRule
- type SubscriptionRuleArgs
- type SubscriptionRuleArray
- type SubscriptionRuleArrayInput
- type SubscriptionRuleArrayOutput
- func (SubscriptionRuleArrayOutput) ElementType() reflect.Type
- func (o SubscriptionRuleArrayOutput) Index(i pulumi.IntInput) SubscriptionRuleOutput
- func (o SubscriptionRuleArrayOutput) ToSubscriptionRuleArrayOutput() SubscriptionRuleArrayOutput
- func (o SubscriptionRuleArrayOutput) ToSubscriptionRuleArrayOutputWithContext(ctx context.Context) SubscriptionRuleArrayOutput
- type SubscriptionRuleCorrelationFilter
- type SubscriptionRuleCorrelationFilterArgs
- func (SubscriptionRuleCorrelationFilterArgs) ElementType() reflect.Type
- func (i SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterOutput() SubscriptionRuleCorrelationFilterOutput
- func (i SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterOutput
- func (i SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterPtrOutput() SubscriptionRuleCorrelationFilterPtrOutput
- func (i SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterPtrOutput
- type SubscriptionRuleCorrelationFilterInput
- type SubscriptionRuleCorrelationFilterOutput
- func (o SubscriptionRuleCorrelationFilterOutput) ContentType() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterOutput) CorrelationId() pulumi.StringPtrOutput
- func (SubscriptionRuleCorrelationFilterOutput) ElementType() reflect.Type
- func (o SubscriptionRuleCorrelationFilterOutput) Label() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterOutput) MessageId() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterOutput) Properties() pulumi.StringMapOutput
- func (o SubscriptionRuleCorrelationFilterOutput) ReplyTo() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterOutput) ReplyToSessionId() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterOutput) SessionId() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterOutput) To() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterOutput() SubscriptionRuleCorrelationFilterOutput
- func (o SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterOutput
- func (o SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterPtrOutput() SubscriptionRuleCorrelationFilterPtrOutput
- func (o SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterPtrOutput
- type SubscriptionRuleCorrelationFilterPtrInput
- type SubscriptionRuleCorrelationFilterPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) ContentType() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) CorrelationId() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) Elem() SubscriptionRuleCorrelationFilterOutput
- func (SubscriptionRuleCorrelationFilterPtrOutput) ElementType() reflect.Type
- func (o SubscriptionRuleCorrelationFilterPtrOutput) Label() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) MessageId() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) Properties() pulumi.StringMapOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) ReplyTo() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) ReplyToSessionId() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) SessionId() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) To() pulumi.StringPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) ToSubscriptionRuleCorrelationFilterPtrOutput() SubscriptionRuleCorrelationFilterPtrOutput
- func (o SubscriptionRuleCorrelationFilterPtrOutput) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterPtrOutput
- type SubscriptionRuleInput
- type SubscriptionRuleMap
- type SubscriptionRuleMapInput
- type SubscriptionRuleMapOutput
- func (SubscriptionRuleMapOutput) ElementType() reflect.Type
- func (o SubscriptionRuleMapOutput) MapIndex(k pulumi.StringInput) SubscriptionRuleOutput
- func (o SubscriptionRuleMapOutput) ToSubscriptionRuleMapOutput() SubscriptionRuleMapOutput
- func (o SubscriptionRuleMapOutput) ToSubscriptionRuleMapOutputWithContext(ctx context.Context) SubscriptionRuleMapOutput
- type SubscriptionRuleOutput
- type SubscriptionRuleState
- type SubscriptionState
- type Topic
- type TopicArgs
- type TopicArray
- type TopicArrayInput
- type TopicArrayOutput
- type TopicAuthorizationRule
- type TopicAuthorizationRuleArgs
- type TopicAuthorizationRuleArray
- func (TopicAuthorizationRuleArray) ElementType() reflect.Type
- func (i TopicAuthorizationRuleArray) ToTopicAuthorizationRuleArrayOutput() TopicAuthorizationRuleArrayOutput
- func (i TopicAuthorizationRuleArray) ToTopicAuthorizationRuleArrayOutputWithContext(ctx context.Context) TopicAuthorizationRuleArrayOutput
- type TopicAuthorizationRuleArrayInput
- type TopicAuthorizationRuleArrayOutput
- func (TopicAuthorizationRuleArrayOutput) ElementType() reflect.Type
- func (o TopicAuthorizationRuleArrayOutput) Index(i pulumi.IntInput) TopicAuthorizationRuleOutput
- func (o TopicAuthorizationRuleArrayOutput) ToTopicAuthorizationRuleArrayOutput() TopicAuthorizationRuleArrayOutput
- func (o TopicAuthorizationRuleArrayOutput) ToTopicAuthorizationRuleArrayOutputWithContext(ctx context.Context) TopicAuthorizationRuleArrayOutput
- type TopicAuthorizationRuleInput
- type TopicAuthorizationRuleMap
- type TopicAuthorizationRuleMapInput
- type TopicAuthorizationRuleMapOutput
- func (TopicAuthorizationRuleMapOutput) ElementType() reflect.Type
- func (o TopicAuthorizationRuleMapOutput) MapIndex(k pulumi.StringInput) TopicAuthorizationRuleOutput
- func (o TopicAuthorizationRuleMapOutput) ToTopicAuthorizationRuleMapOutput() TopicAuthorizationRuleMapOutput
- func (o TopicAuthorizationRuleMapOutput) ToTopicAuthorizationRuleMapOutputWithContext(ctx context.Context) TopicAuthorizationRuleMapOutput
- type TopicAuthorizationRuleOutput
- type TopicAuthorizationRuleState
- type TopicInput
- type TopicMap
- type TopicMapInput
- type TopicMapOutput
- type TopicOutput
- type TopicState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupNamespaceArgs ¶
type LookupNamespaceArgs struct { // Specifies the name of the ServiceBus Namespace. Name string `pulumi:"name"` // Specifies the name of the Resource Group where the ServiceBus Namespace exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getNamespace.
type LookupNamespaceAuthorizationRuleArgs ¶
type LookupNamespaceAuthorizationRuleArgs struct { // Specifies the name of the ServiceBus Namespace Authorization Rule. Name string `pulumi:"name"` // Specifies the name of the ServiceBus Namespace. NamespaceName string `pulumi:"namespaceName"` // Specifies the name of the Resource Group where the ServiceBus Namespace exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getNamespaceAuthorizationRule.
type LookupNamespaceAuthorizationRuleOutputArgs ¶ added in v4.20.0
type LookupNamespaceAuthorizationRuleOutputArgs struct { // Specifies the name of the ServiceBus Namespace Authorization Rule. Name pulumi.StringInput `pulumi:"name"` // Specifies the name of the ServiceBus Namespace. NamespaceName pulumi.StringInput `pulumi:"namespaceName"` // Specifies the name of the Resource Group where the ServiceBus Namespace exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getNamespaceAuthorizationRule.
func (LookupNamespaceAuthorizationRuleOutputArgs) ElementType ¶ added in v4.20.0
func (LookupNamespaceAuthorizationRuleOutputArgs) ElementType() reflect.Type
type LookupNamespaceAuthorizationRuleResult ¶
type LookupNamespaceAuthorizationRuleResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` NamespaceName string `pulumi:"namespaceName"` // The primary connection string for the authorization rule. PrimaryConnectionString string `pulumi:"primaryConnectionString"` // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias string `pulumi:"primaryConnectionStringAlias"` // The primary access key for the authorization rule. PrimaryKey string `pulumi:"primaryKey"` ResourceGroupName string `pulumi:"resourceGroupName"` // The secondary connection string for the authorization rule. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias string `pulumi:"secondaryConnectionStringAlias"` // The secondary access key for the authorization rule. SecondaryKey string `pulumi:"secondaryKey"` }
A collection of values returned by getNamespaceAuthorizationRule.
func LookupNamespaceAuthorizationRule ¶
func LookupNamespaceAuthorizationRule(ctx *pulumi.Context, args *LookupNamespaceAuthorizationRuleArgs, opts ...pulumi.InvokeOption) (*LookupNamespaceAuthorizationRuleResult, error)
Use this data source to access information about an existing ServiceBus Namespace Authorization Rule.
## Example Usage
```go package main
import (
"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 { example, err := servicebus.LookupNamespaceAuthorizationRule(ctx, &servicebus.LookupNamespaceAuthorizationRuleArgs{ Name: "examplerule", NamespaceName: "examplenamespace", ResourceGroupName: "example-resources", }, nil) if err != nil { return err } ctx.Export("ruleId", example.Id) return nil }) }
```
type LookupNamespaceAuthorizationRuleResultOutput ¶ added in v4.20.0
type LookupNamespaceAuthorizationRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNamespaceAuthorizationRule.
func LookupNamespaceAuthorizationRuleOutput ¶ added in v4.20.0
func LookupNamespaceAuthorizationRuleOutput(ctx *pulumi.Context, args LookupNamespaceAuthorizationRuleOutputArgs, opts ...pulumi.InvokeOption) LookupNamespaceAuthorizationRuleResultOutput
func (LookupNamespaceAuthorizationRuleResultOutput) ElementType ¶ added in v4.20.0
func (LookupNamespaceAuthorizationRuleResultOutput) ElementType() reflect.Type
func (LookupNamespaceAuthorizationRuleResultOutput) Id ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupNamespaceAuthorizationRuleResultOutput) Name ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) Name() pulumi.StringOutput
func (LookupNamespaceAuthorizationRuleResultOutput) NamespaceName ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) NamespaceName() pulumi.StringOutput
func (LookupNamespaceAuthorizationRuleResultOutput) PrimaryConnectionString ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) PrimaryConnectionString() pulumi.StringOutput
The primary connection string for the authorization rule.
func (LookupNamespaceAuthorizationRuleResultOutput) PrimaryConnectionStringAlias ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) PrimaryConnectionStringAlias() pulumi.StringOutput
The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired.
func (LookupNamespaceAuthorizationRuleResultOutput) PrimaryKey ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) PrimaryKey() pulumi.StringOutput
The primary access key for the authorization rule.
func (LookupNamespaceAuthorizationRuleResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupNamespaceAuthorizationRuleResultOutput) SecondaryConnectionString ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) SecondaryConnectionString() pulumi.StringOutput
The secondary connection string for the authorization rule.
func (LookupNamespaceAuthorizationRuleResultOutput) SecondaryConnectionStringAlias ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) SecondaryConnectionStringAlias() pulumi.StringOutput
The alias Secondary Connection String for the ServiceBus Namespace
func (LookupNamespaceAuthorizationRuleResultOutput) SecondaryKey ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) SecondaryKey() pulumi.StringOutput
The secondary access key for the authorization rule.
func (LookupNamespaceAuthorizationRuleResultOutput) ToLookupNamespaceAuthorizationRuleResultOutput ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) ToLookupNamespaceAuthorizationRuleResultOutput() LookupNamespaceAuthorizationRuleResultOutput
func (LookupNamespaceAuthorizationRuleResultOutput) ToLookupNamespaceAuthorizationRuleResultOutputWithContext ¶ added in v4.20.0
func (o LookupNamespaceAuthorizationRuleResultOutput) ToLookupNamespaceAuthorizationRuleResultOutputWithContext(ctx context.Context) LookupNamespaceAuthorizationRuleResultOutput
type LookupNamespaceDisasterRecoveryConfigArgs ¶ added in v4.4.0
type LookupNamespaceDisasterRecoveryConfigArgs struct { Name string `pulumi:"name"` NamespaceName string `pulumi:"namespaceName"` ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getNamespaceDisasterRecoveryConfig.
type LookupNamespaceDisasterRecoveryConfigOutputArgs ¶ added in v4.20.0
type LookupNamespaceDisasterRecoveryConfigOutputArgs struct { Name pulumi.StringInput `pulumi:"name"` NamespaceName pulumi.StringInput `pulumi:"namespaceName"` ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getNamespaceDisasterRecoveryConfig.
func (LookupNamespaceDisasterRecoveryConfigOutputArgs) ElementType ¶ added in v4.20.0
func (LookupNamespaceDisasterRecoveryConfigOutputArgs) ElementType() reflect.Type
type LookupNamespaceDisasterRecoveryConfigResult ¶ added in v4.4.0
type LookupNamespaceDisasterRecoveryConfigResult struct { DefaultPrimaryKey string `pulumi:"defaultPrimaryKey"` DefaultSecondaryKey string `pulumi:"defaultSecondaryKey"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Name string `pulumi:"name"` NamespaceName string `pulumi:"namespaceName"` PartnerNamespaceId string `pulumi:"partnerNamespaceId"` PrimaryConnectionStringAlias string `pulumi:"primaryConnectionStringAlias"` ResourceGroupName string `pulumi:"resourceGroupName"` SecondaryConnectionStringAlias string `pulumi:"secondaryConnectionStringAlias"` }
A collection of values returned by getNamespaceDisasterRecoveryConfig.
func LookupNamespaceDisasterRecoveryConfig ¶ added in v4.4.0
func LookupNamespaceDisasterRecoveryConfig(ctx *pulumi.Context, args *LookupNamespaceDisasterRecoveryConfigArgs, opts ...pulumi.InvokeOption) (*LookupNamespaceDisasterRecoveryConfigResult, error)
type LookupNamespaceDisasterRecoveryConfigResultOutput ¶ added in v4.20.0
type LookupNamespaceDisasterRecoveryConfigResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNamespaceDisasterRecoveryConfig.
func LookupNamespaceDisasterRecoveryConfigOutput ¶ added in v4.20.0
func LookupNamespaceDisasterRecoveryConfigOutput(ctx *pulumi.Context, args LookupNamespaceDisasterRecoveryConfigOutputArgs, opts ...pulumi.InvokeOption) LookupNamespaceDisasterRecoveryConfigResultOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) DefaultPrimaryKey ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) DefaultPrimaryKey() pulumi.StringOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) DefaultSecondaryKey ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) DefaultSecondaryKey() pulumi.StringOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) ElementType ¶ added in v4.20.0
func (LookupNamespaceDisasterRecoveryConfigResultOutput) ElementType() reflect.Type
func (LookupNamespaceDisasterRecoveryConfigResultOutput) Id ¶ added in v4.20.0
The provider-assigned unique ID for this managed resource.
func (LookupNamespaceDisasterRecoveryConfigResultOutput) Name ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) Name() pulumi.StringOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) NamespaceName ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) NamespaceName() pulumi.StringOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) PartnerNamespaceId ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) PartnerNamespaceId() pulumi.StringOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) PrimaryConnectionStringAlias ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) PrimaryConnectionStringAlias() pulumi.StringOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) SecondaryConnectionStringAlias ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) SecondaryConnectionStringAlias() pulumi.StringOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) ToLookupNamespaceDisasterRecoveryConfigResultOutput ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) ToLookupNamespaceDisasterRecoveryConfigResultOutput() LookupNamespaceDisasterRecoveryConfigResultOutput
func (LookupNamespaceDisasterRecoveryConfigResultOutput) ToLookupNamespaceDisasterRecoveryConfigResultOutputWithContext ¶ added in v4.20.0
func (o LookupNamespaceDisasterRecoveryConfigResultOutput) ToLookupNamespaceDisasterRecoveryConfigResultOutputWithContext(ctx context.Context) LookupNamespaceDisasterRecoveryConfigResultOutput
type LookupNamespaceOutputArgs ¶ added in v4.20.0
type LookupNamespaceOutputArgs struct { // Specifies the name of the ServiceBus Namespace. Name pulumi.StringInput `pulumi:"name"` // Specifies the name of the Resource Group where the ServiceBus Namespace exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getNamespace.
func (LookupNamespaceOutputArgs) ElementType ¶ added in v4.20.0
func (LookupNamespaceOutputArgs) ElementType() reflect.Type
type LookupNamespaceResult ¶
type LookupNamespaceResult struct { // The capacity of the ServiceBus Namespace. Capacity int `pulumi:"capacity"` // The primary connection string for the authorization // rule `RootManageSharedAccessKey`. DefaultPrimaryConnectionString string `pulumi:"defaultPrimaryConnectionString"` // The primary access key for the authorization rule `RootManageSharedAccessKey`. DefaultPrimaryKey string `pulumi:"defaultPrimaryKey"` // The secondary connection string for the // authorization rule `RootManageSharedAccessKey`. DefaultSecondaryConnectionString string `pulumi:"defaultSecondaryConnectionString"` // The secondary access key for the authorization rule `RootManageSharedAccessKey`. DefaultSecondaryKey string `pulumi:"defaultSecondaryKey"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The location of the Resource Group in which the ServiceBus Namespace exists. Location string `pulumi:"location"` Name string `pulumi:"name"` ResourceGroupName string `pulumi:"resourceGroupName"` // The Tier used for the ServiceBus Namespace. Sku string `pulumi:"sku"` // A mapping of tags assigned to the resource. Tags map[string]string `pulumi:"tags"` // Whether or not this ServiceBus Namespace is zone redundant. ZoneRedundant bool `pulumi:"zoneRedundant"` }
A collection of values returned by getNamespace.
func LookupNamespace ¶
func LookupNamespace(ctx *pulumi.Context, args *LookupNamespaceArgs, opts ...pulumi.InvokeOption) (*LookupNamespaceResult, error)
Use this data source to access information about an existing ServiceBus Namespace.
## Example Usage
```go package main
import (
"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 { example, err := servicebus.LookupNamespace(ctx, &servicebus.LookupNamespaceArgs{ Name: "examplenamespace", ResourceGroupName: "example-resources", }, nil) if err != nil { return err } ctx.Export("location", example.Location) return nil }) }
```
type LookupNamespaceResultOutput ¶ added in v4.20.0
type LookupNamespaceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNamespace.
func LookupNamespaceOutput ¶ added in v4.20.0
func LookupNamespaceOutput(ctx *pulumi.Context, args LookupNamespaceOutputArgs, opts ...pulumi.InvokeOption) LookupNamespaceResultOutput
func (LookupNamespaceResultOutput) Capacity ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) Capacity() pulumi.IntOutput
The capacity of the ServiceBus Namespace.
func (LookupNamespaceResultOutput) DefaultPrimaryConnectionString ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) DefaultPrimaryConnectionString() pulumi.StringOutput
The primary connection string for the authorization rule `RootManageSharedAccessKey`.
func (LookupNamespaceResultOutput) DefaultPrimaryKey ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) DefaultPrimaryKey() pulumi.StringOutput
The primary access key for the authorization rule `RootManageSharedAccessKey`.
func (LookupNamespaceResultOutput) DefaultSecondaryConnectionString ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) DefaultSecondaryConnectionString() pulumi.StringOutput
The secondary connection string for the authorization rule `RootManageSharedAccessKey`.
func (LookupNamespaceResultOutput) DefaultSecondaryKey ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) DefaultSecondaryKey() pulumi.StringOutput
The secondary access key for the authorization rule `RootManageSharedAccessKey`.
func (LookupNamespaceResultOutput) ElementType ¶ added in v4.20.0
func (LookupNamespaceResultOutput) ElementType() reflect.Type
func (LookupNamespaceResultOutput) Id ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupNamespaceResultOutput) Location ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) Location() pulumi.StringOutput
The location of the Resource Group in which the ServiceBus Namespace exists.
func (LookupNamespaceResultOutput) Name ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) Name() pulumi.StringOutput
func (LookupNamespaceResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupNamespaceResultOutput) Sku ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) Sku() pulumi.StringOutput
The Tier used for the ServiceBus Namespace.
func (LookupNamespaceResultOutput) Tags ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) Tags() pulumi.StringMapOutput
A mapping of tags assigned to the resource.
func (LookupNamespaceResultOutput) ToLookupNamespaceResultOutput ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutput() LookupNamespaceResultOutput
func (LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) ToLookupNamespaceResultOutputWithContext(ctx context.Context) LookupNamespaceResultOutput
func (LookupNamespaceResultOutput) ZoneRedundant ¶ added in v4.20.0
func (o LookupNamespaceResultOutput) ZoneRedundant() pulumi.BoolOutput
Whether or not this ServiceBus Namespace is zone redundant.
type LookupQueueArgs ¶
type LookupQueueArgs struct { // The name of this Service Bus Queue. Name string `pulumi:"name"` // The name of the ServiceBus Namespace. NamespaceName string `pulumi:"namespaceName"` // The name of the Resource Group where the Service Bus Queue exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getQueue.
type LookupQueueAuthorizationRuleArgs ¶
type LookupQueueAuthorizationRuleArgs struct { // The name of this ServiceBus Queue Authorisation Rule. Name string `pulumi:"name"` // The name of the ServiceBus Namespace. NamespaceName string `pulumi:"namespaceName"` // The name of the ServiceBus Queue. QueueName string `pulumi:"queueName"` // The name of the Resource Group where the ServiceBus Queue Authorisation Rule exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getQueueAuthorizationRule.
type LookupQueueAuthorizationRuleOutputArgs ¶ added in v4.20.0
type LookupQueueAuthorizationRuleOutputArgs struct { // The name of this ServiceBus Queue Authorisation Rule. Name pulumi.StringInput `pulumi:"name"` // The name of the ServiceBus Namespace. NamespaceName pulumi.StringInput `pulumi:"namespaceName"` // The name of the ServiceBus Queue. QueueName pulumi.StringInput `pulumi:"queueName"` // The name of the Resource Group where the ServiceBus Queue Authorisation Rule exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getQueueAuthorizationRule.
func (LookupQueueAuthorizationRuleOutputArgs) ElementType ¶ added in v4.20.0
func (LookupQueueAuthorizationRuleOutputArgs) ElementType() reflect.Type
type LookupQueueAuthorizationRuleResult ¶
type LookupQueueAuthorizationRuleResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Listen bool `pulumi:"listen"` Manage bool `pulumi:"manage"` Name string `pulumi:"name"` NamespaceName string `pulumi:"namespaceName"` // The Primary Connection String for the ServiceBus Queue authorization Rule. PrimaryConnectionString string `pulumi:"primaryConnectionString"` // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias string `pulumi:"primaryConnectionStringAlias"` // The Primary Key for the ServiceBus Queue authorization Rule. PrimaryKey string `pulumi:"primaryKey"` QueueName string `pulumi:"queueName"` ResourceGroupName string `pulumi:"resourceGroupName"` // The Secondary Connection String for the ServiceBus Queue authorization Rule. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias string `pulumi:"secondaryConnectionStringAlias"` // The Secondary Key for the ServiceBus Queue authorization Rule. SecondaryKey string `pulumi:"secondaryKey"` Send bool `pulumi:"send"` }
A collection of values returned by getQueueAuthorizationRule.
func LookupQueueAuthorizationRule ¶
func LookupQueueAuthorizationRule(ctx *pulumi.Context, args *LookupQueueAuthorizationRuleArgs, opts ...pulumi.InvokeOption) (*LookupQueueAuthorizationRuleResult, error)
Use this data source to access information about an existing ServiceBus Queue Authorisation Rule within a ServiceBus Queue.
## Example Usage
```go package main
import (
"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 { example, err := servicebus.LookupQueueAuthorizationRule(ctx, &servicebus.LookupQueueAuthorizationRuleArgs{ Name: "example-tfex_name", ResourceGroupName: "example-resources", QueueName: "example-servicebus_queue", NamespaceName: "example-namespace", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupQueueAuthorizationRuleResultOutput ¶ added in v4.20.0
type LookupQueueAuthorizationRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getQueueAuthorizationRule.
func LookupQueueAuthorizationRuleOutput ¶ added in v4.20.0
func LookupQueueAuthorizationRuleOutput(ctx *pulumi.Context, args LookupQueueAuthorizationRuleOutputArgs, opts ...pulumi.InvokeOption) LookupQueueAuthorizationRuleResultOutput
func (LookupQueueAuthorizationRuleResultOutput) ElementType ¶ added in v4.20.0
func (LookupQueueAuthorizationRuleResultOutput) ElementType() reflect.Type
func (LookupQueueAuthorizationRuleResultOutput) Id ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupQueueAuthorizationRuleResultOutput) Listen ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) Listen() pulumi.BoolOutput
func (LookupQueueAuthorizationRuleResultOutput) Manage ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) Manage() pulumi.BoolOutput
func (LookupQueueAuthorizationRuleResultOutput) Name ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) Name() pulumi.StringOutput
func (LookupQueueAuthorizationRuleResultOutput) NamespaceName ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) NamespaceName() pulumi.StringOutput
func (LookupQueueAuthorizationRuleResultOutput) PrimaryConnectionString ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) PrimaryConnectionString() pulumi.StringOutput
The Primary Connection String for the ServiceBus Queue authorization Rule.
func (LookupQueueAuthorizationRuleResultOutput) PrimaryConnectionStringAlias ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) PrimaryConnectionStringAlias() pulumi.StringOutput
The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired.
func (LookupQueueAuthorizationRuleResultOutput) PrimaryKey ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) PrimaryKey() pulumi.StringOutput
The Primary Key for the ServiceBus Queue authorization Rule.
func (LookupQueueAuthorizationRuleResultOutput) QueueName ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) QueueName() pulumi.StringOutput
func (LookupQueueAuthorizationRuleResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupQueueAuthorizationRuleResultOutput) SecondaryConnectionString ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) SecondaryConnectionString() pulumi.StringOutput
The Secondary Connection String for the ServiceBus Queue authorization Rule.
func (LookupQueueAuthorizationRuleResultOutput) SecondaryConnectionStringAlias ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) SecondaryConnectionStringAlias() pulumi.StringOutput
The alias Secondary Connection String for the ServiceBus Namespace
func (LookupQueueAuthorizationRuleResultOutput) SecondaryKey ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) SecondaryKey() pulumi.StringOutput
The Secondary Key for the ServiceBus Queue authorization Rule.
func (LookupQueueAuthorizationRuleResultOutput) Send ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) Send() pulumi.BoolOutput
func (LookupQueueAuthorizationRuleResultOutput) ToLookupQueueAuthorizationRuleResultOutput ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) ToLookupQueueAuthorizationRuleResultOutput() LookupQueueAuthorizationRuleResultOutput
func (LookupQueueAuthorizationRuleResultOutput) ToLookupQueueAuthorizationRuleResultOutputWithContext ¶ added in v4.20.0
func (o LookupQueueAuthorizationRuleResultOutput) ToLookupQueueAuthorizationRuleResultOutputWithContext(ctx context.Context) LookupQueueAuthorizationRuleResultOutput
type LookupQueueOutputArgs ¶ added in v4.20.0
type LookupQueueOutputArgs struct { // The name of this Service Bus Queue. Name pulumi.StringInput `pulumi:"name"` // The name of the ServiceBus Namespace. NamespaceName pulumi.StringInput `pulumi:"namespaceName"` // The name of the Resource Group where the Service Bus Queue exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getQueue.
func (LookupQueueOutputArgs) ElementType ¶ added in v4.20.0
func (LookupQueueOutputArgs) ElementType() reflect.Type
type LookupQueueResult ¶
type LookupQueueResult struct { // The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes. AutoDeleteOnIdle string `pulumi:"autoDeleteOnIdle"` // Boolean flag which controls whether the Queue has dead letter support when a message expires. DeadLetteringOnMessageExpiration bool `pulumi:"deadLetteringOnMessageExpiration"` // The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on a message itself. DefaultMessageTtl string `pulumi:"defaultMessageTtl"` // The ISO 8601 timespan duration during which duplicates can be detected. DuplicateDetectionHistoryTimeWindow string `pulumi:"duplicateDetectionHistoryTimeWindow"` // Boolean flag which controls whether server-side batched operations are enabled. EnableBatchedOperations bool `pulumi:"enableBatchedOperations"` // Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. EnableExpress bool `pulumi:"enableExpress"` // Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. EnablePartitioning bool `pulumi:"enablePartitioning"` // The name of a Queue or Topic to automatically forward dead lettered messages to. ForwardDeadLetteredMessagesTo string `pulumi:"forwardDeadLetteredMessagesTo"` // The name of a Queue or Topic to automatically forward messages to. Please [see the documentation](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-auto-forwarding) for more information. ForwardTo string `pulumi:"forwardTo"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. LockDuration string `pulumi:"lockDuration"` // Integer value which controls when a message is automatically dead lettered. MaxDeliveryCount int `pulumi:"maxDeliveryCount"` // Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of [Service Bus Quotas](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas). MaxSizeInMegabytes int `pulumi:"maxSizeInMegabytes"` Name string `pulumi:"name"` NamespaceName string `pulumi:"namespaceName"` // Boolean flag which controls whether the Queue requires duplicate detection. RequiresDuplicateDetection bool `pulumi:"requiresDuplicateDetection"` // Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. RequiresSession bool `pulumi:"requiresSession"` ResourceGroupName string `pulumi:"resourceGroupName"` // The status of the Queue. Possible values are `Active`, `Creating`, `Deleting`, `Disabled`, `ReceiveDisabled`, `Renaming`, `SendDisabled`, `Unknown`. Status string `pulumi:"status"` }
A collection of values returned by getQueue.
func LookupQueue ¶
func LookupQueue(ctx *pulumi.Context, args *LookupQueueArgs, opts ...pulumi.InvokeOption) (*LookupQueueResult, error)
Use this data source to access information about an existing Service Bus Queue.
## Example Usage
```go package main
import (
"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 { example, err := servicebus.LookupQueue(ctx, &servicebus.LookupQueueArgs{ Name: "existing", ResourceGroupName: "existing", NamespaceName: "existing", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupQueueResultOutput ¶ added in v4.20.0
type LookupQueueResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getQueue.
func LookupQueueOutput ¶ added in v4.20.0
func LookupQueueOutput(ctx *pulumi.Context, args LookupQueueOutputArgs, opts ...pulumi.InvokeOption) LookupQueueResultOutput
func (LookupQueueResultOutput) AutoDeleteOnIdle ¶ added in v4.20.0
func (o LookupQueueResultOutput) AutoDeleteOnIdle() pulumi.StringOutput
The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes.
func (LookupQueueResultOutput) DeadLetteringOnMessageExpiration ¶ added in v4.20.0
func (o LookupQueueResultOutput) DeadLetteringOnMessageExpiration() pulumi.BoolOutput
Boolean flag which controls whether the Queue has dead letter support when a message expires.
func (LookupQueueResultOutput) DefaultMessageTtl ¶ added in v4.20.0
func (o LookupQueueResultOutput) DefaultMessageTtl() pulumi.StringOutput
The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on a message itself.
func (LookupQueueResultOutput) DuplicateDetectionHistoryTimeWindow ¶ added in v4.20.0
func (o LookupQueueResultOutput) DuplicateDetectionHistoryTimeWindow() pulumi.StringOutput
The ISO 8601 timespan duration during which duplicates can be detected.
func (LookupQueueResultOutput) ElementType ¶ added in v4.20.0
func (LookupQueueResultOutput) ElementType() reflect.Type
func (LookupQueueResultOutput) EnableBatchedOperations ¶ added in v4.20.0
func (o LookupQueueResultOutput) EnableBatchedOperations() pulumi.BoolOutput
Boolean flag which controls whether server-side batched operations are enabled.
func (LookupQueueResultOutput) EnableExpress ¶ added in v4.20.0
func (o LookupQueueResultOutput) EnableExpress() pulumi.BoolOutput
Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage.
func (LookupQueueResultOutput) EnablePartitioning ¶ added in v4.20.0
func (o LookupQueueResultOutput) EnablePartitioning() pulumi.BoolOutput
Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers.
func (LookupQueueResultOutput) ForwardDeadLetteredMessagesTo ¶ added in v4.20.0
func (o LookupQueueResultOutput) ForwardDeadLetteredMessagesTo() pulumi.StringOutput
The name of a Queue or Topic to automatically forward dead lettered messages to.
func (LookupQueueResultOutput) ForwardTo ¶ added in v4.20.0
func (o LookupQueueResultOutput) ForwardTo() pulumi.StringOutput
The name of a Queue or Topic to automatically forward messages to. Please [see the documentation](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-auto-forwarding) for more information.
func (LookupQueueResultOutput) Id ¶ added in v4.20.0
func (o LookupQueueResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupQueueResultOutput) LockDuration ¶ added in v4.20.0
func (o LookupQueueResultOutput) LockDuration() pulumi.StringOutput
The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers.
func (LookupQueueResultOutput) MaxDeliveryCount ¶ added in v4.20.0
func (o LookupQueueResultOutput) MaxDeliveryCount() pulumi.IntOutput
Integer value which controls when a message is automatically dead lettered.
func (LookupQueueResultOutput) MaxSizeInMegabytes ¶ added in v4.20.0
func (o LookupQueueResultOutput) MaxSizeInMegabytes() pulumi.IntOutput
Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of [Service Bus Quotas](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas).
func (LookupQueueResultOutput) Name ¶ added in v4.20.0
func (o LookupQueueResultOutput) Name() pulumi.StringOutput
func (LookupQueueResultOutput) NamespaceName ¶ added in v4.20.0
func (o LookupQueueResultOutput) NamespaceName() pulumi.StringOutput
func (LookupQueueResultOutput) RequiresDuplicateDetection ¶ added in v4.20.0
func (o LookupQueueResultOutput) RequiresDuplicateDetection() pulumi.BoolOutput
Boolean flag which controls whether the Queue requires duplicate detection.
func (LookupQueueResultOutput) RequiresSession ¶ added in v4.20.0
func (o LookupQueueResultOutput) RequiresSession() pulumi.BoolOutput
Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages.
func (LookupQueueResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupQueueResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupQueueResultOutput) Status ¶ added in v4.20.0
func (o LookupQueueResultOutput) Status() pulumi.StringOutput
The status of the Queue. Possible values are `Active`, `Creating`, `Deleting`, `Disabled`, `ReceiveDisabled`, `Renaming`, `SendDisabled`, `Unknown`.
func (LookupQueueResultOutput) ToLookupQueueResultOutput ¶ added in v4.20.0
func (o LookupQueueResultOutput) ToLookupQueueResultOutput() LookupQueueResultOutput
func (LookupQueueResultOutput) ToLookupQueueResultOutputWithContext ¶ added in v4.20.0
func (o LookupQueueResultOutput) ToLookupQueueResultOutputWithContext(ctx context.Context) LookupQueueResultOutput
type LookupSubscriptionArgs ¶
type LookupSubscriptionArgs struct { // Specifies the name of the ServiceBus Subscription. Name string `pulumi:"name"` // The name of the ServiceBus Namespace. NamespaceName string `pulumi:"namespaceName"` // Specifies the name of the Resource Group where the ServiceBus Namespace exists. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the ServiceBus Topic. TopicName string `pulumi:"topicName"` }
A collection of arguments for invoking getSubscription.
type LookupSubscriptionOutputArgs ¶ added in v4.20.0
type LookupSubscriptionOutputArgs struct { // Specifies the name of the ServiceBus Subscription. Name pulumi.StringInput `pulumi:"name"` // The name of the ServiceBus Namespace. NamespaceName pulumi.StringInput `pulumi:"namespaceName"` // Specifies the name of the Resource Group where the ServiceBus Namespace exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The name of the ServiceBus Topic. TopicName pulumi.StringInput `pulumi:"topicName"` }
A collection of arguments for invoking getSubscription.
func (LookupSubscriptionOutputArgs) ElementType ¶ added in v4.20.0
func (LookupSubscriptionOutputArgs) ElementType() reflect.Type
type LookupSubscriptionResult ¶
type LookupSubscriptionResult struct { // The idle interval after which the topic is automatically deleted. AutoDeleteOnIdle string `pulumi:"autoDeleteOnIdle"` // Does the ServiceBus Subscription have dead letter support on filter evaluation exceptions? DeadLetteringOnFilterEvaluationError bool `pulumi:"deadLetteringOnFilterEvaluationError"` // Does the Service Bus Subscription have dead letter support when a message expires? DeadLetteringOnMessageExpiration bool `pulumi:"deadLetteringOnMessageExpiration"` // The Default message timespan to live. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. DefaultMessageTtl string `pulumi:"defaultMessageTtl"` // Are batched operations enabled on this ServiceBus Subscription? EnableBatchedOperations bool `pulumi:"enableBatchedOperations"` // The name of a Queue or Topic to automatically forward Dead Letter messages to. ForwardDeadLetteredMessagesTo string `pulumi:"forwardDeadLetteredMessagesTo"` // The name of a ServiceBus Queue or ServiceBus Topic where messages are automatically forwarded. ForwardTo string `pulumi:"forwardTo"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // The lock duration for the subscription. LockDuration string `pulumi:"lockDuration"` // The maximum number of deliveries. MaxDeliveryCount int `pulumi:"maxDeliveryCount"` Name string `pulumi:"name"` NamespaceName string `pulumi:"namespaceName"` // Whether or not this ServiceBus Subscription supports session. RequiresSession bool `pulumi:"requiresSession"` ResourceGroupName string `pulumi:"resourceGroupName"` TopicName string `pulumi:"topicName"` }
A collection of values returned by getSubscription.
func LookupSubscription ¶
func LookupSubscription(ctx *pulumi.Context, args *LookupSubscriptionArgs, opts ...pulumi.InvokeOption) (*LookupSubscriptionResult, error)
Use this data source to access information about an existing ServiceBus Subscription.
## Example Usage
```go package main
import (
"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 { _, err := servicebus.LookupSubscription(ctx, &servicebus.LookupSubscriptionArgs{ Name: "examplesubscription", ResourceGroupName: "exampleresources", NamespaceName: "examplenamespace", TopicName: "exampletopic", }, nil) if err != nil { return err } ctx.Export("servicebusSubscription", data.Azurerm_servicebus_namespace.Example) return nil }) }
```
type LookupSubscriptionResultOutput ¶ added in v4.20.0
type LookupSubscriptionResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSubscription.
func LookupSubscriptionOutput ¶ added in v4.20.0
func LookupSubscriptionOutput(ctx *pulumi.Context, args LookupSubscriptionOutputArgs, opts ...pulumi.InvokeOption) LookupSubscriptionResultOutput
func (LookupSubscriptionResultOutput) AutoDeleteOnIdle ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) AutoDeleteOnIdle() pulumi.StringOutput
The idle interval after which the topic is automatically deleted.
func (LookupSubscriptionResultOutput) DeadLetteringOnFilterEvaluationError ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) DeadLetteringOnFilterEvaluationError() pulumi.BoolOutput
Does the ServiceBus Subscription have dead letter support on filter evaluation exceptions?
func (LookupSubscriptionResultOutput) DeadLetteringOnMessageExpiration ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) DeadLetteringOnMessageExpiration() pulumi.BoolOutput
Does the Service Bus Subscription have dead letter support when a message expires?
func (LookupSubscriptionResultOutput) DefaultMessageTtl ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) DefaultMessageTtl() pulumi.StringOutput
The Default message timespan to live. This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself.
func (LookupSubscriptionResultOutput) ElementType ¶ added in v4.20.0
func (LookupSubscriptionResultOutput) ElementType() reflect.Type
func (LookupSubscriptionResultOutput) EnableBatchedOperations ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) EnableBatchedOperations() pulumi.BoolOutput
Are batched operations enabled on this ServiceBus Subscription?
func (LookupSubscriptionResultOutput) ForwardDeadLetteredMessagesTo ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) ForwardDeadLetteredMessagesTo() pulumi.StringOutput
The name of a Queue or Topic to automatically forward Dead Letter messages to.
func (LookupSubscriptionResultOutput) ForwardTo ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) ForwardTo() pulumi.StringOutput
The name of a ServiceBus Queue or ServiceBus Topic where messages are automatically forwarded.
func (LookupSubscriptionResultOutput) Id ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupSubscriptionResultOutput) LockDuration ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) LockDuration() pulumi.StringOutput
The lock duration for the subscription.
func (LookupSubscriptionResultOutput) MaxDeliveryCount ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) MaxDeliveryCount() pulumi.IntOutput
The maximum number of deliveries.
func (LookupSubscriptionResultOutput) Name ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) Name() pulumi.StringOutput
func (LookupSubscriptionResultOutput) NamespaceName ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) NamespaceName() pulumi.StringOutput
func (LookupSubscriptionResultOutput) RequiresSession ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) RequiresSession() pulumi.BoolOutput
Whether or not this ServiceBus Subscription supports session.
func (LookupSubscriptionResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutput() LookupSubscriptionResultOutput
func (LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) ToLookupSubscriptionResultOutputWithContext(ctx context.Context) LookupSubscriptionResultOutput
func (LookupSubscriptionResultOutput) TopicName ¶ added in v4.20.0
func (o LookupSubscriptionResultOutput) TopicName() pulumi.StringOutput
type LookupTopicArgs ¶
type LookupTopicArgs struct { // The name of this Service Bus Topic. Name string `pulumi:"name"` // The name of the Service Bus Namespace. NamespaceName string `pulumi:"namespaceName"` // The name of the Resource Group where the Service Bus Topic exists. ResourceGroupName string `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getTopic.
type LookupTopicAuthorizationRuleArgs ¶
type LookupTopicAuthorizationRuleArgs struct { // The name of the ServiceBus Topic Authorization Rule resource. Name string `pulumi:"name"` // The name of the ServiceBus Namespace. NamespaceName string `pulumi:"namespaceName"` // The name of the resource group in which the ServiceBus Namespace exists. ResourceGroupName string `pulumi:"resourceGroupName"` // The name of the ServiceBus Topic. TopicName string `pulumi:"topicName"` }
A collection of arguments for invoking getTopicAuthorizationRule.
type LookupTopicAuthorizationRuleOutputArgs ¶ added in v4.20.0
type LookupTopicAuthorizationRuleOutputArgs struct { // The name of the ServiceBus Topic Authorization Rule resource. Name pulumi.StringInput `pulumi:"name"` // The name of the ServiceBus Namespace. NamespaceName pulumi.StringInput `pulumi:"namespaceName"` // The name of the resource group in which the ServiceBus Namespace exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` // The name of the ServiceBus Topic. TopicName pulumi.StringInput `pulumi:"topicName"` }
A collection of arguments for invoking getTopicAuthorizationRule.
func (LookupTopicAuthorizationRuleOutputArgs) ElementType ¶ added in v4.20.0
func (LookupTopicAuthorizationRuleOutputArgs) ElementType() reflect.Type
type LookupTopicAuthorizationRuleResult ¶
type LookupTopicAuthorizationRuleResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Listen bool `pulumi:"listen"` Manage bool `pulumi:"manage"` Name string `pulumi:"name"` NamespaceName string `pulumi:"namespaceName"` // The Primary Connection String for the ServiceBus Topic authorization Rule. PrimaryConnectionString string `pulumi:"primaryConnectionString"` // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias string `pulumi:"primaryConnectionStringAlias"` // The Primary Key for the ServiceBus Topic authorization Rule. PrimaryKey string `pulumi:"primaryKey"` ResourceGroupName string `pulumi:"resourceGroupName"` // The Secondary Connection String for the ServiceBus Topic authorization Rule. SecondaryConnectionString string `pulumi:"secondaryConnectionString"` // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias string `pulumi:"secondaryConnectionStringAlias"` // The Secondary Key for the ServiceBus Topic authorization Rule. SecondaryKey string `pulumi:"secondaryKey"` Send bool `pulumi:"send"` TopicName string `pulumi:"topicName"` }
A collection of values returned by getTopicAuthorizationRule.
func LookupTopicAuthorizationRule ¶
func LookupTopicAuthorizationRule(ctx *pulumi.Context, args *LookupTopicAuthorizationRuleArgs, opts ...pulumi.InvokeOption) (*LookupTopicAuthorizationRuleResult, error)
Use this data source to access information about a ServiceBus Topic Authorization Rule within a ServiceBus Topic.
## Example Usage
```go package main
import (
"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 { _, err := servicebus.LookupTopicAuthorizationRule(ctx, &servicebus.LookupTopicAuthorizationRuleArgs{ Name: "example-tfex_name", ResourceGroupName: "example-resources", NamespaceName: "example-namespace", TopicName: "example-servicebus_topic", }, nil) if err != nil { return err } ctx.Export("servicebusAuthorizationRuleId", data.Azurem_servicebus_topic_authorization_rule.Example.Id) return nil }) }
```
type LookupTopicAuthorizationRuleResultOutput ¶ added in v4.20.0
type LookupTopicAuthorizationRuleResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTopicAuthorizationRule.
func LookupTopicAuthorizationRuleOutput ¶ added in v4.20.0
func LookupTopicAuthorizationRuleOutput(ctx *pulumi.Context, args LookupTopicAuthorizationRuleOutputArgs, opts ...pulumi.InvokeOption) LookupTopicAuthorizationRuleResultOutput
func (LookupTopicAuthorizationRuleResultOutput) ElementType ¶ added in v4.20.0
func (LookupTopicAuthorizationRuleResultOutput) ElementType() reflect.Type
func (LookupTopicAuthorizationRuleResultOutput) Id ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTopicAuthorizationRuleResultOutput) Listen ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) Listen() pulumi.BoolOutput
func (LookupTopicAuthorizationRuleResultOutput) Manage ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) Manage() pulumi.BoolOutput
func (LookupTopicAuthorizationRuleResultOutput) Name ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) Name() pulumi.StringOutput
func (LookupTopicAuthorizationRuleResultOutput) NamespaceName ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) NamespaceName() pulumi.StringOutput
func (LookupTopicAuthorizationRuleResultOutput) PrimaryConnectionString ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) PrimaryConnectionString() pulumi.StringOutput
The Primary Connection String for the ServiceBus Topic authorization Rule.
func (LookupTopicAuthorizationRuleResultOutput) PrimaryConnectionStringAlias ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) PrimaryConnectionStringAlias() pulumi.StringOutput
The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired.
func (LookupTopicAuthorizationRuleResultOutput) PrimaryKey ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) PrimaryKey() pulumi.StringOutput
The Primary Key for the ServiceBus Topic authorization Rule.
func (LookupTopicAuthorizationRuleResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupTopicAuthorizationRuleResultOutput) SecondaryConnectionString ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) SecondaryConnectionString() pulumi.StringOutput
The Secondary Connection String for the ServiceBus Topic authorization Rule.
func (LookupTopicAuthorizationRuleResultOutput) SecondaryConnectionStringAlias ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) SecondaryConnectionStringAlias() pulumi.StringOutput
The alias Secondary Connection String for the ServiceBus Namespace
func (LookupTopicAuthorizationRuleResultOutput) SecondaryKey ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) SecondaryKey() pulumi.StringOutput
The Secondary Key for the ServiceBus Topic authorization Rule.
func (LookupTopicAuthorizationRuleResultOutput) Send ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) Send() pulumi.BoolOutput
func (LookupTopicAuthorizationRuleResultOutput) ToLookupTopicAuthorizationRuleResultOutput ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) ToLookupTopicAuthorizationRuleResultOutput() LookupTopicAuthorizationRuleResultOutput
func (LookupTopicAuthorizationRuleResultOutput) ToLookupTopicAuthorizationRuleResultOutputWithContext ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) ToLookupTopicAuthorizationRuleResultOutputWithContext(ctx context.Context) LookupTopicAuthorizationRuleResultOutput
func (LookupTopicAuthorizationRuleResultOutput) TopicName ¶ added in v4.20.0
func (o LookupTopicAuthorizationRuleResultOutput) TopicName() pulumi.StringOutput
type LookupTopicOutputArgs ¶ added in v4.20.0
type LookupTopicOutputArgs struct { // The name of this Service Bus Topic. Name pulumi.StringInput `pulumi:"name"` // The name of the Service Bus Namespace. NamespaceName pulumi.StringInput `pulumi:"namespaceName"` // The name of the Resource Group where the Service Bus Topic exists. ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"` }
A collection of arguments for invoking getTopic.
func (LookupTopicOutputArgs) ElementType ¶ added in v4.20.0
func (LookupTopicOutputArgs) ElementType() reflect.Type
type LookupTopicResult ¶
type LookupTopicResult struct { // The ISO 8601 timespan duration of the idle interval after which the Topic is automatically deleted, minimum of 5 minutes. AutoDeleteOnIdle string `pulumi:"autoDeleteOnIdle"` // The ISO 8601 timespan duration of TTL of messages sent to this topic if no TTL value is set on the message itself. DefaultMessageTtl string `pulumi:"defaultMessageTtl"` // The ISO 8601 timespan duration during which duplicates can be detected. DuplicateDetectionHistoryTimeWindow string `pulumi:"duplicateDetectionHistoryTimeWindow"` // Boolean flag which controls if server-side batched operations are enabled. EnableBatchedOperations bool `pulumi:"enableBatchedOperations"` // Boolean flag which controls whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage. EnableExpress bool `pulumi:"enableExpress"` // Boolean flag which controls whether to enable the topic to be partitioned across multiple message brokers. EnablePartitioning bool `pulumi:"enablePartitioning"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // Integer value which controls the size of memory allocated for the topic. For supported values see the "Queue/topic size" section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas). MaxSizeInMegabytes int `pulumi:"maxSizeInMegabytes"` Name string `pulumi:"name"` NamespaceName string `pulumi:"namespaceName"` // Boolean flag which controls whether the Topic requires duplicate detection. RequiresDuplicateDetection bool `pulumi:"requiresDuplicateDetection"` ResourceGroupName string `pulumi:"resourceGroupName"` // The Status of the Service Bus Topic. Acceptable values are Active or Disabled. Status string `pulumi:"status"` // Boolean flag which controls whether the Topic supports ordering. SupportOrdering bool `pulumi:"supportOrdering"` }
A collection of values returned by getTopic.
func LookupTopic ¶
func LookupTopic(ctx *pulumi.Context, args *LookupTopicArgs, opts ...pulumi.InvokeOption) (*LookupTopicResult, error)
Use this data source to access information about an existing Service Bus Topic.
## Example Usage
```go package main
import (
"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 { example, err := servicebus.LookupTopic(ctx, &servicebus.LookupTopicArgs{ Name: "existing", ResourceGroupName: "existing", NamespaceName: "existing", }, nil) if err != nil { return err } ctx.Export("id", example.Id) return nil }) }
```
type LookupTopicResultOutput ¶ added in v4.20.0
type LookupTopicResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getTopic.
func LookupTopicOutput ¶ added in v4.20.0
func LookupTopicOutput(ctx *pulumi.Context, args LookupTopicOutputArgs, opts ...pulumi.InvokeOption) LookupTopicResultOutput
func (LookupTopicResultOutput) AutoDeleteOnIdle ¶ added in v4.20.0
func (o LookupTopicResultOutput) AutoDeleteOnIdle() pulumi.StringOutput
The ISO 8601 timespan duration of the idle interval after which the Topic is automatically deleted, minimum of 5 minutes.
func (LookupTopicResultOutput) DefaultMessageTtl ¶ added in v4.20.0
func (o LookupTopicResultOutput) DefaultMessageTtl() pulumi.StringOutput
The ISO 8601 timespan duration of TTL of messages sent to this topic if no TTL value is set on the message itself.
func (LookupTopicResultOutput) DuplicateDetectionHistoryTimeWindow ¶ added in v4.20.0
func (o LookupTopicResultOutput) DuplicateDetectionHistoryTimeWindow() pulumi.StringOutput
The ISO 8601 timespan duration during which duplicates can be detected.
func (LookupTopicResultOutput) ElementType ¶ added in v4.20.0
func (LookupTopicResultOutput) ElementType() reflect.Type
func (LookupTopicResultOutput) EnableBatchedOperations ¶ added in v4.20.0
func (o LookupTopicResultOutput) EnableBatchedOperations() pulumi.BoolOutput
Boolean flag which controls if server-side batched operations are enabled.
func (LookupTopicResultOutput) EnableExpress ¶ added in v4.20.0
func (o LookupTopicResultOutput) EnableExpress() pulumi.BoolOutput
Boolean flag which controls whether Express Entities are enabled. An express topic holds a message in memory temporarily before writing it to persistent storage.
func (LookupTopicResultOutput) EnablePartitioning ¶ added in v4.20.0
func (o LookupTopicResultOutput) EnablePartitioning() pulumi.BoolOutput
Boolean flag which controls whether to enable the topic to be partitioned across multiple message brokers.
func (LookupTopicResultOutput) Id ¶ added in v4.20.0
func (o LookupTopicResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupTopicResultOutput) MaxSizeInMegabytes ¶ added in v4.20.0
func (o LookupTopicResultOutput) MaxSizeInMegabytes() pulumi.IntOutput
Integer value which controls the size of memory allocated for the topic. For supported values see the "Queue/topic size" section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas).
func (LookupTopicResultOutput) Name ¶ added in v4.20.0
func (o LookupTopicResultOutput) Name() pulumi.StringOutput
func (LookupTopicResultOutput) NamespaceName ¶ added in v4.20.0
func (o LookupTopicResultOutput) NamespaceName() pulumi.StringOutput
func (LookupTopicResultOutput) RequiresDuplicateDetection ¶ added in v4.20.0
func (o LookupTopicResultOutput) RequiresDuplicateDetection() pulumi.BoolOutput
Boolean flag which controls whether the Topic requires duplicate detection.
func (LookupTopicResultOutput) ResourceGroupName ¶ added in v4.20.0
func (o LookupTopicResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupTopicResultOutput) Status ¶ added in v4.20.0
func (o LookupTopicResultOutput) Status() pulumi.StringOutput
The Status of the Service Bus Topic. Acceptable values are Active or Disabled.
func (LookupTopicResultOutput) SupportOrdering ¶ added in v4.20.0
func (o LookupTopicResultOutput) SupportOrdering() pulumi.BoolOutput
Boolean flag which controls whether the Topic supports ordering.
func (LookupTopicResultOutput) ToLookupTopicResultOutput ¶ added in v4.20.0
func (o LookupTopicResultOutput) ToLookupTopicResultOutput() LookupTopicResultOutput
func (LookupTopicResultOutput) ToLookupTopicResultOutputWithContext ¶ added in v4.20.0
func (o LookupTopicResultOutput) ToLookupTopicResultOutputWithContext(ctx context.Context) LookupTopicResultOutput
type Namespace ¶
type Namespace struct { pulumi.CustomResourceState // Specifies the capacity. When `sku` is `Premium`, capacity can be `1`, `2`, `4`, `8` or `16`. When `sku` is `Basic` or `Standard`, capacity can be `0` only. Capacity pulumi.IntPtrOutput `pulumi:"capacity"` // The primary connection string for the authorization // rule `RootManageSharedAccessKey`. DefaultPrimaryConnectionString pulumi.StringOutput `pulumi:"defaultPrimaryConnectionString"` // The primary access key for the authorization rule `RootManageSharedAccessKey`. DefaultPrimaryKey pulumi.StringOutput `pulumi:"defaultPrimaryKey"` // The secondary connection string for the // authorization rule `RootManageSharedAccessKey`. DefaultSecondaryConnectionString pulumi.StringOutput `pulumi:"defaultSecondaryConnectionString"` // The secondary access key for the authorization rule `RootManageSharedAccessKey`. DefaultSecondaryKey pulumi.StringOutput `pulumi:"defaultSecondaryKey"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // Specifies the name of the ServiceBus Namespace resource . Changing this forces a // new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The name of the resource group in which to // create the namespace. ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created. Sku pulumi.StringOutput `pulumi:"sku"` // A mapping of tags to assign to the resource. Tags pulumi.StringMapOutput `pulumi:"tags"` // Whether or not this resource is zone redundant. `sku` needs to be `Premium`. Defaults to `false`. ZoneRedundant pulumi.BoolPtrOutput `pulumi:"zoneRedundant"` }
Manages a ServiceBus Namespace.
## 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/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 } _, err = servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } return nil }) }
```
## Import
Service Bus Namespace can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/namespace:Namespace example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.servicebus/namespaces/sbns1
```
func GetNamespace ¶
func GetNamespace(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamespaceState, opts ...pulumi.ResourceOption) (*Namespace, error)
GetNamespace gets an existing Namespace 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 NewNamespace ¶
func NewNamespace(ctx *pulumi.Context, name string, args *NamespaceArgs, opts ...pulumi.ResourceOption) (*Namespace, error)
NewNamespace registers a new resource with the given unique name, arguments, and options.
func (*Namespace) ElementType ¶
func (*Namespace) ToNamespaceOutput ¶
func (i *Namespace) ToNamespaceOutput() NamespaceOutput
func (*Namespace) ToNamespaceOutputWithContext ¶
func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
type NamespaceArgs ¶
type NamespaceArgs struct { // Specifies the capacity. When `sku` is `Premium`, capacity can be `1`, `2`, `4`, `8` or `16`. When `sku` is `Basic` or `Standard`, capacity can be `0` only. Capacity pulumi.IntPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the ServiceBus Namespace resource . Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the namespace. ResourceGroupName pulumi.StringInput // Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created. Sku pulumi.StringInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Whether or not this resource is zone redundant. `sku` needs to be `Premium`. Defaults to `false`. ZoneRedundant pulumi.BoolPtrInput }
The set of arguments for constructing a Namespace resource.
func (NamespaceArgs) ElementType ¶
func (NamespaceArgs) ElementType() reflect.Type
type NamespaceArray ¶
type NamespaceArray []NamespaceInput
func (NamespaceArray) ElementType ¶
func (NamespaceArray) ElementType() reflect.Type
func (NamespaceArray) ToNamespaceArrayOutput ¶
func (i NamespaceArray) ToNamespaceArrayOutput() NamespaceArrayOutput
func (NamespaceArray) ToNamespaceArrayOutputWithContext ¶
func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
type NamespaceArrayInput ¶
type NamespaceArrayInput interface { pulumi.Input ToNamespaceArrayOutput() NamespaceArrayOutput ToNamespaceArrayOutputWithContext(context.Context) NamespaceArrayOutput }
NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. You can construct a concrete instance of `NamespaceArrayInput` via:
NamespaceArray{ NamespaceArgs{...} }
type NamespaceArrayOutput ¶
type NamespaceArrayOutput struct{ *pulumi.OutputState }
func (NamespaceArrayOutput) ElementType ¶
func (NamespaceArrayOutput) ElementType() reflect.Type
func (NamespaceArrayOutput) Index ¶
func (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput
func (NamespaceArrayOutput) ToNamespaceArrayOutput ¶
func (o NamespaceArrayOutput) ToNamespaceArrayOutput() NamespaceArrayOutput
func (NamespaceArrayOutput) ToNamespaceArrayOutputWithContext ¶
func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Context) NamespaceArrayOutput
type NamespaceAuthorizationRule ¶
type NamespaceAuthorizationRule struct { pulumi.CustomResourceState // Grants listen access to this this Authorization Rule. Defaults to `false`. Listen pulumi.BoolPtrOutput `pulumi:"listen"` // Grants manage access to this this Authorization Rule. When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrOutput `pulumi:"manage"` // Specifies the name of the ServiceBus Namespace Authorization Rule resource. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Specifies the ID of the ServiceBus Namespace. Changing this forces a new resource to be created. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // The Primary Connection String for the ServiceBus Namespace authorization Rule. PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias pulumi.StringOutput `pulumi:"primaryConnectionStringAlias"` // The Primary Key for the ServiceBus Namespace authorization Rule. PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"` // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Secondary Connection String for the ServiceBus Namespace authorization Rule. SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias pulumi.StringOutput `pulumi:"secondaryConnectionStringAlias"` // The Secondary Key for the ServiceBus Namespace authorization Rule. SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"` // Grants send access to this this Authorization Rule. Defaults to `false`. Send pulumi.BoolPtrOutput `pulumi:"send"` }
Manages a ServiceBus Namespace authorization Rule within a ServiceBus.
## 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/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 US"), }) if err != nil { return err } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } _, err = servicebus.NewNamespaceAuthorizationRule(ctx, "exampleNamespaceAuthorizationRule", &servicebus.NamespaceAuthorizationRuleArgs{ NamespaceId: exampleNamespace.ID(), Listen: pulumi.Bool(true), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
ServiceBus Namespace authorization rules can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/namespaceAuthorizationRule:NamespaceAuthorizationRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ServiceBus/namespaces/namespace1/AuthorizationRules/rule1
```
func GetNamespaceAuthorizationRule ¶
func GetNamespaceAuthorizationRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamespaceAuthorizationRuleState, opts ...pulumi.ResourceOption) (*NamespaceAuthorizationRule, error)
GetNamespaceAuthorizationRule gets an existing NamespaceAuthorizationRule 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 NewNamespaceAuthorizationRule ¶
func NewNamespaceAuthorizationRule(ctx *pulumi.Context, name string, args *NamespaceAuthorizationRuleArgs, opts ...pulumi.ResourceOption) (*NamespaceAuthorizationRule, error)
NewNamespaceAuthorizationRule registers a new resource with the given unique name, arguments, and options.
func (*NamespaceAuthorizationRule) ElementType ¶
func (*NamespaceAuthorizationRule) ElementType() reflect.Type
func (*NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutput ¶
func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput
func (*NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutputWithContext ¶
func (i *NamespaceAuthorizationRule) ToNamespaceAuthorizationRuleOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleOutput
type NamespaceAuthorizationRuleArgs ¶
type NamespaceAuthorizationRuleArgs struct { // Grants listen access to this this Authorization Rule. Defaults to `false`. Listen pulumi.BoolPtrInput // Grants manage access to this this Authorization Rule. When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrInput // Specifies the name of the ServiceBus Namespace Authorization Rule resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the ID of the ServiceBus Namespace. Changing this forces a new resource to be created. NamespaceId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringPtrInput // Grants send access to this this Authorization Rule. Defaults to `false`. Send pulumi.BoolPtrInput }
The set of arguments for constructing a NamespaceAuthorizationRule resource.
func (NamespaceAuthorizationRuleArgs) ElementType ¶
func (NamespaceAuthorizationRuleArgs) ElementType() reflect.Type
type NamespaceAuthorizationRuleArray ¶
type NamespaceAuthorizationRuleArray []NamespaceAuthorizationRuleInput
func (NamespaceAuthorizationRuleArray) ElementType ¶
func (NamespaceAuthorizationRuleArray) ElementType() reflect.Type
func (NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutput ¶
func (i NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput
func (NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutputWithContext ¶
func (i NamespaceAuthorizationRuleArray) ToNamespaceAuthorizationRuleArrayOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleArrayOutput
type NamespaceAuthorizationRuleArrayInput ¶
type NamespaceAuthorizationRuleArrayInput interface { pulumi.Input ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput ToNamespaceAuthorizationRuleArrayOutputWithContext(context.Context) NamespaceAuthorizationRuleArrayOutput }
NamespaceAuthorizationRuleArrayInput is an input type that accepts NamespaceAuthorizationRuleArray and NamespaceAuthorizationRuleArrayOutput values. You can construct a concrete instance of `NamespaceAuthorizationRuleArrayInput` via:
NamespaceAuthorizationRuleArray{ NamespaceAuthorizationRuleArgs{...} }
type NamespaceAuthorizationRuleArrayOutput ¶
type NamespaceAuthorizationRuleArrayOutput struct{ *pulumi.OutputState }
func (NamespaceAuthorizationRuleArrayOutput) ElementType ¶
func (NamespaceAuthorizationRuleArrayOutput) ElementType() reflect.Type
func (NamespaceAuthorizationRuleArrayOutput) Index ¶
func (o NamespaceAuthorizationRuleArrayOutput) Index(i pulumi.IntInput) NamespaceAuthorizationRuleOutput
func (NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutput ¶
func (o NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutput() NamespaceAuthorizationRuleArrayOutput
func (NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutputWithContext ¶
func (o NamespaceAuthorizationRuleArrayOutput) ToNamespaceAuthorizationRuleArrayOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleArrayOutput
type NamespaceAuthorizationRuleInput ¶
type NamespaceAuthorizationRuleInput interface { pulumi.Input ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput ToNamespaceAuthorizationRuleOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleOutput }
type NamespaceAuthorizationRuleMap ¶
type NamespaceAuthorizationRuleMap map[string]NamespaceAuthorizationRuleInput
func (NamespaceAuthorizationRuleMap) ElementType ¶
func (NamespaceAuthorizationRuleMap) ElementType() reflect.Type
func (NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutput ¶
func (i NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput
func (NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutputWithContext ¶
func (i NamespaceAuthorizationRuleMap) ToNamespaceAuthorizationRuleMapOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleMapOutput
type NamespaceAuthorizationRuleMapInput ¶
type NamespaceAuthorizationRuleMapInput interface { pulumi.Input ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput ToNamespaceAuthorizationRuleMapOutputWithContext(context.Context) NamespaceAuthorizationRuleMapOutput }
NamespaceAuthorizationRuleMapInput is an input type that accepts NamespaceAuthorizationRuleMap and NamespaceAuthorizationRuleMapOutput values. You can construct a concrete instance of `NamespaceAuthorizationRuleMapInput` via:
NamespaceAuthorizationRuleMap{ "key": NamespaceAuthorizationRuleArgs{...} }
type NamespaceAuthorizationRuleMapOutput ¶
type NamespaceAuthorizationRuleMapOutput struct{ *pulumi.OutputState }
func (NamespaceAuthorizationRuleMapOutput) ElementType ¶
func (NamespaceAuthorizationRuleMapOutput) ElementType() reflect.Type
func (NamespaceAuthorizationRuleMapOutput) MapIndex ¶
func (o NamespaceAuthorizationRuleMapOutput) MapIndex(k pulumi.StringInput) NamespaceAuthorizationRuleOutput
func (NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutput ¶
func (o NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutput() NamespaceAuthorizationRuleMapOutput
func (NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutputWithContext ¶
func (o NamespaceAuthorizationRuleMapOutput) ToNamespaceAuthorizationRuleMapOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleMapOutput
type NamespaceAuthorizationRuleOutput ¶
type NamespaceAuthorizationRuleOutput struct{ *pulumi.OutputState }
func (NamespaceAuthorizationRuleOutput) ElementType ¶
func (NamespaceAuthorizationRuleOutput) ElementType() reflect.Type
func (NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutput ¶
func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutput() NamespaceAuthorizationRuleOutput
func (NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutputWithContext ¶
func (o NamespaceAuthorizationRuleOutput) ToNamespaceAuthorizationRuleOutputWithContext(ctx context.Context) NamespaceAuthorizationRuleOutput
type NamespaceAuthorizationRuleState ¶
type NamespaceAuthorizationRuleState struct { // Grants listen access to this this Authorization Rule. Defaults to `false`. Listen pulumi.BoolPtrInput // Grants manage access to this this Authorization Rule. When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrInput // Specifies the name of the ServiceBus Namespace Authorization Rule resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Specifies the ID of the ServiceBus Namespace. Changing this forces a new resource to be created. NamespaceId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringPtrInput // The Primary Connection String for the ServiceBus Namespace authorization Rule. PrimaryConnectionString pulumi.StringPtrInput // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias pulumi.StringPtrInput // The Primary Key for the ServiceBus Namespace authorization Rule. PrimaryKey pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringPtrInput // The Secondary Connection String for the ServiceBus Namespace authorization Rule. SecondaryConnectionString pulumi.StringPtrInput // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias pulumi.StringPtrInput // The Secondary Key for the ServiceBus Namespace authorization Rule. SecondaryKey pulumi.StringPtrInput // Grants send access to this this Authorization Rule. Defaults to `false`. Send pulumi.BoolPtrInput }
func (NamespaceAuthorizationRuleState) ElementType ¶
func (NamespaceAuthorizationRuleState) ElementType() reflect.Type
type NamespaceDisasterRecoveryConfig ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfig struct { pulumi.CustomResourceState // The primary access key for the authorization rule `RootManageSharedAccessKey`. DefaultPrimaryKey pulumi.StringOutput `pulumi:"defaultPrimaryKey"` // The secondary access key for the authorization rule `RootManageSharedAccessKey`. DefaultSecondaryKey pulumi.StringOutput `pulumi:"defaultSecondaryKey"` // Specifies the name of the Disaster Recovery Config. This is the alias DNS name that will be created. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the Service Bus Namespace to replicate to. PartnerNamespaceId pulumi.StringOutput `pulumi:"partnerNamespaceId"` // The alias Primary Connection String for the ServiceBus Namespace. PrimaryConnectionStringAlias pulumi.StringOutput `pulumi:"primaryConnectionStringAlias"` // The ID of the primary Service Bus Namespace to replicate. Changing this forces a new resource to be created. PrimaryNamespaceId pulumi.StringOutput `pulumi:"primaryNamespaceId"` // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias pulumi.StringOutput `pulumi:"secondaryConnectionStringAlias"` }
Manages a Disaster Recovery Config for a Service Bus Namespace.
> **NOTE:** Disaster Recovery Config is a Premium Sku only capability.
## 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/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 } primary, err := servicebus.NewNamespace(ctx, "primary", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Premium"), Capacity: pulumi.Int(1), }) if err != nil { return err } secondary, err := servicebus.NewNamespace(ctx, "secondary", &servicebus.NamespaceArgs{ Location: pulumi.String("West US"), ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Premium"), Capacity: pulumi.Int(1), }) if err != nil { return err } _, err = servicebus.NewNamespaceDisasterRecoveryConfig(ctx, "exampleNamespaceDisasterRecoveryConfig", &servicebus.NamespaceDisasterRecoveryConfigArgs{ PrimaryNamespaceId: primary.ID(), PartnerNamespaceId: secondary.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Service Bus DR configs can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/namespaceDisasterRecoveryConfig:NamespaceDisasterRecoveryConfig config1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ServiceBus/namespaces/namespace1/disasterRecoveryConfigs/config1
```
func GetNamespaceDisasterRecoveryConfig ¶ added in v4.3.0
func GetNamespaceDisasterRecoveryConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamespaceDisasterRecoveryConfigState, opts ...pulumi.ResourceOption) (*NamespaceDisasterRecoveryConfig, error)
GetNamespaceDisasterRecoveryConfig gets an existing NamespaceDisasterRecoveryConfig 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 NewNamespaceDisasterRecoveryConfig ¶ added in v4.3.0
func NewNamespaceDisasterRecoveryConfig(ctx *pulumi.Context, name string, args *NamespaceDisasterRecoveryConfigArgs, opts ...pulumi.ResourceOption) (*NamespaceDisasterRecoveryConfig, error)
NewNamespaceDisasterRecoveryConfig registers a new resource with the given unique name, arguments, and options.
func (*NamespaceDisasterRecoveryConfig) ElementType ¶ added in v4.3.0
func (*NamespaceDisasterRecoveryConfig) ElementType() reflect.Type
func (*NamespaceDisasterRecoveryConfig) ToNamespaceDisasterRecoveryConfigOutput ¶ added in v4.3.0
func (i *NamespaceDisasterRecoveryConfig) ToNamespaceDisasterRecoveryConfigOutput() NamespaceDisasterRecoveryConfigOutput
func (*NamespaceDisasterRecoveryConfig) ToNamespaceDisasterRecoveryConfigOutputWithContext ¶ added in v4.3.0
func (i *NamespaceDisasterRecoveryConfig) ToNamespaceDisasterRecoveryConfigOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigOutput
type NamespaceDisasterRecoveryConfigArgs ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigArgs struct { // Specifies the name of the Disaster Recovery Config. This is the alias DNS name that will be created. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Service Bus Namespace to replicate to. PartnerNamespaceId pulumi.StringInput // The ID of the primary Service Bus Namespace to replicate. Changing this forces a new resource to be created. PrimaryNamespaceId pulumi.StringInput }
The set of arguments for constructing a NamespaceDisasterRecoveryConfig resource.
func (NamespaceDisasterRecoveryConfigArgs) ElementType ¶ added in v4.3.0
func (NamespaceDisasterRecoveryConfigArgs) ElementType() reflect.Type
type NamespaceDisasterRecoveryConfigArray ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigArray []NamespaceDisasterRecoveryConfigInput
func (NamespaceDisasterRecoveryConfigArray) ElementType ¶ added in v4.3.0
func (NamespaceDisasterRecoveryConfigArray) ElementType() reflect.Type
func (NamespaceDisasterRecoveryConfigArray) ToNamespaceDisasterRecoveryConfigArrayOutput ¶ added in v4.3.0
func (i NamespaceDisasterRecoveryConfigArray) ToNamespaceDisasterRecoveryConfigArrayOutput() NamespaceDisasterRecoveryConfigArrayOutput
func (NamespaceDisasterRecoveryConfigArray) ToNamespaceDisasterRecoveryConfigArrayOutputWithContext ¶ added in v4.3.0
func (i NamespaceDisasterRecoveryConfigArray) ToNamespaceDisasterRecoveryConfigArrayOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigArrayOutput
type NamespaceDisasterRecoveryConfigArrayInput ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigArrayInput interface { pulumi.Input ToNamespaceDisasterRecoveryConfigArrayOutput() NamespaceDisasterRecoveryConfigArrayOutput ToNamespaceDisasterRecoveryConfigArrayOutputWithContext(context.Context) NamespaceDisasterRecoveryConfigArrayOutput }
NamespaceDisasterRecoveryConfigArrayInput is an input type that accepts NamespaceDisasterRecoveryConfigArray and NamespaceDisasterRecoveryConfigArrayOutput values. You can construct a concrete instance of `NamespaceDisasterRecoveryConfigArrayInput` via:
NamespaceDisasterRecoveryConfigArray{ NamespaceDisasterRecoveryConfigArgs{...} }
type NamespaceDisasterRecoveryConfigArrayOutput ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigArrayOutput struct{ *pulumi.OutputState }
func (NamespaceDisasterRecoveryConfigArrayOutput) ElementType ¶ added in v4.3.0
func (NamespaceDisasterRecoveryConfigArrayOutput) ElementType() reflect.Type
func (NamespaceDisasterRecoveryConfigArrayOutput) ToNamespaceDisasterRecoveryConfigArrayOutput ¶ added in v4.3.0
func (o NamespaceDisasterRecoveryConfigArrayOutput) ToNamespaceDisasterRecoveryConfigArrayOutput() NamespaceDisasterRecoveryConfigArrayOutput
func (NamespaceDisasterRecoveryConfigArrayOutput) ToNamespaceDisasterRecoveryConfigArrayOutputWithContext ¶ added in v4.3.0
func (o NamespaceDisasterRecoveryConfigArrayOutput) ToNamespaceDisasterRecoveryConfigArrayOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigArrayOutput
type NamespaceDisasterRecoveryConfigInput ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigInput interface { pulumi.Input ToNamespaceDisasterRecoveryConfigOutput() NamespaceDisasterRecoveryConfigOutput ToNamespaceDisasterRecoveryConfigOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigOutput }
type NamespaceDisasterRecoveryConfigMap ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigMap map[string]NamespaceDisasterRecoveryConfigInput
func (NamespaceDisasterRecoveryConfigMap) ElementType ¶ added in v4.3.0
func (NamespaceDisasterRecoveryConfigMap) ElementType() reflect.Type
func (NamespaceDisasterRecoveryConfigMap) ToNamespaceDisasterRecoveryConfigMapOutput ¶ added in v4.3.0
func (i NamespaceDisasterRecoveryConfigMap) ToNamespaceDisasterRecoveryConfigMapOutput() NamespaceDisasterRecoveryConfigMapOutput
func (NamespaceDisasterRecoveryConfigMap) ToNamespaceDisasterRecoveryConfigMapOutputWithContext ¶ added in v4.3.0
func (i NamespaceDisasterRecoveryConfigMap) ToNamespaceDisasterRecoveryConfigMapOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigMapOutput
type NamespaceDisasterRecoveryConfigMapInput ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigMapInput interface { pulumi.Input ToNamespaceDisasterRecoveryConfigMapOutput() NamespaceDisasterRecoveryConfigMapOutput ToNamespaceDisasterRecoveryConfigMapOutputWithContext(context.Context) NamespaceDisasterRecoveryConfigMapOutput }
NamespaceDisasterRecoveryConfigMapInput is an input type that accepts NamespaceDisasterRecoveryConfigMap and NamespaceDisasterRecoveryConfigMapOutput values. You can construct a concrete instance of `NamespaceDisasterRecoveryConfigMapInput` via:
NamespaceDisasterRecoveryConfigMap{ "key": NamespaceDisasterRecoveryConfigArgs{...} }
type NamespaceDisasterRecoveryConfigMapOutput ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigMapOutput struct{ *pulumi.OutputState }
func (NamespaceDisasterRecoveryConfigMapOutput) ElementType ¶ added in v4.3.0
func (NamespaceDisasterRecoveryConfigMapOutput) ElementType() reflect.Type
func (NamespaceDisasterRecoveryConfigMapOutput) MapIndex ¶ added in v4.3.0
func (o NamespaceDisasterRecoveryConfigMapOutput) MapIndex(k pulumi.StringInput) NamespaceDisasterRecoveryConfigOutput
func (NamespaceDisasterRecoveryConfigMapOutput) ToNamespaceDisasterRecoveryConfigMapOutput ¶ added in v4.3.0
func (o NamespaceDisasterRecoveryConfigMapOutput) ToNamespaceDisasterRecoveryConfigMapOutput() NamespaceDisasterRecoveryConfigMapOutput
func (NamespaceDisasterRecoveryConfigMapOutput) ToNamespaceDisasterRecoveryConfigMapOutputWithContext ¶ added in v4.3.0
func (o NamespaceDisasterRecoveryConfigMapOutput) ToNamespaceDisasterRecoveryConfigMapOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigMapOutput
type NamespaceDisasterRecoveryConfigOutput ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigOutput struct{ *pulumi.OutputState }
func (NamespaceDisasterRecoveryConfigOutput) ElementType ¶ added in v4.3.0
func (NamespaceDisasterRecoveryConfigOutput) ElementType() reflect.Type
func (NamespaceDisasterRecoveryConfigOutput) ToNamespaceDisasterRecoveryConfigOutput ¶ added in v4.3.0
func (o NamespaceDisasterRecoveryConfigOutput) ToNamespaceDisasterRecoveryConfigOutput() NamespaceDisasterRecoveryConfigOutput
func (NamespaceDisasterRecoveryConfigOutput) ToNamespaceDisasterRecoveryConfigOutputWithContext ¶ added in v4.3.0
func (o NamespaceDisasterRecoveryConfigOutput) ToNamespaceDisasterRecoveryConfigOutputWithContext(ctx context.Context) NamespaceDisasterRecoveryConfigOutput
type NamespaceDisasterRecoveryConfigState ¶ added in v4.3.0
type NamespaceDisasterRecoveryConfigState struct { // The primary access key for the authorization rule `RootManageSharedAccessKey`. DefaultPrimaryKey pulumi.StringPtrInput // The secondary access key for the authorization rule `RootManageSharedAccessKey`. DefaultSecondaryKey pulumi.StringPtrInput // Specifies the name of the Disaster Recovery Config. This is the alias DNS name that will be created. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the Service Bus Namespace to replicate to. PartnerNamespaceId pulumi.StringPtrInput // The alias Primary Connection String for the ServiceBus Namespace. PrimaryConnectionStringAlias pulumi.StringPtrInput // The ID of the primary Service Bus Namespace to replicate. Changing this forces a new resource to be created. PrimaryNamespaceId pulumi.StringPtrInput // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias pulumi.StringPtrInput }
func (NamespaceDisasterRecoveryConfigState) ElementType ¶ added in v4.3.0
func (NamespaceDisasterRecoveryConfigState) ElementType() reflect.Type
type NamespaceInput ¶
type NamespaceInput interface { pulumi.Input ToNamespaceOutput() NamespaceOutput ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput }
type NamespaceMap ¶
type NamespaceMap map[string]NamespaceInput
func (NamespaceMap) ElementType ¶
func (NamespaceMap) ElementType() reflect.Type
func (NamespaceMap) ToNamespaceMapOutput ¶
func (i NamespaceMap) ToNamespaceMapOutput() NamespaceMapOutput
func (NamespaceMap) ToNamespaceMapOutputWithContext ¶
func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput
type NamespaceMapInput ¶
type NamespaceMapInput interface { pulumi.Input ToNamespaceMapOutput() NamespaceMapOutput ToNamespaceMapOutputWithContext(context.Context) NamespaceMapOutput }
NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. You can construct a concrete instance of `NamespaceMapInput` via:
NamespaceMap{ "key": NamespaceArgs{...} }
type NamespaceMapOutput ¶
type NamespaceMapOutput struct{ *pulumi.OutputState }
func (NamespaceMapOutput) ElementType ¶
func (NamespaceMapOutput) ElementType() reflect.Type
func (NamespaceMapOutput) MapIndex ¶
func (o NamespaceMapOutput) MapIndex(k pulumi.StringInput) NamespaceOutput
func (NamespaceMapOutput) ToNamespaceMapOutput ¶
func (o NamespaceMapOutput) ToNamespaceMapOutput() NamespaceMapOutput
func (NamespaceMapOutput) ToNamespaceMapOutputWithContext ¶
func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) NamespaceMapOutput
type NamespaceNetworkRuleSet ¶
type NamespaceNetworkRuleSet struct { pulumi.CustomResourceState // Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are `Allow` and `Deny`. Defaults to `Deny`. DefaultAction pulumi.StringPtrOutput `pulumi:"defaultAction"` // One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace. IpRules pulumi.StringArrayOutput `pulumi:"ipRules"` // Specifies the ServiceBus Namespace ID to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // One or more `networkRules` blocks as defined below. NetworkRules NamespaceNetworkRuleSetNetworkRuleArrayOutput `pulumi:"networkRules"` // Whether to allow traffic over public network. Possible values are `true` and `false`. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"` // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // If True, then Azure Services that are known and trusted for this resource type are allowed to bypass firewall configuration. See [Trusted Microsoft Services](https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/service-bus-messaging/includes/service-bus-trusted-services.md) TrustedServicesAllowed pulumi.BoolPtrOutput `pulumi:"trustedServicesAllowed"` }
Manages a ServiceBus Namespace Network Rule Set Set.
## 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/network" "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 } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Premium"), Capacity: pulumi.Int(1), }) if err != nil { return err } exampleVirtualNetwork, err := network.NewVirtualNetwork(ctx, "exampleVirtualNetwork", &network.VirtualNetworkArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, AddressSpaces: pulumi.StringArray{ pulumi.String("172.17.0.0/16"), }, DnsServers: pulumi.StringArray{ pulumi.String("10.0.0.4"), pulumi.String("10.0.0.5"), }, }) if err != nil { return err } exampleSubnet, err := network.NewSubnet(ctx, "exampleSubnet", &network.SubnetArgs{ ResourceGroupName: exampleResourceGroup.Name, VirtualNetworkName: exampleVirtualNetwork.Name, AddressPrefixes: pulumi.StringArray{ pulumi.String("172.17.0.0/24"), }, ServiceEndpoints: pulumi.StringArray{ pulumi.String("Microsoft.ServiceBus"), }, }) if err != nil { return err } _, err = servicebus.NewNamespaceNetworkRuleSet(ctx, "exampleNamespaceNetworkRuleSet", &servicebus.NamespaceNetworkRuleSetArgs{ NamespaceId: exampleNamespace.ID(), DefaultAction: pulumi.String("Deny"), PublicNetworkAccessEnabled: pulumi.Bool(true), NetworkRules: servicebus.NamespaceNetworkRuleSetNetworkRuleArray{ &servicebus.NamespaceNetworkRuleSetNetworkRuleArgs{ SubnetId: exampleSubnet.ID(), IgnoreMissingVnetServiceEndpoint: pulumi.Bool(false), }, }, IpRules: pulumi.StringArray{ pulumi.String("1.1.1.1"), }, }) if err != nil { return err } return nil }) }
```
## Import
Service Bus Namespace can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/namespaceNetworkRuleSet:NamespaceNetworkRuleSet example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Servicebus/namespaces/sbns1/networkrulesets/default
```
func GetNamespaceNetworkRuleSet ¶
func GetNamespaceNetworkRuleSet(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NamespaceNetworkRuleSetState, opts ...pulumi.ResourceOption) (*NamespaceNetworkRuleSet, error)
GetNamespaceNetworkRuleSet gets an existing NamespaceNetworkRuleSet 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 NewNamespaceNetworkRuleSet ¶
func NewNamespaceNetworkRuleSet(ctx *pulumi.Context, name string, args *NamespaceNetworkRuleSetArgs, opts ...pulumi.ResourceOption) (*NamespaceNetworkRuleSet, error)
NewNamespaceNetworkRuleSet registers a new resource with the given unique name, arguments, and options.
func (*NamespaceNetworkRuleSet) ElementType ¶
func (*NamespaceNetworkRuleSet) ElementType() reflect.Type
func (*NamespaceNetworkRuleSet) ToNamespaceNetworkRuleSetOutput ¶
func (i *NamespaceNetworkRuleSet) ToNamespaceNetworkRuleSetOutput() NamespaceNetworkRuleSetOutput
func (*NamespaceNetworkRuleSet) ToNamespaceNetworkRuleSetOutputWithContext ¶
func (i *NamespaceNetworkRuleSet) ToNamespaceNetworkRuleSetOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetOutput
type NamespaceNetworkRuleSetArgs ¶
type NamespaceNetworkRuleSetArgs struct { // Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are `Allow` and `Deny`. Defaults to `Deny`. DefaultAction pulumi.StringPtrInput // One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace. IpRules pulumi.StringArrayInput // Specifies the ServiceBus Namespace ID to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created. NamespaceId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringPtrInput // One or more `networkRules` blocks as defined below. NetworkRules NamespaceNetworkRuleSetNetworkRuleArrayInput // Whether to allow traffic over public network. Possible values are `true` and `false`. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringPtrInput // If True, then Azure Services that are known and trusted for this resource type are allowed to bypass firewall configuration. See [Trusted Microsoft Services](https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/service-bus-messaging/includes/service-bus-trusted-services.md) TrustedServicesAllowed pulumi.BoolPtrInput }
The set of arguments for constructing a NamespaceNetworkRuleSet resource.
func (NamespaceNetworkRuleSetArgs) ElementType ¶
func (NamespaceNetworkRuleSetArgs) ElementType() reflect.Type
type NamespaceNetworkRuleSetArray ¶
type NamespaceNetworkRuleSetArray []NamespaceNetworkRuleSetInput
func (NamespaceNetworkRuleSetArray) ElementType ¶
func (NamespaceNetworkRuleSetArray) ElementType() reflect.Type
func (NamespaceNetworkRuleSetArray) ToNamespaceNetworkRuleSetArrayOutput ¶
func (i NamespaceNetworkRuleSetArray) ToNamespaceNetworkRuleSetArrayOutput() NamespaceNetworkRuleSetArrayOutput
func (NamespaceNetworkRuleSetArray) ToNamespaceNetworkRuleSetArrayOutputWithContext ¶
func (i NamespaceNetworkRuleSetArray) ToNamespaceNetworkRuleSetArrayOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetArrayOutput
type NamespaceNetworkRuleSetArrayInput ¶
type NamespaceNetworkRuleSetArrayInput interface { pulumi.Input ToNamespaceNetworkRuleSetArrayOutput() NamespaceNetworkRuleSetArrayOutput ToNamespaceNetworkRuleSetArrayOutputWithContext(context.Context) NamespaceNetworkRuleSetArrayOutput }
NamespaceNetworkRuleSetArrayInput is an input type that accepts NamespaceNetworkRuleSetArray and NamespaceNetworkRuleSetArrayOutput values. You can construct a concrete instance of `NamespaceNetworkRuleSetArrayInput` via:
NamespaceNetworkRuleSetArray{ NamespaceNetworkRuleSetArgs{...} }
type NamespaceNetworkRuleSetArrayOutput ¶
type NamespaceNetworkRuleSetArrayOutput struct{ *pulumi.OutputState }
func (NamespaceNetworkRuleSetArrayOutput) ElementType ¶
func (NamespaceNetworkRuleSetArrayOutput) ElementType() reflect.Type
func (NamespaceNetworkRuleSetArrayOutput) Index ¶
func (o NamespaceNetworkRuleSetArrayOutput) Index(i pulumi.IntInput) NamespaceNetworkRuleSetOutput
func (NamespaceNetworkRuleSetArrayOutput) ToNamespaceNetworkRuleSetArrayOutput ¶
func (o NamespaceNetworkRuleSetArrayOutput) ToNamespaceNetworkRuleSetArrayOutput() NamespaceNetworkRuleSetArrayOutput
func (NamespaceNetworkRuleSetArrayOutput) ToNamespaceNetworkRuleSetArrayOutputWithContext ¶
func (o NamespaceNetworkRuleSetArrayOutput) ToNamespaceNetworkRuleSetArrayOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetArrayOutput
type NamespaceNetworkRuleSetInput ¶
type NamespaceNetworkRuleSetInput interface { pulumi.Input ToNamespaceNetworkRuleSetOutput() NamespaceNetworkRuleSetOutput ToNamespaceNetworkRuleSetOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetOutput }
type NamespaceNetworkRuleSetMap ¶
type NamespaceNetworkRuleSetMap map[string]NamespaceNetworkRuleSetInput
func (NamespaceNetworkRuleSetMap) ElementType ¶
func (NamespaceNetworkRuleSetMap) ElementType() reflect.Type
func (NamespaceNetworkRuleSetMap) ToNamespaceNetworkRuleSetMapOutput ¶
func (i NamespaceNetworkRuleSetMap) ToNamespaceNetworkRuleSetMapOutput() NamespaceNetworkRuleSetMapOutput
func (NamespaceNetworkRuleSetMap) ToNamespaceNetworkRuleSetMapOutputWithContext ¶
func (i NamespaceNetworkRuleSetMap) ToNamespaceNetworkRuleSetMapOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetMapOutput
type NamespaceNetworkRuleSetMapInput ¶
type NamespaceNetworkRuleSetMapInput interface { pulumi.Input ToNamespaceNetworkRuleSetMapOutput() NamespaceNetworkRuleSetMapOutput ToNamespaceNetworkRuleSetMapOutputWithContext(context.Context) NamespaceNetworkRuleSetMapOutput }
NamespaceNetworkRuleSetMapInput is an input type that accepts NamespaceNetworkRuleSetMap and NamespaceNetworkRuleSetMapOutput values. You can construct a concrete instance of `NamespaceNetworkRuleSetMapInput` via:
NamespaceNetworkRuleSetMap{ "key": NamespaceNetworkRuleSetArgs{...} }
type NamespaceNetworkRuleSetMapOutput ¶
type NamespaceNetworkRuleSetMapOutput struct{ *pulumi.OutputState }
func (NamespaceNetworkRuleSetMapOutput) ElementType ¶
func (NamespaceNetworkRuleSetMapOutput) ElementType() reflect.Type
func (NamespaceNetworkRuleSetMapOutput) MapIndex ¶
func (o NamespaceNetworkRuleSetMapOutput) MapIndex(k pulumi.StringInput) NamespaceNetworkRuleSetOutput
func (NamespaceNetworkRuleSetMapOutput) ToNamespaceNetworkRuleSetMapOutput ¶
func (o NamespaceNetworkRuleSetMapOutput) ToNamespaceNetworkRuleSetMapOutput() NamespaceNetworkRuleSetMapOutput
func (NamespaceNetworkRuleSetMapOutput) ToNamespaceNetworkRuleSetMapOutputWithContext ¶
func (o NamespaceNetworkRuleSetMapOutput) ToNamespaceNetworkRuleSetMapOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetMapOutput
type NamespaceNetworkRuleSetNetworkRule ¶
type NamespaceNetworkRuleSetNetworkRule struct { // Should the ServiceBus Namespace Network Rule Set ignore missing Virtual Network Service Endpoint option in the Subnet? Defaults to `false`. IgnoreMissingVnetServiceEndpoint *bool `pulumi:"ignoreMissingVnetServiceEndpoint"` // The Subnet ID which should be able to access this ServiceBus Namespace. SubnetId string `pulumi:"subnetId"` }
type NamespaceNetworkRuleSetNetworkRuleArgs ¶
type NamespaceNetworkRuleSetNetworkRuleArgs struct { // Should the ServiceBus Namespace Network Rule Set ignore missing Virtual Network Service Endpoint option in the Subnet? Defaults to `false`. IgnoreMissingVnetServiceEndpoint pulumi.BoolPtrInput `pulumi:"ignoreMissingVnetServiceEndpoint"` // The Subnet ID which should be able to access this ServiceBus Namespace. SubnetId pulumi.StringInput `pulumi:"subnetId"` }
func (NamespaceNetworkRuleSetNetworkRuleArgs) ElementType ¶
func (NamespaceNetworkRuleSetNetworkRuleArgs) ElementType() reflect.Type
func (NamespaceNetworkRuleSetNetworkRuleArgs) ToNamespaceNetworkRuleSetNetworkRuleOutput ¶
func (i NamespaceNetworkRuleSetNetworkRuleArgs) ToNamespaceNetworkRuleSetNetworkRuleOutput() NamespaceNetworkRuleSetNetworkRuleOutput
func (NamespaceNetworkRuleSetNetworkRuleArgs) ToNamespaceNetworkRuleSetNetworkRuleOutputWithContext ¶
func (i NamespaceNetworkRuleSetNetworkRuleArgs) ToNamespaceNetworkRuleSetNetworkRuleOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetNetworkRuleOutput
type NamespaceNetworkRuleSetNetworkRuleArray ¶
type NamespaceNetworkRuleSetNetworkRuleArray []NamespaceNetworkRuleSetNetworkRuleInput
func (NamespaceNetworkRuleSetNetworkRuleArray) ElementType ¶
func (NamespaceNetworkRuleSetNetworkRuleArray) ElementType() reflect.Type
func (NamespaceNetworkRuleSetNetworkRuleArray) ToNamespaceNetworkRuleSetNetworkRuleArrayOutput ¶
func (i NamespaceNetworkRuleSetNetworkRuleArray) ToNamespaceNetworkRuleSetNetworkRuleArrayOutput() NamespaceNetworkRuleSetNetworkRuleArrayOutput
func (NamespaceNetworkRuleSetNetworkRuleArray) ToNamespaceNetworkRuleSetNetworkRuleArrayOutputWithContext ¶
func (i NamespaceNetworkRuleSetNetworkRuleArray) ToNamespaceNetworkRuleSetNetworkRuleArrayOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetNetworkRuleArrayOutput
type NamespaceNetworkRuleSetNetworkRuleArrayInput ¶
type NamespaceNetworkRuleSetNetworkRuleArrayInput interface { pulumi.Input ToNamespaceNetworkRuleSetNetworkRuleArrayOutput() NamespaceNetworkRuleSetNetworkRuleArrayOutput ToNamespaceNetworkRuleSetNetworkRuleArrayOutputWithContext(context.Context) NamespaceNetworkRuleSetNetworkRuleArrayOutput }
NamespaceNetworkRuleSetNetworkRuleArrayInput is an input type that accepts NamespaceNetworkRuleSetNetworkRuleArray and NamespaceNetworkRuleSetNetworkRuleArrayOutput values. You can construct a concrete instance of `NamespaceNetworkRuleSetNetworkRuleArrayInput` via:
NamespaceNetworkRuleSetNetworkRuleArray{ NamespaceNetworkRuleSetNetworkRuleArgs{...} }
type NamespaceNetworkRuleSetNetworkRuleArrayOutput ¶
type NamespaceNetworkRuleSetNetworkRuleArrayOutput struct{ *pulumi.OutputState }
func (NamespaceNetworkRuleSetNetworkRuleArrayOutput) ElementType ¶
func (NamespaceNetworkRuleSetNetworkRuleArrayOutput) ElementType() reflect.Type
func (NamespaceNetworkRuleSetNetworkRuleArrayOutput) ToNamespaceNetworkRuleSetNetworkRuleArrayOutput ¶
func (o NamespaceNetworkRuleSetNetworkRuleArrayOutput) ToNamespaceNetworkRuleSetNetworkRuleArrayOutput() NamespaceNetworkRuleSetNetworkRuleArrayOutput
func (NamespaceNetworkRuleSetNetworkRuleArrayOutput) ToNamespaceNetworkRuleSetNetworkRuleArrayOutputWithContext ¶
func (o NamespaceNetworkRuleSetNetworkRuleArrayOutput) ToNamespaceNetworkRuleSetNetworkRuleArrayOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetNetworkRuleArrayOutput
type NamespaceNetworkRuleSetNetworkRuleInput ¶
type NamespaceNetworkRuleSetNetworkRuleInput interface { pulumi.Input ToNamespaceNetworkRuleSetNetworkRuleOutput() NamespaceNetworkRuleSetNetworkRuleOutput ToNamespaceNetworkRuleSetNetworkRuleOutputWithContext(context.Context) NamespaceNetworkRuleSetNetworkRuleOutput }
NamespaceNetworkRuleSetNetworkRuleInput is an input type that accepts NamespaceNetworkRuleSetNetworkRuleArgs and NamespaceNetworkRuleSetNetworkRuleOutput values. You can construct a concrete instance of `NamespaceNetworkRuleSetNetworkRuleInput` via:
NamespaceNetworkRuleSetNetworkRuleArgs{...}
type NamespaceNetworkRuleSetNetworkRuleOutput ¶
type NamespaceNetworkRuleSetNetworkRuleOutput struct{ *pulumi.OutputState }
func (NamespaceNetworkRuleSetNetworkRuleOutput) ElementType ¶
func (NamespaceNetworkRuleSetNetworkRuleOutput) ElementType() reflect.Type
func (NamespaceNetworkRuleSetNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint ¶
func (o NamespaceNetworkRuleSetNetworkRuleOutput) IgnoreMissingVnetServiceEndpoint() pulumi.BoolPtrOutput
Should the ServiceBus Namespace Network Rule Set ignore missing Virtual Network Service Endpoint option in the Subnet? Defaults to `false`.
func (NamespaceNetworkRuleSetNetworkRuleOutput) SubnetId ¶
func (o NamespaceNetworkRuleSetNetworkRuleOutput) SubnetId() pulumi.StringOutput
The Subnet ID which should be able to access this ServiceBus Namespace.
func (NamespaceNetworkRuleSetNetworkRuleOutput) ToNamespaceNetworkRuleSetNetworkRuleOutput ¶
func (o NamespaceNetworkRuleSetNetworkRuleOutput) ToNamespaceNetworkRuleSetNetworkRuleOutput() NamespaceNetworkRuleSetNetworkRuleOutput
func (NamespaceNetworkRuleSetNetworkRuleOutput) ToNamespaceNetworkRuleSetNetworkRuleOutputWithContext ¶
func (o NamespaceNetworkRuleSetNetworkRuleOutput) ToNamespaceNetworkRuleSetNetworkRuleOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetNetworkRuleOutput
type NamespaceNetworkRuleSetOutput ¶
type NamespaceNetworkRuleSetOutput struct{ *pulumi.OutputState }
func (NamespaceNetworkRuleSetOutput) ElementType ¶
func (NamespaceNetworkRuleSetOutput) ElementType() reflect.Type
func (NamespaceNetworkRuleSetOutput) ToNamespaceNetworkRuleSetOutput ¶
func (o NamespaceNetworkRuleSetOutput) ToNamespaceNetworkRuleSetOutput() NamespaceNetworkRuleSetOutput
func (NamespaceNetworkRuleSetOutput) ToNamespaceNetworkRuleSetOutputWithContext ¶
func (o NamespaceNetworkRuleSetOutput) ToNamespaceNetworkRuleSetOutputWithContext(ctx context.Context) NamespaceNetworkRuleSetOutput
type NamespaceNetworkRuleSetState ¶
type NamespaceNetworkRuleSetState struct { // Specifies the default action for the ServiceBus Namespace Network Rule Set. Possible values are `Allow` and `Deny`. Defaults to `Deny`. DefaultAction pulumi.StringPtrInput // One or more IP Addresses, or CIDR Blocks which should be able to access the ServiceBus Namespace. IpRules pulumi.StringArrayInput // Specifies the ServiceBus Namespace ID to which to attach the ServiceBus Namespace Network Rule Set. Changing this forces a new resource to be created. NamespaceId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringPtrInput // One or more `networkRules` blocks as defined below. NetworkRules NamespaceNetworkRuleSetNetworkRuleArrayInput // Whether to allow traffic over public network. Possible values are `true` and `false`. Defaults to `true`. PublicNetworkAccessEnabled pulumi.BoolPtrInput // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringPtrInput // If True, then Azure Services that are known and trusted for this resource type are allowed to bypass firewall configuration. See [Trusted Microsoft Services](https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/service-bus-messaging/includes/service-bus-trusted-services.md) TrustedServicesAllowed pulumi.BoolPtrInput }
func (NamespaceNetworkRuleSetState) ElementType ¶
func (NamespaceNetworkRuleSetState) ElementType() reflect.Type
type NamespaceOutput ¶
type NamespaceOutput struct{ *pulumi.OutputState }
func (NamespaceOutput) ElementType ¶
func (NamespaceOutput) ElementType() reflect.Type
func (NamespaceOutput) ToNamespaceOutput ¶
func (o NamespaceOutput) ToNamespaceOutput() NamespaceOutput
func (NamespaceOutput) ToNamespaceOutputWithContext ¶
func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) NamespaceOutput
type NamespaceState ¶
type NamespaceState struct { // Specifies the capacity. When `sku` is `Premium`, capacity can be `1`, `2`, `4`, `8` or `16`. When `sku` is `Basic` or `Standard`, capacity can be `0` only. Capacity pulumi.IntPtrInput // The primary connection string for the authorization // rule `RootManageSharedAccessKey`. DefaultPrimaryConnectionString pulumi.StringPtrInput // The primary access key for the authorization rule `RootManageSharedAccessKey`. DefaultPrimaryKey pulumi.StringPtrInput // The secondary connection string for the // authorization rule `RootManageSharedAccessKey`. DefaultSecondaryConnectionString pulumi.StringPtrInput // The secondary access key for the authorization rule `RootManageSharedAccessKey`. DefaultSecondaryKey pulumi.StringPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // Specifies the name of the ServiceBus Namespace resource . Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // The name of the resource group in which to // create the namespace. ResourceGroupName pulumi.StringPtrInput // Defines which tier to use. Options are basic, standard or premium. Changing this forces a new resource to be created. Sku pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.StringMapInput // Whether or not this resource is zone redundant. `sku` needs to be `Premium`. Defaults to `false`. ZoneRedundant pulumi.BoolPtrInput }
func (NamespaceState) ElementType ¶
func (NamespaceState) ElementType() reflect.Type
type Queue ¶
type Queue struct { pulumi.CustomResourceState // The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes. AutoDeleteOnIdle pulumi.StringOutput `pulumi:"autoDeleteOnIdle"` // Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to `false`. DeadLetteringOnMessageExpiration pulumi.BoolPtrOutput `pulumi:"deadLetteringOnMessageExpiration"` // The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself. DefaultMessageTtl pulumi.StringOutput `pulumi:"defaultMessageTtl"` // The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (`PT10M`). DuplicateDetectionHistoryTimeWindow pulumi.StringOutput `pulumi:"duplicateDetectionHistoryTimeWindow"` // Boolean flag which controls whether server-side batched operations are enabled. Defaults to `true`. EnableBatchedOperations pulumi.BoolPtrOutput `pulumi:"enableBatchedOperations"` // Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to `false` for Basic and Standard. For Premium, it MUST be set to `false`. EnableExpress pulumi.BoolPtrOutput `pulumi:"enableExpress"` // Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to `false` for Basic and Standard. For Premium, it MUST be set to `true`. EnablePartitioning pulumi.BoolPtrOutput `pulumi:"enablePartitioning"` // The name of a Queue or Topic to automatically forward dead lettered messages to. ForwardDeadLetteredMessagesTo pulumi.StringPtrOutput `pulumi:"forwardDeadLetteredMessagesTo"` // The name of a Queue or Topic to automatically forward messages to. Please [see the documentation](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-auto-forwarding) for more information. ForwardTo pulumi.StringPtrOutput `pulumi:"forwardTo"` // The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (`PT1M`). LockDuration pulumi.StringOutput `pulumi:"lockDuration"` // Integer value which controls when a message is automatically dead lettered. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrOutput `pulumi:"maxDeliveryCount"` // Integer value which controls the maximum size of // a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#large-messages-support-preview). MaxMessageSizeInKilobytes pulumi.IntOutput `pulumi:"maxMessageSizeInKilobytes"` // Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of [Service Bus Quotas](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas). Defaults to `1024`. MaxSizeInMegabytes pulumi.IntOutput `pulumi:"maxSizeInMegabytes"` // Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to `false`. RequiresDuplicateDetection pulumi.BoolPtrOutput `pulumi:"requiresDuplicateDetection"` // Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to `false`. RequiresSession pulumi.BoolPtrOutput `pulumi:"requiresSession"` // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The status of the Queue. Possible values are `Active`, `Creating`, `Deleting`, `Disabled`, `ReceiveDisabled`, `Renaming`, `SendDisabled`, `Unknown`. Note that `Restoring` is not accepted. Defaults to `Active`. Status pulumi.StringPtrOutput `pulumi:"status"` }
Manages a ServiceBus Queue.
## 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/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 } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } _, err = servicebus.NewQueue(ctx, "exampleQueue", &servicebus.QueueArgs{ NamespaceId: exampleNamespace.ID(), EnablePartitioning: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Service Bus Queue can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/queue:Queue example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.servicebus/namespaces/sbns1/queues/snqueue1
```
func GetQueue ¶
func GetQueue(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueueState, opts ...pulumi.ResourceOption) (*Queue, error)
GetQueue gets an existing Queue 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 NewQueue ¶
func NewQueue(ctx *pulumi.Context, name string, args *QueueArgs, opts ...pulumi.ResourceOption) (*Queue, error)
NewQueue registers a new resource with the given unique name, arguments, and options.
func (*Queue) ElementType ¶
func (*Queue) ToQueueOutput ¶
func (i *Queue) ToQueueOutput() QueueOutput
func (*Queue) ToQueueOutputWithContext ¶
func (i *Queue) ToQueueOutputWithContext(ctx context.Context) QueueOutput
type QueueArgs ¶
type QueueArgs struct { // The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes. AutoDeleteOnIdle pulumi.StringPtrInput // Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to `false`. DeadLetteringOnMessageExpiration pulumi.BoolPtrInput // The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself. DefaultMessageTtl pulumi.StringPtrInput // The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (`PT10M`). DuplicateDetectionHistoryTimeWindow pulumi.StringPtrInput // Boolean flag which controls whether server-side batched operations are enabled. Defaults to `true`. EnableBatchedOperations pulumi.BoolPtrInput // Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to `false` for Basic and Standard. For Premium, it MUST be set to `false`. EnableExpress pulumi.BoolPtrInput // Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to `false` for Basic and Standard. For Premium, it MUST be set to `true`. EnablePartitioning pulumi.BoolPtrInput // The name of a Queue or Topic to automatically forward dead lettered messages to. ForwardDeadLetteredMessagesTo pulumi.StringPtrInput // The name of a Queue or Topic to automatically forward messages to. Please [see the documentation](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-auto-forwarding) for more information. ForwardTo pulumi.StringPtrInput // The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (`PT1M`). LockDuration pulumi.StringPtrInput // Integer value which controls when a message is automatically dead lettered. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrInput // Integer value which controls the maximum size of // a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#large-messages-support-preview). MaxMessageSizeInKilobytes pulumi.IntPtrInput // Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of [Service Bus Quotas](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas). Defaults to `1024`. MaxSizeInMegabytes pulumi.IntPtrInput // Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created. NamespaceId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringPtrInput // Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to `false`. RequiresDuplicateDetection pulumi.BoolPtrInput // Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to `false`. RequiresSession pulumi.BoolPtrInput // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringPtrInput // The status of the Queue. Possible values are `Active`, `Creating`, `Deleting`, `Disabled`, `ReceiveDisabled`, `Renaming`, `SendDisabled`, `Unknown`. Note that `Restoring` is not accepted. Defaults to `Active`. Status pulumi.StringPtrInput }
The set of arguments for constructing a Queue resource.
func (QueueArgs) ElementType ¶
type QueueArray ¶
type QueueArray []QueueInput
func (QueueArray) ElementType ¶
func (QueueArray) ElementType() reflect.Type
func (QueueArray) ToQueueArrayOutput ¶
func (i QueueArray) ToQueueArrayOutput() QueueArrayOutput
func (QueueArray) ToQueueArrayOutputWithContext ¶
func (i QueueArray) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput
type QueueArrayInput ¶
type QueueArrayInput interface { pulumi.Input ToQueueArrayOutput() QueueArrayOutput ToQueueArrayOutputWithContext(context.Context) QueueArrayOutput }
QueueArrayInput is an input type that accepts QueueArray and QueueArrayOutput values. You can construct a concrete instance of `QueueArrayInput` via:
QueueArray{ QueueArgs{...} }
type QueueArrayOutput ¶
type QueueArrayOutput struct{ *pulumi.OutputState }
func (QueueArrayOutput) ElementType ¶
func (QueueArrayOutput) ElementType() reflect.Type
func (QueueArrayOutput) Index ¶
func (o QueueArrayOutput) Index(i pulumi.IntInput) QueueOutput
func (QueueArrayOutput) ToQueueArrayOutput ¶
func (o QueueArrayOutput) ToQueueArrayOutput() QueueArrayOutput
func (QueueArrayOutput) ToQueueArrayOutputWithContext ¶
func (o QueueArrayOutput) ToQueueArrayOutputWithContext(ctx context.Context) QueueArrayOutput
type QueueAuthorizationRule ¶
type QueueAuthorizationRule struct { pulumi.CustomResourceState // Does this Authorization Rule have Listen permissions to the ServiceBus Queue? Defaults to `false`. Listen pulumi.BoolPtrOutput `pulumi:"listen"` // Does this Authorization Rule have Manage permissions to the ServiceBus Queue? When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrOutput `pulumi:"manage"` // Specifies the name of the Authorization Rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Deprecated: Deprecated in favor of "queue_id" NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // The Primary Connection String for the Authorization Rule. PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias pulumi.StringOutput `pulumi:"primaryConnectionStringAlias"` // The Primary Key for the Authorization Rule. PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"` // Specifies the ID of the ServiceBus Queue. Changing this forces a new resource to be created. QueueId pulumi.StringOutput `pulumi:"queueId"` // Deprecated: Deprecated in favor of "queue_id" QueueName pulumi.StringOutput `pulumi:"queueName"` // Deprecated: Deprecated in favor of "queue_id" ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Secondary Connection String for the Authorization Rule. SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias pulumi.StringOutput `pulumi:"secondaryConnectionStringAlias"` // The Secondary Key for the Authorization Rule. SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"` // Does this Authorization Rule have Send permissions to the ServiceBus Queue? Defaults to `false`. Send pulumi.BoolPtrOutput `pulumi:"send"` }
Manages an Authorization Rule for a ServiceBus Queue.
## 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/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 US"), }) if err != nil { return err } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } exampleQueue, err := servicebus.NewQueue(ctx, "exampleQueue", &servicebus.QueueArgs{ NamespaceId: exampleNamespace.ID(), EnablePartitioning: pulumi.Bool(true), }) if err != nil { return err } _, err = servicebus.NewQueueAuthorizationRule(ctx, "exampleQueueAuthorizationRule", &servicebus.QueueAuthorizationRuleArgs{ QueueId: exampleQueue.ID(), Listen: pulumi.Bool(true), Send: pulumi.Bool(true), Manage: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
ServiceBus Queue Authorization Rules can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/queueAuthorizationRule:QueueAuthorizationRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ServiceBus/namespaces/namespace1/queues/queue1/authorizationRules/rule1
```
func GetQueueAuthorizationRule ¶
func GetQueueAuthorizationRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *QueueAuthorizationRuleState, opts ...pulumi.ResourceOption) (*QueueAuthorizationRule, error)
GetQueueAuthorizationRule gets an existing QueueAuthorizationRule 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 NewQueueAuthorizationRule ¶
func NewQueueAuthorizationRule(ctx *pulumi.Context, name string, args *QueueAuthorizationRuleArgs, opts ...pulumi.ResourceOption) (*QueueAuthorizationRule, error)
NewQueueAuthorizationRule registers a new resource with the given unique name, arguments, and options.
func (*QueueAuthorizationRule) ElementType ¶
func (*QueueAuthorizationRule) ElementType() reflect.Type
func (*QueueAuthorizationRule) ToQueueAuthorizationRuleOutput ¶
func (i *QueueAuthorizationRule) ToQueueAuthorizationRuleOutput() QueueAuthorizationRuleOutput
func (*QueueAuthorizationRule) ToQueueAuthorizationRuleOutputWithContext ¶
func (i *QueueAuthorizationRule) ToQueueAuthorizationRuleOutputWithContext(ctx context.Context) QueueAuthorizationRuleOutput
type QueueAuthorizationRuleArgs ¶
type QueueAuthorizationRuleArgs struct { // Does this Authorization Rule have Listen permissions to the ServiceBus Queue? Defaults to `false`. Listen pulumi.BoolPtrInput // Does this Authorization Rule have Manage permissions to the ServiceBus Queue? When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrInput // Specifies the name of the Authorization Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Deprecated: Deprecated in favor of "queue_id" NamespaceName pulumi.StringPtrInput // Specifies the ID of the ServiceBus Queue. Changing this forces a new resource to be created. QueueId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "queue_id" QueueName pulumi.StringPtrInput // Deprecated: Deprecated in favor of "queue_id" ResourceGroupName pulumi.StringPtrInput // Does this Authorization Rule have Send permissions to the ServiceBus Queue? Defaults to `false`. Send pulumi.BoolPtrInput }
The set of arguments for constructing a QueueAuthorizationRule resource.
func (QueueAuthorizationRuleArgs) ElementType ¶
func (QueueAuthorizationRuleArgs) ElementType() reflect.Type
type QueueAuthorizationRuleArray ¶
type QueueAuthorizationRuleArray []QueueAuthorizationRuleInput
func (QueueAuthorizationRuleArray) ElementType ¶
func (QueueAuthorizationRuleArray) ElementType() reflect.Type
func (QueueAuthorizationRuleArray) ToQueueAuthorizationRuleArrayOutput ¶
func (i QueueAuthorizationRuleArray) ToQueueAuthorizationRuleArrayOutput() QueueAuthorizationRuleArrayOutput
func (QueueAuthorizationRuleArray) ToQueueAuthorizationRuleArrayOutputWithContext ¶
func (i QueueAuthorizationRuleArray) ToQueueAuthorizationRuleArrayOutputWithContext(ctx context.Context) QueueAuthorizationRuleArrayOutput
type QueueAuthorizationRuleArrayInput ¶
type QueueAuthorizationRuleArrayInput interface { pulumi.Input ToQueueAuthorizationRuleArrayOutput() QueueAuthorizationRuleArrayOutput ToQueueAuthorizationRuleArrayOutputWithContext(context.Context) QueueAuthorizationRuleArrayOutput }
QueueAuthorizationRuleArrayInput is an input type that accepts QueueAuthorizationRuleArray and QueueAuthorizationRuleArrayOutput values. You can construct a concrete instance of `QueueAuthorizationRuleArrayInput` via:
QueueAuthorizationRuleArray{ QueueAuthorizationRuleArgs{...} }
type QueueAuthorizationRuleArrayOutput ¶
type QueueAuthorizationRuleArrayOutput struct{ *pulumi.OutputState }
func (QueueAuthorizationRuleArrayOutput) ElementType ¶
func (QueueAuthorizationRuleArrayOutput) ElementType() reflect.Type
func (QueueAuthorizationRuleArrayOutput) Index ¶
func (o QueueAuthorizationRuleArrayOutput) Index(i pulumi.IntInput) QueueAuthorizationRuleOutput
func (QueueAuthorizationRuleArrayOutput) ToQueueAuthorizationRuleArrayOutput ¶
func (o QueueAuthorizationRuleArrayOutput) ToQueueAuthorizationRuleArrayOutput() QueueAuthorizationRuleArrayOutput
func (QueueAuthorizationRuleArrayOutput) ToQueueAuthorizationRuleArrayOutputWithContext ¶
func (o QueueAuthorizationRuleArrayOutput) ToQueueAuthorizationRuleArrayOutputWithContext(ctx context.Context) QueueAuthorizationRuleArrayOutput
type QueueAuthorizationRuleInput ¶
type QueueAuthorizationRuleInput interface { pulumi.Input ToQueueAuthorizationRuleOutput() QueueAuthorizationRuleOutput ToQueueAuthorizationRuleOutputWithContext(ctx context.Context) QueueAuthorizationRuleOutput }
type QueueAuthorizationRuleMap ¶
type QueueAuthorizationRuleMap map[string]QueueAuthorizationRuleInput
func (QueueAuthorizationRuleMap) ElementType ¶
func (QueueAuthorizationRuleMap) ElementType() reflect.Type
func (QueueAuthorizationRuleMap) ToQueueAuthorizationRuleMapOutput ¶
func (i QueueAuthorizationRuleMap) ToQueueAuthorizationRuleMapOutput() QueueAuthorizationRuleMapOutput
func (QueueAuthorizationRuleMap) ToQueueAuthorizationRuleMapOutputWithContext ¶
func (i QueueAuthorizationRuleMap) ToQueueAuthorizationRuleMapOutputWithContext(ctx context.Context) QueueAuthorizationRuleMapOutput
type QueueAuthorizationRuleMapInput ¶
type QueueAuthorizationRuleMapInput interface { pulumi.Input ToQueueAuthorizationRuleMapOutput() QueueAuthorizationRuleMapOutput ToQueueAuthorizationRuleMapOutputWithContext(context.Context) QueueAuthorizationRuleMapOutput }
QueueAuthorizationRuleMapInput is an input type that accepts QueueAuthorizationRuleMap and QueueAuthorizationRuleMapOutput values. You can construct a concrete instance of `QueueAuthorizationRuleMapInput` via:
QueueAuthorizationRuleMap{ "key": QueueAuthorizationRuleArgs{...} }
type QueueAuthorizationRuleMapOutput ¶
type QueueAuthorizationRuleMapOutput struct{ *pulumi.OutputState }
func (QueueAuthorizationRuleMapOutput) ElementType ¶
func (QueueAuthorizationRuleMapOutput) ElementType() reflect.Type
func (QueueAuthorizationRuleMapOutput) MapIndex ¶
func (o QueueAuthorizationRuleMapOutput) MapIndex(k pulumi.StringInput) QueueAuthorizationRuleOutput
func (QueueAuthorizationRuleMapOutput) ToQueueAuthorizationRuleMapOutput ¶
func (o QueueAuthorizationRuleMapOutput) ToQueueAuthorizationRuleMapOutput() QueueAuthorizationRuleMapOutput
func (QueueAuthorizationRuleMapOutput) ToQueueAuthorizationRuleMapOutputWithContext ¶
func (o QueueAuthorizationRuleMapOutput) ToQueueAuthorizationRuleMapOutputWithContext(ctx context.Context) QueueAuthorizationRuleMapOutput
type QueueAuthorizationRuleOutput ¶
type QueueAuthorizationRuleOutput struct{ *pulumi.OutputState }
func (QueueAuthorizationRuleOutput) ElementType ¶
func (QueueAuthorizationRuleOutput) ElementType() reflect.Type
func (QueueAuthorizationRuleOutput) ToQueueAuthorizationRuleOutput ¶
func (o QueueAuthorizationRuleOutput) ToQueueAuthorizationRuleOutput() QueueAuthorizationRuleOutput
func (QueueAuthorizationRuleOutput) ToQueueAuthorizationRuleOutputWithContext ¶
func (o QueueAuthorizationRuleOutput) ToQueueAuthorizationRuleOutputWithContext(ctx context.Context) QueueAuthorizationRuleOutput
type QueueAuthorizationRuleState ¶
type QueueAuthorizationRuleState struct { // Does this Authorization Rule have Listen permissions to the ServiceBus Queue? Defaults to `false`. Listen pulumi.BoolPtrInput // Does this Authorization Rule have Manage permissions to the ServiceBus Queue? When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrInput // Specifies the name of the Authorization Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Deprecated: Deprecated in favor of "queue_id" NamespaceName pulumi.StringPtrInput // The Primary Connection String for the Authorization Rule. PrimaryConnectionString pulumi.StringPtrInput // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias pulumi.StringPtrInput // The Primary Key for the Authorization Rule. PrimaryKey pulumi.StringPtrInput // Specifies the ID of the ServiceBus Queue. Changing this forces a new resource to be created. QueueId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "queue_id" QueueName pulumi.StringPtrInput // Deprecated: Deprecated in favor of "queue_id" ResourceGroupName pulumi.StringPtrInput // The Secondary Connection String for the Authorization Rule. SecondaryConnectionString pulumi.StringPtrInput // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias pulumi.StringPtrInput // The Secondary Key for the Authorization Rule. SecondaryKey pulumi.StringPtrInput // Does this Authorization Rule have Send permissions to the ServiceBus Queue? Defaults to `false`. Send pulumi.BoolPtrInput }
func (QueueAuthorizationRuleState) ElementType ¶
func (QueueAuthorizationRuleState) ElementType() reflect.Type
type QueueInput ¶
type QueueInput interface { pulumi.Input ToQueueOutput() QueueOutput ToQueueOutputWithContext(ctx context.Context) QueueOutput }
type QueueMap ¶
type QueueMap map[string]QueueInput
func (QueueMap) ElementType ¶
func (QueueMap) ToQueueMapOutput ¶
func (i QueueMap) ToQueueMapOutput() QueueMapOutput
func (QueueMap) ToQueueMapOutputWithContext ¶
func (i QueueMap) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput
type QueueMapInput ¶
type QueueMapInput interface { pulumi.Input ToQueueMapOutput() QueueMapOutput ToQueueMapOutputWithContext(context.Context) QueueMapOutput }
QueueMapInput is an input type that accepts QueueMap and QueueMapOutput values. You can construct a concrete instance of `QueueMapInput` via:
QueueMap{ "key": QueueArgs{...} }
type QueueMapOutput ¶
type QueueMapOutput struct{ *pulumi.OutputState }
func (QueueMapOutput) ElementType ¶
func (QueueMapOutput) ElementType() reflect.Type
func (QueueMapOutput) MapIndex ¶
func (o QueueMapOutput) MapIndex(k pulumi.StringInput) QueueOutput
func (QueueMapOutput) ToQueueMapOutput ¶
func (o QueueMapOutput) ToQueueMapOutput() QueueMapOutput
func (QueueMapOutput) ToQueueMapOutputWithContext ¶
func (o QueueMapOutput) ToQueueMapOutputWithContext(ctx context.Context) QueueMapOutput
type QueueOutput ¶
type QueueOutput struct{ *pulumi.OutputState }
func (QueueOutput) ElementType ¶
func (QueueOutput) ElementType() reflect.Type
func (QueueOutput) ToQueueOutput ¶
func (o QueueOutput) ToQueueOutput() QueueOutput
func (QueueOutput) ToQueueOutputWithContext ¶
func (o QueueOutput) ToQueueOutputWithContext(ctx context.Context) QueueOutput
type QueueState ¶
type QueueState struct { // The ISO 8601 timespan duration of the idle interval after which the Queue is automatically deleted, minimum of 5 minutes. AutoDeleteOnIdle pulumi.StringPtrInput // Boolean flag which controls whether the Queue has dead letter support when a message expires. Defaults to `false`. DeadLetteringOnMessageExpiration pulumi.BoolPtrInput // The ISO 8601 timespan duration of the TTL of messages sent to this queue. This is the default value used when TTL is not set on message itself. DefaultMessageTtl pulumi.StringPtrInput // The ISO 8601 timespan duration during which duplicates can be detected. Defaults to 10 minutes (`PT10M`). DuplicateDetectionHistoryTimeWindow pulumi.StringPtrInput // Boolean flag which controls whether server-side batched operations are enabled. Defaults to `true`. EnableBatchedOperations pulumi.BoolPtrInput // Boolean flag which controls whether Express Entities are enabled. An express queue holds a message in memory temporarily before writing it to persistent storage. Defaults to `false` for Basic and Standard. For Premium, it MUST be set to `false`. EnableExpress pulumi.BoolPtrInput // Boolean flag which controls whether to enable the queue to be partitioned across multiple message brokers. Changing this forces a new resource to be created. Defaults to `false` for Basic and Standard. For Premium, it MUST be set to `true`. EnablePartitioning pulumi.BoolPtrInput // The name of a Queue or Topic to automatically forward dead lettered messages to. ForwardDeadLetteredMessagesTo pulumi.StringPtrInput // The name of a Queue or Topic to automatically forward messages to. Please [see the documentation](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-auto-forwarding) for more information. ForwardTo pulumi.StringPtrInput // The ISO 8601 timespan duration of a peek-lock; that is, the amount of time that the message is locked for other receivers. Maximum value is 5 minutes. Defaults to 1 minute (`PT1M`). LockDuration pulumi.StringPtrInput // Integer value which controls when a message is automatically dead lettered. Defaults to `10`. MaxDeliveryCount pulumi.IntPtrInput // Integer value which controls the maximum size of // a message allowed on the queue for Premium SKU. For supported values see the "Large messages support" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#large-messages-support-preview). MaxMessageSizeInKilobytes pulumi.IntPtrInput // Integer value which controls the size of memory allocated for the queue. For supported values see the "Queue or topic size" section of [Service Bus Quotas](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas). Defaults to `1024`. MaxSizeInMegabytes pulumi.IntPtrInput // Specifies the name of the ServiceBus Queue resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // The ID of the ServiceBus Namespace to create this queue in. Changing this forces a new resource to be created. NamespaceId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringPtrInput // Boolean flag which controls whether the Queue requires duplicate detection. Changing this forces a new resource to be created. Defaults to `false`. RequiresDuplicateDetection pulumi.BoolPtrInput // Boolean flag which controls whether the Queue requires sessions. This will allow ordered handling of unbounded sequences of related messages. With sessions enabled a queue can guarantee first-in-first-out delivery of messages. Changing this forces a new resource to be created. Defaults to `false`. RequiresSession pulumi.BoolPtrInput // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringPtrInput // The status of the Queue. Possible values are `Active`, `Creating`, `Deleting`, `Disabled`, `ReceiveDisabled`, `Renaming`, `SendDisabled`, `Unknown`. Note that `Restoring` is not accepted. Defaults to `Active`. Status pulumi.StringPtrInput }
func (QueueState) ElementType ¶
func (QueueState) ElementType() reflect.Type
type Subscription ¶
type Subscription struct { pulumi.CustomResourceState // The idle interval after which the topic is automatically deleted as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). The minimum duration is `5` minutes or `PT5M`. AutoDeleteOnIdle pulumi.StringOutput `pulumi:"autoDeleteOnIdle"` // Boolean flag which controls whether the Subscription has dead letter support on filter evaluation exceptions. Defaults to `true`. DeadLetteringOnFilterEvaluationError pulumi.BoolPtrOutput `pulumi:"deadLetteringOnFilterEvaluationError"` // Boolean flag which controls whether the Subscription has dead letter support when a message expires. Defaults to `false`. DeadLetteringOnMessageExpiration pulumi.BoolPtrOutput `pulumi:"deadLetteringOnMessageExpiration"` // The Default message timespan to live as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. DefaultMessageTtl pulumi.StringOutput `pulumi:"defaultMessageTtl"` // Boolean flag which controls whether the Subscription supports batched operations. Defaults to `false`. EnableBatchedOperations pulumi.BoolPtrOutput `pulumi:"enableBatchedOperations"` // The name of a Queue or Topic to automatically forward Dead Letter messages to. ForwardDeadLetteredMessagesTo pulumi.StringPtrOutput `pulumi:"forwardDeadLetteredMessagesTo"` // The name of a Queue or Topic to automatically forward messages to. ForwardTo pulumi.StringPtrOutput `pulumi:"forwardTo"` // The lock duration for the subscription as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). The default value is `1` minute or `P0DT0H1M0S` . The maximum value is `5` minutes or `P0DT0H5M0S` . LockDuration pulumi.StringOutput `pulumi:"lockDuration"` // The maximum number of deliveries. MaxDeliveryCount pulumi.IntOutput `pulumi:"maxDeliveryCount"` // Specifies the name of the ServiceBus Subscription resource. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Deprecated: Deprecated in favor of "topic_id" NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // Boolean flag which controls whether this Subscription supports the concept of a session. Defaults to `false`. Changing this forces a new resource to be created. RequiresSession pulumi.BoolPtrOutput `pulumi:"requiresSession"` // Deprecated: Deprecated in favor of "topic_id" ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The status of the Subscription. Possible values are `Active`,`ReceiveDisabled`, or `Disabled`. Defaults to `Active`. Status pulumi.StringPtrOutput `pulumi:"status"` // The ID of the ServiceBus Topic to create this Subscription in. Changing this forces a new resource to be created. TopicId pulumi.StringOutput `pulumi:"topicId"` // Deprecated: Deprecated in favor of "topic_id" TopicName pulumi.StringOutput `pulumi:"topicName"` }
Manages a ServiceBus Subscription.
## 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/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 } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } exampleTopic, err := servicebus.NewTopic(ctx, "exampleTopic", &servicebus.TopicArgs{ NamespaceId: exampleNamespace.ID(), EnablePartitioning: pulumi.Bool(true), }) if err != nil { return err } _, err = servicebus.NewSubscription(ctx, "exampleSubscription", &servicebus.SubscriptionArgs{ TopicId: exampleTopic.ID(), MaxDeliveryCount: pulumi.Int(1), }) if err != nil { return err } return nil }) }
```
## Import
Service Bus Subscriptions can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/subscription:Subscription example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.servicebus/namespaces/sbns1/topics/sntopic1/subscriptions/sbsub1
```
func GetSubscription ¶
func GetSubscription(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionState, opts ...pulumi.ResourceOption) (*Subscription, error)
GetSubscription gets an existing Subscription 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 NewSubscription ¶
func NewSubscription(ctx *pulumi.Context, name string, args *SubscriptionArgs, opts ...pulumi.ResourceOption) (*Subscription, error)
NewSubscription registers a new resource with the given unique name, arguments, and options.
func (*Subscription) ElementType ¶
func (*Subscription) ElementType() reflect.Type
func (*Subscription) ToSubscriptionOutput ¶
func (i *Subscription) ToSubscriptionOutput() SubscriptionOutput
func (*Subscription) ToSubscriptionOutputWithContext ¶
func (i *Subscription) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
type SubscriptionArgs ¶
type SubscriptionArgs struct { // The idle interval after which the topic is automatically deleted as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). The minimum duration is `5` minutes or `PT5M`. AutoDeleteOnIdle pulumi.StringPtrInput // Boolean flag which controls whether the Subscription has dead letter support on filter evaluation exceptions. Defaults to `true`. DeadLetteringOnFilterEvaluationError pulumi.BoolPtrInput // Boolean flag which controls whether the Subscription has dead letter support when a message expires. Defaults to `false`. DeadLetteringOnMessageExpiration pulumi.BoolPtrInput // The Default message timespan to live as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. DefaultMessageTtl pulumi.StringPtrInput // Boolean flag which controls whether the Subscription supports batched operations. Defaults to `false`. EnableBatchedOperations pulumi.BoolPtrInput // The name of a Queue or Topic to automatically forward Dead Letter messages to. ForwardDeadLetteredMessagesTo pulumi.StringPtrInput // The name of a Queue or Topic to automatically forward messages to. ForwardTo pulumi.StringPtrInput // The lock duration for the subscription as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). The default value is `1` minute or `P0DT0H1M0S` . The maximum value is `5` minutes or `P0DT0H5M0S` . LockDuration pulumi.StringPtrInput // The maximum number of deliveries. MaxDeliveryCount pulumi.IntInput // Specifies the name of the ServiceBus Subscription resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" NamespaceName pulumi.StringPtrInput // Boolean flag which controls whether this Subscription supports the concept of a session. Defaults to `false`. Changing this forces a new resource to be created. RequiresSession pulumi.BoolPtrInput // Deprecated: Deprecated in favor of "topic_id" ResourceGroupName pulumi.StringPtrInput // The status of the Subscription. Possible values are `Active`,`ReceiveDisabled`, or `Disabled`. Defaults to `Active`. Status pulumi.StringPtrInput // The ID of the ServiceBus Topic to create this Subscription in. Changing this forces a new resource to be created. TopicId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" TopicName pulumi.StringPtrInput }
The set of arguments for constructing a Subscription resource.
func (SubscriptionArgs) ElementType ¶
func (SubscriptionArgs) ElementType() reflect.Type
type SubscriptionArray ¶
type SubscriptionArray []SubscriptionInput
func (SubscriptionArray) ElementType ¶
func (SubscriptionArray) ElementType() reflect.Type
func (SubscriptionArray) ToSubscriptionArrayOutput ¶
func (i SubscriptionArray) ToSubscriptionArrayOutput() SubscriptionArrayOutput
func (SubscriptionArray) ToSubscriptionArrayOutputWithContext ¶
func (i SubscriptionArray) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
type SubscriptionArrayInput ¶
type SubscriptionArrayInput interface { pulumi.Input ToSubscriptionArrayOutput() SubscriptionArrayOutput ToSubscriptionArrayOutputWithContext(context.Context) SubscriptionArrayOutput }
SubscriptionArrayInput is an input type that accepts SubscriptionArray and SubscriptionArrayOutput values. You can construct a concrete instance of `SubscriptionArrayInput` via:
SubscriptionArray{ SubscriptionArgs{...} }
type SubscriptionArrayOutput ¶
type SubscriptionArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionArrayOutput) ElementType ¶
func (SubscriptionArrayOutput) ElementType() reflect.Type
func (SubscriptionArrayOutput) Index ¶
func (o SubscriptionArrayOutput) Index(i pulumi.IntInput) SubscriptionOutput
func (SubscriptionArrayOutput) ToSubscriptionArrayOutput ¶
func (o SubscriptionArrayOutput) ToSubscriptionArrayOutput() SubscriptionArrayOutput
func (SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext ¶
func (o SubscriptionArrayOutput) ToSubscriptionArrayOutputWithContext(ctx context.Context) SubscriptionArrayOutput
type SubscriptionInput ¶
type SubscriptionInput interface { pulumi.Input ToSubscriptionOutput() SubscriptionOutput ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput }
type SubscriptionMap ¶
type SubscriptionMap map[string]SubscriptionInput
func (SubscriptionMap) ElementType ¶
func (SubscriptionMap) ElementType() reflect.Type
func (SubscriptionMap) ToSubscriptionMapOutput ¶
func (i SubscriptionMap) ToSubscriptionMapOutput() SubscriptionMapOutput
func (SubscriptionMap) ToSubscriptionMapOutputWithContext ¶
func (i SubscriptionMap) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
type SubscriptionMapInput ¶
type SubscriptionMapInput interface { pulumi.Input ToSubscriptionMapOutput() SubscriptionMapOutput ToSubscriptionMapOutputWithContext(context.Context) SubscriptionMapOutput }
SubscriptionMapInput is an input type that accepts SubscriptionMap and SubscriptionMapOutput values. You can construct a concrete instance of `SubscriptionMapInput` via:
SubscriptionMap{ "key": SubscriptionArgs{...} }
type SubscriptionMapOutput ¶
type SubscriptionMapOutput struct{ *pulumi.OutputState }
func (SubscriptionMapOutput) ElementType ¶
func (SubscriptionMapOutput) ElementType() reflect.Type
func (SubscriptionMapOutput) MapIndex ¶
func (o SubscriptionMapOutput) MapIndex(k pulumi.StringInput) SubscriptionOutput
func (SubscriptionMapOutput) ToSubscriptionMapOutput ¶
func (o SubscriptionMapOutput) ToSubscriptionMapOutput() SubscriptionMapOutput
func (SubscriptionMapOutput) ToSubscriptionMapOutputWithContext ¶
func (o SubscriptionMapOutput) ToSubscriptionMapOutputWithContext(ctx context.Context) SubscriptionMapOutput
type SubscriptionOutput ¶
type SubscriptionOutput struct{ *pulumi.OutputState }
func (SubscriptionOutput) ElementType ¶
func (SubscriptionOutput) ElementType() reflect.Type
func (SubscriptionOutput) ToSubscriptionOutput ¶
func (o SubscriptionOutput) ToSubscriptionOutput() SubscriptionOutput
func (SubscriptionOutput) ToSubscriptionOutputWithContext ¶
func (o SubscriptionOutput) ToSubscriptionOutputWithContext(ctx context.Context) SubscriptionOutput
type SubscriptionRule ¶
type SubscriptionRule struct { pulumi.CustomResourceState // Represents set of actions written in SQL language-based syntax that is performed against a BrokeredMessage. Action pulumi.StringPtrOutput `pulumi:"action"` // A `correlationFilter` block as documented below to be evaluated against a BrokeredMessage. Required when `filterType` is set to `CorrelationFilter`. CorrelationFilter SubscriptionRuleCorrelationFilterPtrOutput `pulumi:"correlationFilter"` // Type of filter to be applied to a BrokeredMessage. Possible values are `SqlFilter` and `CorrelationFilter`. FilterType pulumi.StringOutput `pulumi:"filterType"` // Specifies the name of the ServiceBus Subscription Rule. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Deprecated: Deprecated in favor of "subscription_id" NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // Deprecated: Deprecated in favor of "subscription_id" ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // Represents a filter written in SQL language-based syntax that to be evaluated against a BrokeredMessage. Required when `filterType` is set to `SqlFilter`. SqlFilter pulumi.StringPtrOutput `pulumi:"sqlFilter"` // The ID of the ServiceBus Subscription in which this Rule should be created. Changing this forces a new resource to be created. SubscriptionId pulumi.StringOutput `pulumi:"subscriptionId"` // Deprecated: Deprecated in favor of "subscription_id" SubscriptionName pulumi.StringOutput `pulumi:"subscriptionName"` // Deprecated: Deprecated in favor of "subscription_id" TopicName pulumi.StringOutput `pulumi:"topicName"` }
Manages a ServiceBus Subscription Rule.
## Example Usage ### SQL Filter)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "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 } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } exampleTopic, err := servicebus.NewTopic(ctx, "exampleTopic", &servicebus.TopicArgs{ NamespaceId: exampleNamespace.ID(), EnablePartitioning: pulumi.Bool(true), }) if err != nil { return err } exampleSubscription, err := servicebus.NewSubscription(ctx, "exampleSubscription", &servicebus.SubscriptionArgs{ TopicId: exampleTopic.ID(), MaxDeliveryCount: pulumi.Int(1), }) if err != nil { return err } _, err = servicebus.NewSubscriptionRule(ctx, "exampleSubscriptionRule", &servicebus.SubscriptionRuleArgs{ SubscriptionId: exampleSubscription.ID(), FilterType: pulumi.String("SqlFilter"), SqlFilter: pulumi.String("colour = 'red'"), }) if err != nil { return err } return nil }) }
``` ### Correlation Filter)
```go package main
import (
"github.com/pulumi/pulumi-azure/sdk/v4/go/azure/core" "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 } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } exampleTopic, err := servicebus.NewTopic(ctx, "exampleTopic", &servicebus.TopicArgs{ NamespaceId: exampleNamespace.ID(), EnablePartitioning: pulumi.Bool(true), }) if err != nil { return err } exampleSubscription, err := servicebus.NewSubscription(ctx, "exampleSubscription", &servicebus.SubscriptionArgs{ TopicId: exampleTopic.ID(), MaxDeliveryCount: pulumi.Int(1), }) if err != nil { return err } _, err = servicebus.NewSubscriptionRule(ctx, "exampleSubscriptionRule", &servicebus.SubscriptionRuleArgs{ SubscriptionId: exampleSubscription.ID(), FilterType: pulumi.String("CorrelationFilter"), CorrelationFilter: &servicebus.SubscriptionRuleCorrelationFilterArgs{ CorrelationId: pulumi.String("high"), Label: pulumi.String("red"), Properties: pulumi.StringMap{ "customProperty": pulumi.String("value"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Service Bus Subscription Rule can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/subscriptionRule:SubscriptionRule example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.servicebus/namespaces/sbns1/topics/sntopic1/subscriptions/sbsub1/rules/sbrule1
```
func GetSubscriptionRule ¶
func GetSubscriptionRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SubscriptionRuleState, opts ...pulumi.ResourceOption) (*SubscriptionRule, error)
GetSubscriptionRule gets an existing SubscriptionRule 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 NewSubscriptionRule ¶
func NewSubscriptionRule(ctx *pulumi.Context, name string, args *SubscriptionRuleArgs, opts ...pulumi.ResourceOption) (*SubscriptionRule, error)
NewSubscriptionRule registers a new resource with the given unique name, arguments, and options.
func (*SubscriptionRule) ElementType ¶
func (*SubscriptionRule) ElementType() reflect.Type
func (*SubscriptionRule) ToSubscriptionRuleOutput ¶
func (i *SubscriptionRule) ToSubscriptionRuleOutput() SubscriptionRuleOutput
func (*SubscriptionRule) ToSubscriptionRuleOutputWithContext ¶
func (i *SubscriptionRule) ToSubscriptionRuleOutputWithContext(ctx context.Context) SubscriptionRuleOutput
type SubscriptionRuleArgs ¶
type SubscriptionRuleArgs struct { // Represents set of actions written in SQL language-based syntax that is performed against a BrokeredMessage. Action pulumi.StringPtrInput // A `correlationFilter` block as documented below to be evaluated against a BrokeredMessage. Required when `filterType` is set to `CorrelationFilter`. CorrelationFilter SubscriptionRuleCorrelationFilterPtrInput // Type of filter to be applied to a BrokeredMessage. Possible values are `SqlFilter` and `CorrelationFilter`. FilterType pulumi.StringInput // Specifies the name of the ServiceBus Subscription Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Deprecated: Deprecated in favor of "subscription_id" NamespaceName pulumi.StringPtrInput // Deprecated: Deprecated in favor of "subscription_id" ResourceGroupName pulumi.StringPtrInput // Represents a filter written in SQL language-based syntax that to be evaluated against a BrokeredMessage. Required when `filterType` is set to `SqlFilter`. SqlFilter pulumi.StringPtrInput // The ID of the ServiceBus Subscription in which this Rule should be created. Changing this forces a new resource to be created. SubscriptionId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "subscription_id" SubscriptionName pulumi.StringPtrInput // Deprecated: Deprecated in favor of "subscription_id" TopicName pulumi.StringPtrInput }
The set of arguments for constructing a SubscriptionRule resource.
func (SubscriptionRuleArgs) ElementType ¶
func (SubscriptionRuleArgs) ElementType() reflect.Type
type SubscriptionRuleArray ¶
type SubscriptionRuleArray []SubscriptionRuleInput
func (SubscriptionRuleArray) ElementType ¶
func (SubscriptionRuleArray) ElementType() reflect.Type
func (SubscriptionRuleArray) ToSubscriptionRuleArrayOutput ¶
func (i SubscriptionRuleArray) ToSubscriptionRuleArrayOutput() SubscriptionRuleArrayOutput
func (SubscriptionRuleArray) ToSubscriptionRuleArrayOutputWithContext ¶
func (i SubscriptionRuleArray) ToSubscriptionRuleArrayOutputWithContext(ctx context.Context) SubscriptionRuleArrayOutput
type SubscriptionRuleArrayInput ¶
type SubscriptionRuleArrayInput interface { pulumi.Input ToSubscriptionRuleArrayOutput() SubscriptionRuleArrayOutput ToSubscriptionRuleArrayOutputWithContext(context.Context) SubscriptionRuleArrayOutput }
SubscriptionRuleArrayInput is an input type that accepts SubscriptionRuleArray and SubscriptionRuleArrayOutput values. You can construct a concrete instance of `SubscriptionRuleArrayInput` via:
SubscriptionRuleArray{ SubscriptionRuleArgs{...} }
type SubscriptionRuleArrayOutput ¶
type SubscriptionRuleArrayOutput struct{ *pulumi.OutputState }
func (SubscriptionRuleArrayOutput) ElementType ¶
func (SubscriptionRuleArrayOutput) ElementType() reflect.Type
func (SubscriptionRuleArrayOutput) Index ¶
func (o SubscriptionRuleArrayOutput) Index(i pulumi.IntInput) SubscriptionRuleOutput
func (SubscriptionRuleArrayOutput) ToSubscriptionRuleArrayOutput ¶
func (o SubscriptionRuleArrayOutput) ToSubscriptionRuleArrayOutput() SubscriptionRuleArrayOutput
func (SubscriptionRuleArrayOutput) ToSubscriptionRuleArrayOutputWithContext ¶
func (o SubscriptionRuleArrayOutput) ToSubscriptionRuleArrayOutputWithContext(ctx context.Context) SubscriptionRuleArrayOutput
type SubscriptionRuleCorrelationFilter ¶
type SubscriptionRuleCorrelationFilter struct { // Content type of the message. ContentType *string `pulumi:"contentType"` // Identifier of the correlation. CorrelationId *string `pulumi:"correlationId"` // Application specific label. Label *string `pulumi:"label"` // Identifier of the message. MessageId *string `pulumi:"messageId"` // A list of user defined properties to be included in the filter. Specified as a map of name/value pairs. Properties map[string]string `pulumi:"properties"` // Address of the queue to reply to. ReplyTo *string `pulumi:"replyTo"` // Session identifier to reply to. ReplyToSessionId *string `pulumi:"replyToSessionId"` // Session identifier. SessionId *string `pulumi:"sessionId"` // Address to send to. To *string `pulumi:"to"` }
type SubscriptionRuleCorrelationFilterArgs ¶
type SubscriptionRuleCorrelationFilterArgs struct { // Content type of the message. ContentType pulumi.StringPtrInput `pulumi:"contentType"` // Identifier of the correlation. CorrelationId pulumi.StringPtrInput `pulumi:"correlationId"` // Application specific label. Label pulumi.StringPtrInput `pulumi:"label"` // Identifier of the message. MessageId pulumi.StringPtrInput `pulumi:"messageId"` // A list of user defined properties to be included in the filter. Specified as a map of name/value pairs. Properties pulumi.StringMapInput `pulumi:"properties"` // Address of the queue to reply to. ReplyTo pulumi.StringPtrInput `pulumi:"replyTo"` // Session identifier to reply to. ReplyToSessionId pulumi.StringPtrInput `pulumi:"replyToSessionId"` // Session identifier. SessionId pulumi.StringPtrInput `pulumi:"sessionId"` // Address to send to. To pulumi.StringPtrInput `pulumi:"to"` }
func (SubscriptionRuleCorrelationFilterArgs) ElementType ¶
func (SubscriptionRuleCorrelationFilterArgs) ElementType() reflect.Type
func (SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterOutput ¶
func (i SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterOutput() SubscriptionRuleCorrelationFilterOutput
func (SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterOutputWithContext ¶
func (i SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterOutput
func (SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterPtrOutput ¶
func (i SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterPtrOutput() SubscriptionRuleCorrelationFilterPtrOutput
func (SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext ¶
func (i SubscriptionRuleCorrelationFilterArgs) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterPtrOutput
type SubscriptionRuleCorrelationFilterInput ¶
type SubscriptionRuleCorrelationFilterInput interface { pulumi.Input ToSubscriptionRuleCorrelationFilterOutput() SubscriptionRuleCorrelationFilterOutput ToSubscriptionRuleCorrelationFilterOutputWithContext(context.Context) SubscriptionRuleCorrelationFilterOutput }
SubscriptionRuleCorrelationFilterInput is an input type that accepts SubscriptionRuleCorrelationFilterArgs and SubscriptionRuleCorrelationFilterOutput values. You can construct a concrete instance of `SubscriptionRuleCorrelationFilterInput` via:
SubscriptionRuleCorrelationFilterArgs{...}
type SubscriptionRuleCorrelationFilterOutput ¶
type SubscriptionRuleCorrelationFilterOutput struct{ *pulumi.OutputState }
func (SubscriptionRuleCorrelationFilterOutput) ContentType ¶
func (o SubscriptionRuleCorrelationFilterOutput) ContentType() pulumi.StringPtrOutput
Content type of the message.
func (SubscriptionRuleCorrelationFilterOutput) CorrelationId ¶
func (o SubscriptionRuleCorrelationFilterOutput) CorrelationId() pulumi.StringPtrOutput
Identifier of the correlation.
func (SubscriptionRuleCorrelationFilterOutput) ElementType ¶
func (SubscriptionRuleCorrelationFilterOutput) ElementType() reflect.Type
func (SubscriptionRuleCorrelationFilterOutput) Label ¶
func (o SubscriptionRuleCorrelationFilterOutput) Label() pulumi.StringPtrOutput
Application specific label.
func (SubscriptionRuleCorrelationFilterOutput) MessageId ¶
func (o SubscriptionRuleCorrelationFilterOutput) MessageId() pulumi.StringPtrOutput
Identifier of the message.
func (SubscriptionRuleCorrelationFilterOutput) Properties ¶
func (o SubscriptionRuleCorrelationFilterOutput) Properties() pulumi.StringMapOutput
A list of user defined properties to be included in the filter. Specified as a map of name/value pairs.
func (SubscriptionRuleCorrelationFilterOutput) ReplyTo ¶
func (o SubscriptionRuleCorrelationFilterOutput) ReplyTo() pulumi.StringPtrOutput
Address of the queue to reply to.
func (SubscriptionRuleCorrelationFilterOutput) ReplyToSessionId ¶
func (o SubscriptionRuleCorrelationFilterOutput) ReplyToSessionId() pulumi.StringPtrOutput
Session identifier to reply to.
func (SubscriptionRuleCorrelationFilterOutput) SessionId ¶
func (o SubscriptionRuleCorrelationFilterOutput) SessionId() pulumi.StringPtrOutput
Session identifier.
func (SubscriptionRuleCorrelationFilterOutput) To ¶
func (o SubscriptionRuleCorrelationFilterOutput) To() pulumi.StringPtrOutput
Address to send to.
func (SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterOutput ¶
func (o SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterOutput() SubscriptionRuleCorrelationFilterOutput
func (SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterOutputWithContext ¶
func (o SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterOutput
func (SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterPtrOutput ¶
func (o SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterPtrOutput() SubscriptionRuleCorrelationFilterPtrOutput
func (SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext ¶
func (o SubscriptionRuleCorrelationFilterOutput) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterPtrOutput
type SubscriptionRuleCorrelationFilterPtrInput ¶
type SubscriptionRuleCorrelationFilterPtrInput interface { pulumi.Input ToSubscriptionRuleCorrelationFilterPtrOutput() SubscriptionRuleCorrelationFilterPtrOutput ToSubscriptionRuleCorrelationFilterPtrOutputWithContext(context.Context) SubscriptionRuleCorrelationFilterPtrOutput }
SubscriptionRuleCorrelationFilterPtrInput is an input type that accepts SubscriptionRuleCorrelationFilterArgs, SubscriptionRuleCorrelationFilterPtr and SubscriptionRuleCorrelationFilterPtrOutput values. You can construct a concrete instance of `SubscriptionRuleCorrelationFilterPtrInput` via:
SubscriptionRuleCorrelationFilterArgs{...} or: nil
func SubscriptionRuleCorrelationFilterPtr ¶
func SubscriptionRuleCorrelationFilterPtr(v *SubscriptionRuleCorrelationFilterArgs) SubscriptionRuleCorrelationFilterPtrInput
type SubscriptionRuleCorrelationFilterPtrOutput ¶
type SubscriptionRuleCorrelationFilterPtrOutput struct{ *pulumi.OutputState }
func (SubscriptionRuleCorrelationFilterPtrOutput) ContentType ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) ContentType() pulumi.StringPtrOutput
Content type of the message.
func (SubscriptionRuleCorrelationFilterPtrOutput) CorrelationId ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) CorrelationId() pulumi.StringPtrOutput
Identifier of the correlation.
func (SubscriptionRuleCorrelationFilterPtrOutput) ElementType ¶
func (SubscriptionRuleCorrelationFilterPtrOutput) ElementType() reflect.Type
func (SubscriptionRuleCorrelationFilterPtrOutput) Label ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) Label() pulumi.StringPtrOutput
Application specific label.
func (SubscriptionRuleCorrelationFilterPtrOutput) MessageId ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) MessageId() pulumi.StringPtrOutput
Identifier of the message.
func (SubscriptionRuleCorrelationFilterPtrOutput) Properties ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) Properties() pulumi.StringMapOutput
A list of user defined properties to be included in the filter. Specified as a map of name/value pairs.
func (SubscriptionRuleCorrelationFilterPtrOutput) ReplyTo ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) ReplyTo() pulumi.StringPtrOutput
Address of the queue to reply to.
func (SubscriptionRuleCorrelationFilterPtrOutput) ReplyToSessionId ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) ReplyToSessionId() pulumi.StringPtrOutput
Session identifier to reply to.
func (SubscriptionRuleCorrelationFilterPtrOutput) SessionId ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) SessionId() pulumi.StringPtrOutput
Session identifier.
func (SubscriptionRuleCorrelationFilterPtrOutput) To ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) To() pulumi.StringPtrOutput
Address to send to.
func (SubscriptionRuleCorrelationFilterPtrOutput) ToSubscriptionRuleCorrelationFilterPtrOutput ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) ToSubscriptionRuleCorrelationFilterPtrOutput() SubscriptionRuleCorrelationFilterPtrOutput
func (SubscriptionRuleCorrelationFilterPtrOutput) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext ¶
func (o SubscriptionRuleCorrelationFilterPtrOutput) ToSubscriptionRuleCorrelationFilterPtrOutputWithContext(ctx context.Context) SubscriptionRuleCorrelationFilterPtrOutput
type SubscriptionRuleInput ¶
type SubscriptionRuleInput interface { pulumi.Input ToSubscriptionRuleOutput() SubscriptionRuleOutput ToSubscriptionRuleOutputWithContext(ctx context.Context) SubscriptionRuleOutput }
type SubscriptionRuleMap ¶
type SubscriptionRuleMap map[string]SubscriptionRuleInput
func (SubscriptionRuleMap) ElementType ¶
func (SubscriptionRuleMap) ElementType() reflect.Type
func (SubscriptionRuleMap) ToSubscriptionRuleMapOutput ¶
func (i SubscriptionRuleMap) ToSubscriptionRuleMapOutput() SubscriptionRuleMapOutput
func (SubscriptionRuleMap) ToSubscriptionRuleMapOutputWithContext ¶
func (i SubscriptionRuleMap) ToSubscriptionRuleMapOutputWithContext(ctx context.Context) SubscriptionRuleMapOutput
type SubscriptionRuleMapInput ¶
type SubscriptionRuleMapInput interface { pulumi.Input ToSubscriptionRuleMapOutput() SubscriptionRuleMapOutput ToSubscriptionRuleMapOutputWithContext(context.Context) SubscriptionRuleMapOutput }
SubscriptionRuleMapInput is an input type that accepts SubscriptionRuleMap and SubscriptionRuleMapOutput values. You can construct a concrete instance of `SubscriptionRuleMapInput` via:
SubscriptionRuleMap{ "key": SubscriptionRuleArgs{...} }
type SubscriptionRuleMapOutput ¶
type SubscriptionRuleMapOutput struct{ *pulumi.OutputState }
func (SubscriptionRuleMapOutput) ElementType ¶
func (SubscriptionRuleMapOutput) ElementType() reflect.Type
func (SubscriptionRuleMapOutput) MapIndex ¶
func (o SubscriptionRuleMapOutput) MapIndex(k pulumi.StringInput) SubscriptionRuleOutput
func (SubscriptionRuleMapOutput) ToSubscriptionRuleMapOutput ¶
func (o SubscriptionRuleMapOutput) ToSubscriptionRuleMapOutput() SubscriptionRuleMapOutput
func (SubscriptionRuleMapOutput) ToSubscriptionRuleMapOutputWithContext ¶
func (o SubscriptionRuleMapOutput) ToSubscriptionRuleMapOutputWithContext(ctx context.Context) SubscriptionRuleMapOutput
type SubscriptionRuleOutput ¶
type SubscriptionRuleOutput struct{ *pulumi.OutputState }
func (SubscriptionRuleOutput) ElementType ¶
func (SubscriptionRuleOutput) ElementType() reflect.Type
func (SubscriptionRuleOutput) ToSubscriptionRuleOutput ¶
func (o SubscriptionRuleOutput) ToSubscriptionRuleOutput() SubscriptionRuleOutput
func (SubscriptionRuleOutput) ToSubscriptionRuleOutputWithContext ¶
func (o SubscriptionRuleOutput) ToSubscriptionRuleOutputWithContext(ctx context.Context) SubscriptionRuleOutput
type SubscriptionRuleState ¶
type SubscriptionRuleState struct { // Represents set of actions written in SQL language-based syntax that is performed against a BrokeredMessage. Action pulumi.StringPtrInput // A `correlationFilter` block as documented below to be evaluated against a BrokeredMessage. Required when `filterType` is set to `CorrelationFilter`. CorrelationFilter SubscriptionRuleCorrelationFilterPtrInput // Type of filter to be applied to a BrokeredMessage. Possible values are `SqlFilter` and `CorrelationFilter`. FilterType pulumi.StringPtrInput // Specifies the name of the ServiceBus Subscription Rule. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Deprecated: Deprecated in favor of "subscription_id" NamespaceName pulumi.StringPtrInput // Deprecated: Deprecated in favor of "subscription_id" ResourceGroupName pulumi.StringPtrInput // Represents a filter written in SQL language-based syntax that to be evaluated against a BrokeredMessage. Required when `filterType` is set to `SqlFilter`. SqlFilter pulumi.StringPtrInput // The ID of the ServiceBus Subscription in which this Rule should be created. Changing this forces a new resource to be created. SubscriptionId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "subscription_id" SubscriptionName pulumi.StringPtrInput // Deprecated: Deprecated in favor of "subscription_id" TopicName pulumi.StringPtrInput }
func (SubscriptionRuleState) ElementType ¶
func (SubscriptionRuleState) ElementType() reflect.Type
type SubscriptionState ¶
type SubscriptionState struct { // The idle interval after which the topic is automatically deleted as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). The minimum duration is `5` minutes or `PT5M`. AutoDeleteOnIdle pulumi.StringPtrInput // Boolean flag which controls whether the Subscription has dead letter support on filter evaluation exceptions. Defaults to `true`. DeadLetteringOnFilterEvaluationError pulumi.BoolPtrInput // Boolean flag which controls whether the Subscription has dead letter support when a message expires. Defaults to `false`. DeadLetteringOnMessageExpiration pulumi.BoolPtrInput // The Default message timespan to live as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). This is the duration after which the message expires, starting from when the message is sent to Service Bus. This is the default value used when TimeToLive is not set on a message itself. DefaultMessageTtl pulumi.StringPtrInput // Boolean flag which controls whether the Subscription supports batched operations. Defaults to `false`. EnableBatchedOperations pulumi.BoolPtrInput // The name of a Queue or Topic to automatically forward Dead Letter messages to. ForwardDeadLetteredMessagesTo pulumi.StringPtrInput // The name of a Queue or Topic to automatically forward messages to. ForwardTo pulumi.StringPtrInput // The lock duration for the subscription as an [ISO 8601 duration](https://en.wikipedia.org/wiki/ISO_8601#Durations). The default value is `1` minute or `P0DT0H1M0S` . The maximum value is `5` minutes or `P0DT0H5M0S` . LockDuration pulumi.StringPtrInput // The maximum number of deliveries. MaxDeliveryCount pulumi.IntPtrInput // Specifies the name of the ServiceBus Subscription resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" NamespaceName pulumi.StringPtrInput // Boolean flag which controls whether this Subscription supports the concept of a session. Defaults to `false`. Changing this forces a new resource to be created. RequiresSession pulumi.BoolPtrInput // Deprecated: Deprecated in favor of "topic_id" ResourceGroupName pulumi.StringPtrInput // The status of the Subscription. Possible values are `Active`,`ReceiveDisabled`, or `Disabled`. Defaults to `Active`. Status pulumi.StringPtrInput // The ID of the ServiceBus Topic to create this Subscription in. Changing this forces a new resource to be created. TopicId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" TopicName pulumi.StringPtrInput }
func (SubscriptionState) ElementType ¶
func (SubscriptionState) ElementType() reflect.Type
type Topic ¶
type Topic struct { pulumi.CustomResourceState // The ISO 8601 timespan duration of the idle interval after which the // Topic is automatically deleted, minimum of 5 minutes. AutoDeleteOnIdle pulumi.StringOutput `pulumi:"autoDeleteOnIdle"` // The ISO 8601 timespan duration of TTL of messages sent to this topic if no // TTL value is set on the message itself. DefaultMessageTtl pulumi.StringOutput `pulumi:"defaultMessageTtl"` // The ISO 8601 timespan duration during which // duplicates can be detected. Defaults to 10 minutes. (`PT10M`) DuplicateDetectionHistoryTimeWindow pulumi.StringOutput `pulumi:"duplicateDetectionHistoryTimeWindow"` // Boolean flag which controls if server-side // batched operations are enabled. Defaults to false. EnableBatchedOperations pulumi.BoolPtrOutput `pulumi:"enableBatchedOperations"` // Boolean flag which controls whether Express Entities // are enabled. An express topic holds a message in memory temporarily before writing // it to persistent storage. Defaults to false. EnableExpress pulumi.BoolPtrOutput `pulumi:"enableExpress"` // Boolean flag which controls whether to enable // the topic to be partitioned across multiple message brokers. Defaults to false. // Changing this forces a new resource to be created. EnablePartitioning pulumi.BoolPtrOutput `pulumi:"enablePartitioning"` // Integer value which controls the maximum size of // a message allowed on the topic for Premium SKU. For supported values see the "Large messages support" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#large-messages-support-preview). MaxMessageSizeInKilobytes pulumi.IntOutput `pulumi:"maxMessageSizeInKilobytes"` // Integer value which controls the size of // memory allocated for the topic. For supported values see the "Queue/topic size" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas). MaxSizeInMegabytes pulumi.IntOutput `pulumi:"maxSizeInMegabytes"` // Specifies the name of the ServiceBus Topic resource. Changing this forces a // new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // The ID of the ServiceBus Namespace to create // this topic in. Changing this forces a new resource to be created. NamespaceId pulumi.StringOutput `pulumi:"namespaceId"` // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // Boolean flag which controls whether // the Topic requires duplicate detection. Defaults to false. Changing this forces // a new resource to be created. RequiresDuplicateDetection pulumi.BoolPtrOutput `pulumi:"requiresDuplicateDetection"` // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Status of the Service Bus Topic. Acceptable values are `Active` or `Disabled`. Defaults to `Active`. Status pulumi.StringPtrOutput `pulumi:"status"` // Boolean flag which controls whether the Topic // supports ordering. Defaults to false. SupportOrdering pulumi.BoolPtrOutput `pulumi:"supportOrdering"` }
Manages a ServiceBus Topic.
**Note** Topics can only be created in Namespaces with an SKU of `standard` or higher.
## 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/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 } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } _, err = servicebus.NewTopic(ctx, "exampleTopic", &servicebus.TopicArgs{ NamespaceId: exampleNamespace.ID(), EnablePartitioning: pulumi.Bool(true), }) if err != nil { return err } return nil }) }
```
## Import
Service Bus Topics can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/topic:Topic example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/mygroup1/providers/microsoft.servicebus/namespaces/sbns1/topics/sntopic1
```
func GetTopic ¶
func GetTopic(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TopicState, opts ...pulumi.ResourceOption) (*Topic, error)
GetTopic gets an existing Topic 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 NewTopic ¶
func NewTopic(ctx *pulumi.Context, name string, args *TopicArgs, opts ...pulumi.ResourceOption) (*Topic, error)
NewTopic registers a new resource with the given unique name, arguments, and options.
func (*Topic) ElementType ¶
func (*Topic) ToTopicOutput ¶
func (i *Topic) ToTopicOutput() TopicOutput
func (*Topic) ToTopicOutputWithContext ¶
func (i *Topic) ToTopicOutputWithContext(ctx context.Context) TopicOutput
type TopicArgs ¶
type TopicArgs struct { // The ISO 8601 timespan duration of the idle interval after which the // Topic is automatically deleted, minimum of 5 minutes. AutoDeleteOnIdle pulumi.StringPtrInput // The ISO 8601 timespan duration of TTL of messages sent to this topic if no // TTL value is set on the message itself. DefaultMessageTtl pulumi.StringPtrInput // The ISO 8601 timespan duration during which // duplicates can be detected. Defaults to 10 minutes. (`PT10M`) DuplicateDetectionHistoryTimeWindow pulumi.StringPtrInput // Boolean flag which controls if server-side // batched operations are enabled. Defaults to false. EnableBatchedOperations pulumi.BoolPtrInput // Boolean flag which controls whether Express Entities // are enabled. An express topic holds a message in memory temporarily before writing // it to persistent storage. Defaults to false. EnableExpress pulumi.BoolPtrInput // Boolean flag which controls whether to enable // the topic to be partitioned across multiple message brokers. Defaults to false. // Changing this forces a new resource to be created. EnablePartitioning pulumi.BoolPtrInput // Integer value which controls the maximum size of // a message allowed on the topic for Premium SKU. For supported values see the "Large messages support" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#large-messages-support-preview). MaxMessageSizeInKilobytes pulumi.IntPtrInput // Integer value which controls the size of // memory allocated for the topic. For supported values see the "Queue/topic size" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas). MaxSizeInMegabytes pulumi.IntPtrInput // Specifies the name of the ServiceBus Topic resource. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // The ID of the ServiceBus Namespace to create // this topic in. Changing this forces a new resource to be created. NamespaceId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringPtrInput // Boolean flag which controls whether // the Topic requires duplicate detection. Defaults to false. Changing this forces // a new resource to be created. RequiresDuplicateDetection pulumi.BoolPtrInput // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringPtrInput // The Status of the Service Bus Topic. Acceptable values are `Active` or `Disabled`. Defaults to `Active`. Status pulumi.StringPtrInput // Boolean flag which controls whether the Topic // supports ordering. Defaults to false. SupportOrdering pulumi.BoolPtrInput }
The set of arguments for constructing a Topic resource.
func (TopicArgs) ElementType ¶
type TopicArray ¶
type TopicArray []TopicInput
func (TopicArray) ElementType ¶
func (TopicArray) ElementType() reflect.Type
func (TopicArray) ToTopicArrayOutput ¶
func (i TopicArray) ToTopicArrayOutput() TopicArrayOutput
func (TopicArray) ToTopicArrayOutputWithContext ¶
func (i TopicArray) ToTopicArrayOutputWithContext(ctx context.Context) TopicArrayOutput
type TopicArrayInput ¶
type TopicArrayInput interface { pulumi.Input ToTopicArrayOutput() TopicArrayOutput ToTopicArrayOutputWithContext(context.Context) TopicArrayOutput }
TopicArrayInput is an input type that accepts TopicArray and TopicArrayOutput values. You can construct a concrete instance of `TopicArrayInput` via:
TopicArray{ TopicArgs{...} }
type TopicArrayOutput ¶
type TopicArrayOutput struct{ *pulumi.OutputState }
func (TopicArrayOutput) ElementType ¶
func (TopicArrayOutput) ElementType() reflect.Type
func (TopicArrayOutput) Index ¶
func (o TopicArrayOutput) Index(i pulumi.IntInput) TopicOutput
func (TopicArrayOutput) ToTopicArrayOutput ¶
func (o TopicArrayOutput) ToTopicArrayOutput() TopicArrayOutput
func (TopicArrayOutput) ToTopicArrayOutputWithContext ¶
func (o TopicArrayOutput) ToTopicArrayOutputWithContext(ctx context.Context) TopicArrayOutput
type TopicAuthorizationRule ¶
type TopicAuthorizationRule struct { pulumi.CustomResourceState // Grants listen access to this this Authorization Rule. Defaults to `false`. Listen pulumi.BoolPtrOutput `pulumi:"listen"` // Grants manage access to this this Authorization Rule. When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrOutput `pulumi:"manage"` // Specifies the name of the ServiceBus Topic Authorization Rule resource. Changing this forces a new resource to be created. Name pulumi.StringOutput `pulumi:"name"` // Deprecated: Deprecated in favor of "topic_id" NamespaceName pulumi.StringOutput `pulumi:"namespaceName"` // The Primary Connection String for the ServiceBus Topic authorization Rule. PrimaryConnectionString pulumi.StringOutput `pulumi:"primaryConnectionString"` // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias pulumi.StringOutput `pulumi:"primaryConnectionStringAlias"` // The Primary Key for the ServiceBus Topic authorization Rule. PrimaryKey pulumi.StringOutput `pulumi:"primaryKey"` // Deprecated: Deprecated in favor of "topic_id" ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"` // The Secondary Connection String for the ServiceBus Topic authorization Rule. SecondaryConnectionString pulumi.StringOutput `pulumi:"secondaryConnectionString"` // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias pulumi.StringOutput `pulumi:"secondaryConnectionStringAlias"` // The Secondary Key for the ServiceBus Topic authorization Rule. SecondaryKey pulumi.StringOutput `pulumi:"secondaryKey"` // Grants send access to this this Authorization Rule. Defaults to `false`. Send pulumi.BoolPtrOutput `pulumi:"send"` // Specifies the ID of the ServiceBus Topic. Changing this forces a new resource to be created. TopicId pulumi.StringOutput `pulumi:"topicId"` // Deprecated: Deprecated in favor of "topic_id" TopicName pulumi.StringOutput `pulumi:"topicName"` }
Manages a ServiceBus Topic authorization Rule within a ServiceBus Topic.
## 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/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 } exampleNamespace, err := servicebus.NewNamespace(ctx, "exampleNamespace", &servicebus.NamespaceArgs{ Location: exampleResourceGroup.Location, ResourceGroupName: exampleResourceGroup.Name, Sku: pulumi.String("Standard"), Tags: pulumi.StringMap{ "source": pulumi.String("example"), }, }) if err != nil { return err } exampleTopic, err := servicebus.NewTopic(ctx, "exampleTopic", &servicebus.TopicArgs{ NamespaceId: exampleNamespace.ID(), }) if err != nil { return err } _, err = servicebus.NewTopicAuthorizationRule(ctx, "exampleTopicAuthorizationRule", &servicebus.TopicAuthorizationRuleArgs{ TopicId: exampleTopic.ID(), Listen: pulumi.Bool(true), Send: pulumi.Bool(false), Manage: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
ServiceBus Topic authorization rules can be imported using the `resource id`, e.g.
```sh
$ pulumi import azure:servicebus/topicAuthorizationRule:TopicAuthorizationRule rule1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.ServiceBus/namespaces/namespace1/topics/topic1/authorizationRules/rule1
```
func GetTopicAuthorizationRule ¶
func GetTopicAuthorizationRule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *TopicAuthorizationRuleState, opts ...pulumi.ResourceOption) (*TopicAuthorizationRule, error)
GetTopicAuthorizationRule gets an existing TopicAuthorizationRule 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 NewTopicAuthorizationRule ¶
func NewTopicAuthorizationRule(ctx *pulumi.Context, name string, args *TopicAuthorizationRuleArgs, opts ...pulumi.ResourceOption) (*TopicAuthorizationRule, error)
NewTopicAuthorizationRule registers a new resource with the given unique name, arguments, and options.
func (*TopicAuthorizationRule) ElementType ¶
func (*TopicAuthorizationRule) ElementType() reflect.Type
func (*TopicAuthorizationRule) ToTopicAuthorizationRuleOutput ¶
func (i *TopicAuthorizationRule) ToTopicAuthorizationRuleOutput() TopicAuthorizationRuleOutput
func (*TopicAuthorizationRule) ToTopicAuthorizationRuleOutputWithContext ¶
func (i *TopicAuthorizationRule) ToTopicAuthorizationRuleOutputWithContext(ctx context.Context) TopicAuthorizationRuleOutput
type TopicAuthorizationRuleArgs ¶
type TopicAuthorizationRuleArgs struct { // Grants listen access to this this Authorization Rule. Defaults to `false`. Listen pulumi.BoolPtrInput // Grants manage access to this this Authorization Rule. When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrInput // Specifies the name of the ServiceBus Topic Authorization Rule resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" NamespaceName pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" ResourceGroupName pulumi.StringPtrInput // Grants send access to this this Authorization Rule. Defaults to `false`. Send pulumi.BoolPtrInput // Specifies the ID of the ServiceBus Topic. Changing this forces a new resource to be created. TopicId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" TopicName pulumi.StringPtrInput }
The set of arguments for constructing a TopicAuthorizationRule resource.
func (TopicAuthorizationRuleArgs) ElementType ¶
func (TopicAuthorizationRuleArgs) ElementType() reflect.Type
type TopicAuthorizationRuleArray ¶
type TopicAuthorizationRuleArray []TopicAuthorizationRuleInput
func (TopicAuthorizationRuleArray) ElementType ¶
func (TopicAuthorizationRuleArray) ElementType() reflect.Type
func (TopicAuthorizationRuleArray) ToTopicAuthorizationRuleArrayOutput ¶
func (i TopicAuthorizationRuleArray) ToTopicAuthorizationRuleArrayOutput() TopicAuthorizationRuleArrayOutput
func (TopicAuthorizationRuleArray) ToTopicAuthorizationRuleArrayOutputWithContext ¶
func (i TopicAuthorizationRuleArray) ToTopicAuthorizationRuleArrayOutputWithContext(ctx context.Context) TopicAuthorizationRuleArrayOutput
type TopicAuthorizationRuleArrayInput ¶
type TopicAuthorizationRuleArrayInput interface { pulumi.Input ToTopicAuthorizationRuleArrayOutput() TopicAuthorizationRuleArrayOutput ToTopicAuthorizationRuleArrayOutputWithContext(context.Context) TopicAuthorizationRuleArrayOutput }
TopicAuthorizationRuleArrayInput is an input type that accepts TopicAuthorizationRuleArray and TopicAuthorizationRuleArrayOutput values. You can construct a concrete instance of `TopicAuthorizationRuleArrayInput` via:
TopicAuthorizationRuleArray{ TopicAuthorizationRuleArgs{...} }
type TopicAuthorizationRuleArrayOutput ¶
type TopicAuthorizationRuleArrayOutput struct{ *pulumi.OutputState }
func (TopicAuthorizationRuleArrayOutput) ElementType ¶
func (TopicAuthorizationRuleArrayOutput) ElementType() reflect.Type
func (TopicAuthorizationRuleArrayOutput) Index ¶
func (o TopicAuthorizationRuleArrayOutput) Index(i pulumi.IntInput) TopicAuthorizationRuleOutput
func (TopicAuthorizationRuleArrayOutput) ToTopicAuthorizationRuleArrayOutput ¶
func (o TopicAuthorizationRuleArrayOutput) ToTopicAuthorizationRuleArrayOutput() TopicAuthorizationRuleArrayOutput
func (TopicAuthorizationRuleArrayOutput) ToTopicAuthorizationRuleArrayOutputWithContext ¶
func (o TopicAuthorizationRuleArrayOutput) ToTopicAuthorizationRuleArrayOutputWithContext(ctx context.Context) TopicAuthorizationRuleArrayOutput
type TopicAuthorizationRuleInput ¶
type TopicAuthorizationRuleInput interface { pulumi.Input ToTopicAuthorizationRuleOutput() TopicAuthorizationRuleOutput ToTopicAuthorizationRuleOutputWithContext(ctx context.Context) TopicAuthorizationRuleOutput }
type TopicAuthorizationRuleMap ¶
type TopicAuthorizationRuleMap map[string]TopicAuthorizationRuleInput
func (TopicAuthorizationRuleMap) ElementType ¶
func (TopicAuthorizationRuleMap) ElementType() reflect.Type
func (TopicAuthorizationRuleMap) ToTopicAuthorizationRuleMapOutput ¶
func (i TopicAuthorizationRuleMap) ToTopicAuthorizationRuleMapOutput() TopicAuthorizationRuleMapOutput
func (TopicAuthorizationRuleMap) ToTopicAuthorizationRuleMapOutputWithContext ¶
func (i TopicAuthorizationRuleMap) ToTopicAuthorizationRuleMapOutputWithContext(ctx context.Context) TopicAuthorizationRuleMapOutput
type TopicAuthorizationRuleMapInput ¶
type TopicAuthorizationRuleMapInput interface { pulumi.Input ToTopicAuthorizationRuleMapOutput() TopicAuthorizationRuleMapOutput ToTopicAuthorizationRuleMapOutputWithContext(context.Context) TopicAuthorizationRuleMapOutput }
TopicAuthorizationRuleMapInput is an input type that accepts TopicAuthorizationRuleMap and TopicAuthorizationRuleMapOutput values. You can construct a concrete instance of `TopicAuthorizationRuleMapInput` via:
TopicAuthorizationRuleMap{ "key": TopicAuthorizationRuleArgs{...} }
type TopicAuthorizationRuleMapOutput ¶
type TopicAuthorizationRuleMapOutput struct{ *pulumi.OutputState }
func (TopicAuthorizationRuleMapOutput) ElementType ¶
func (TopicAuthorizationRuleMapOutput) ElementType() reflect.Type
func (TopicAuthorizationRuleMapOutput) MapIndex ¶
func (o TopicAuthorizationRuleMapOutput) MapIndex(k pulumi.StringInput) TopicAuthorizationRuleOutput
func (TopicAuthorizationRuleMapOutput) ToTopicAuthorizationRuleMapOutput ¶
func (o TopicAuthorizationRuleMapOutput) ToTopicAuthorizationRuleMapOutput() TopicAuthorizationRuleMapOutput
func (TopicAuthorizationRuleMapOutput) ToTopicAuthorizationRuleMapOutputWithContext ¶
func (o TopicAuthorizationRuleMapOutput) ToTopicAuthorizationRuleMapOutputWithContext(ctx context.Context) TopicAuthorizationRuleMapOutput
type TopicAuthorizationRuleOutput ¶
type TopicAuthorizationRuleOutput struct{ *pulumi.OutputState }
func (TopicAuthorizationRuleOutput) ElementType ¶
func (TopicAuthorizationRuleOutput) ElementType() reflect.Type
func (TopicAuthorizationRuleOutput) ToTopicAuthorizationRuleOutput ¶
func (o TopicAuthorizationRuleOutput) ToTopicAuthorizationRuleOutput() TopicAuthorizationRuleOutput
func (TopicAuthorizationRuleOutput) ToTopicAuthorizationRuleOutputWithContext ¶
func (o TopicAuthorizationRuleOutput) ToTopicAuthorizationRuleOutputWithContext(ctx context.Context) TopicAuthorizationRuleOutput
type TopicAuthorizationRuleState ¶
type TopicAuthorizationRuleState struct { // Grants listen access to this this Authorization Rule. Defaults to `false`. Listen pulumi.BoolPtrInput // Grants manage access to this this Authorization Rule. When this property is `true` - both `listen` and `send` must be too. Defaults to `false`. Manage pulumi.BoolPtrInput // Specifies the name of the ServiceBus Topic Authorization Rule resource. Changing this forces a new resource to be created. Name pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" NamespaceName pulumi.StringPtrInput // The Primary Connection String for the ServiceBus Topic authorization Rule. PrimaryConnectionString pulumi.StringPtrInput // The alias Primary Connection String for the ServiceBus Namespace, if the namespace is Geo DR paired. PrimaryConnectionStringAlias pulumi.StringPtrInput // The Primary Key for the ServiceBus Topic authorization Rule. PrimaryKey pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" ResourceGroupName pulumi.StringPtrInput // The Secondary Connection String for the ServiceBus Topic authorization Rule. SecondaryConnectionString pulumi.StringPtrInput // The alias Secondary Connection String for the ServiceBus Namespace SecondaryConnectionStringAlias pulumi.StringPtrInput // The Secondary Key for the ServiceBus Topic authorization Rule. SecondaryKey pulumi.StringPtrInput // Grants send access to this this Authorization Rule. Defaults to `false`. Send pulumi.BoolPtrInput // Specifies the ID of the ServiceBus Topic. Changing this forces a new resource to be created. TopicId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "topic_id" TopicName pulumi.StringPtrInput }
func (TopicAuthorizationRuleState) ElementType ¶
func (TopicAuthorizationRuleState) ElementType() reflect.Type
type TopicInput ¶
type TopicInput interface { pulumi.Input ToTopicOutput() TopicOutput ToTopicOutputWithContext(ctx context.Context) TopicOutput }
type TopicMap ¶
type TopicMap map[string]TopicInput
func (TopicMap) ElementType ¶
func (TopicMap) ToTopicMapOutput ¶
func (i TopicMap) ToTopicMapOutput() TopicMapOutput
func (TopicMap) ToTopicMapOutputWithContext ¶
func (i TopicMap) ToTopicMapOutputWithContext(ctx context.Context) TopicMapOutput
type TopicMapInput ¶
type TopicMapInput interface { pulumi.Input ToTopicMapOutput() TopicMapOutput ToTopicMapOutputWithContext(context.Context) TopicMapOutput }
TopicMapInput is an input type that accepts TopicMap and TopicMapOutput values. You can construct a concrete instance of `TopicMapInput` via:
TopicMap{ "key": TopicArgs{...} }
type TopicMapOutput ¶
type TopicMapOutput struct{ *pulumi.OutputState }
func (TopicMapOutput) ElementType ¶
func (TopicMapOutput) ElementType() reflect.Type
func (TopicMapOutput) MapIndex ¶
func (o TopicMapOutput) MapIndex(k pulumi.StringInput) TopicOutput
func (TopicMapOutput) ToTopicMapOutput ¶
func (o TopicMapOutput) ToTopicMapOutput() TopicMapOutput
func (TopicMapOutput) ToTopicMapOutputWithContext ¶
func (o TopicMapOutput) ToTopicMapOutputWithContext(ctx context.Context) TopicMapOutput
type TopicOutput ¶
type TopicOutput struct{ *pulumi.OutputState }
func (TopicOutput) ElementType ¶
func (TopicOutput) ElementType() reflect.Type
func (TopicOutput) ToTopicOutput ¶
func (o TopicOutput) ToTopicOutput() TopicOutput
func (TopicOutput) ToTopicOutputWithContext ¶
func (o TopicOutput) ToTopicOutputWithContext(ctx context.Context) TopicOutput
type TopicState ¶
type TopicState struct { // The ISO 8601 timespan duration of the idle interval after which the // Topic is automatically deleted, minimum of 5 minutes. AutoDeleteOnIdle pulumi.StringPtrInput // The ISO 8601 timespan duration of TTL of messages sent to this topic if no // TTL value is set on the message itself. DefaultMessageTtl pulumi.StringPtrInput // The ISO 8601 timespan duration during which // duplicates can be detected. Defaults to 10 minutes. (`PT10M`) DuplicateDetectionHistoryTimeWindow pulumi.StringPtrInput // Boolean flag which controls if server-side // batched operations are enabled. Defaults to false. EnableBatchedOperations pulumi.BoolPtrInput // Boolean flag which controls whether Express Entities // are enabled. An express topic holds a message in memory temporarily before writing // it to persistent storage. Defaults to false. EnableExpress pulumi.BoolPtrInput // Boolean flag which controls whether to enable // the topic to be partitioned across multiple message brokers. Defaults to false. // Changing this forces a new resource to be created. EnablePartitioning pulumi.BoolPtrInput // Integer value which controls the maximum size of // a message allowed on the topic for Premium SKU. For supported values see the "Large messages support" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-premium-messaging#large-messages-support-preview). MaxMessageSizeInKilobytes pulumi.IntPtrInput // Integer value which controls the size of // memory allocated for the topic. For supported values see the "Queue/topic size" // section of [this document](https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-quotas). MaxSizeInMegabytes pulumi.IntPtrInput // Specifies the name of the ServiceBus Topic resource. Changing this forces a // new resource to be created. Name pulumi.StringPtrInput // The ID of the ServiceBus Namespace to create // this topic in. Changing this forces a new resource to be created. NamespaceId pulumi.StringPtrInput // Deprecated: Deprecated in favor of "namespace_id" NamespaceName pulumi.StringPtrInput // Boolean flag which controls whether // the Topic requires duplicate detection. Defaults to false. Changing this forces // a new resource to be created. RequiresDuplicateDetection pulumi.BoolPtrInput // Deprecated: Deprecated in favor of "namespace_id" ResourceGroupName pulumi.StringPtrInput // The Status of the Service Bus Topic. Acceptable values are `Active` or `Disabled`. Defaults to `Active`. Status pulumi.StringPtrInput // Boolean flag which controls whether the Topic // supports ordering. Defaults to false. SupportOrdering pulumi.BoolPtrInput }
func (TopicState) ElementType ¶
func (TopicState) ElementType() reflect.Type
Source Files ¶
- getNamespace.go
- getNamespaceAuthorizationRule.go
- getNamespaceDisasterRecoveryConfig.go
- getQueue.go
- getQueueAuthorizationRule.go
- getSubscription.go
- getTopic.go
- getTopicAuthorizationRule.go
- init.go
- namespace.go
- namespaceAuthorizationRule.go
- namespaceDisasterRecoveryConfig.go
- namespaceNetworkRuleSet.go
- pulumiTypes.go
- queue.go
- queueAuthorizationRule.go
- subscription.go
- subscriptionRule.go
- topic.go
- topicAuthorizationRule.go