azure-native.servicebus.Subscription
Explore with Pulumi AI
Description of subscription resource. Azure REST API version: 2022-01-01-preview. Prior API version in Azure Native 1.x: 2017-04-01.
Other available API versions: 2015-08-01, 2022-10-01-preview.
Example Usage
SubscriptionCreate
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var subscription = new AzureNative.ServiceBus.Subscription("subscription", new()
{
EnableBatchedOperations = true,
NamespaceName = "sdk-Namespace-1349",
ResourceGroupName = "ResourceGroup",
SubscriptionName = "sdk-Subscriptions-2178",
TopicName = "sdk-Topics-8740",
});
});
package main
import (
servicebus "github.com/pulumi/pulumi-azure-native-sdk/servicebus/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := servicebus.NewSubscription(ctx, "subscription", &servicebus.SubscriptionArgs{
EnableBatchedOperations: pulumi.Bool(true),
NamespaceName: pulumi.String("sdk-Namespace-1349"),
ResourceGroupName: pulumi.String("ResourceGroup"),
SubscriptionName: pulumi.String("sdk-Subscriptions-2178"),
TopicName: pulumi.String("sdk-Topics-8740"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.servicebus.Subscription;
import com.pulumi.azurenative.servicebus.SubscriptionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var subscription = new Subscription("subscription", SubscriptionArgs.builder()
.enableBatchedOperations(true)
.namespaceName("sdk-Namespace-1349")
.resourceGroupName("ResourceGroup")
.subscriptionName("sdk-Subscriptions-2178")
.topicName("sdk-Topics-8740")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
subscription = azure_native.servicebus.Subscription("subscription",
enable_batched_operations=True,
namespace_name="sdk-Namespace-1349",
resource_group_name="ResourceGroup",
subscription_name="sdk-Subscriptions-2178",
topic_name="sdk-Topics-8740")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const subscription = new azure_native.servicebus.Subscription("subscription", {
enableBatchedOperations: true,
namespaceName: "sdk-Namespace-1349",
resourceGroupName: "ResourceGroup",
subscriptionName: "sdk-Subscriptions-2178",
topicName: "sdk-Topics-8740",
});
resources:
subscription:
type: azure-native:servicebus:Subscription
properties:
enableBatchedOperations: true
namespaceName: sdk-Namespace-1349
resourceGroupName: ResourceGroup
subscriptionName: sdk-Subscriptions-2178
topicName: sdk-Topics-8740
Create Subscription Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Subscription(name: string, args: SubscriptionArgs, opts?: CustomResourceOptions);
@overload
def Subscription(resource_name: str,
args: SubscriptionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Subscription(resource_name: str,
opts: Optional[ResourceOptions] = None,
namespace_name: Optional[str] = None,
topic_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
default_message_time_to_live: Optional[str] = None,
lock_duration: Optional[str] = None,
duplicate_detection_history_time_window: Optional[str] = None,
enable_batched_operations: Optional[bool] = None,
forward_dead_lettered_messages_to: Optional[str] = None,
forward_to: Optional[str] = None,
is_client_affine: Optional[bool] = None,
auto_delete_on_idle: Optional[str] = None,
max_delivery_count: Optional[int] = None,
dead_lettering_on_message_expiration: Optional[bool] = None,
requires_session: Optional[bool] = None,
dead_lettering_on_filter_evaluation_exceptions: Optional[bool] = None,
status: Optional[EntityStatus] = None,
subscription_name: Optional[str] = None,
client_affine_properties: Optional[SBClientAffinePropertiesArgs] = None)
func NewSubscription(ctx *Context, name string, args SubscriptionArgs, opts ...ResourceOption) (*Subscription, error)
public Subscription(string name, SubscriptionArgs args, CustomResourceOptions? opts = null)
public Subscription(String name, SubscriptionArgs args)
public Subscription(String name, SubscriptionArgs args, CustomResourceOptions options)
type: azure-native:servicebus:Subscription
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SubscriptionArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var azure_nativeSubscriptionResource = new AzureNative.ServiceBus.Subscription("azure-nativeSubscriptionResource", new()
{
NamespaceName = "string",
TopicName = "string",
ResourceGroupName = "string",
DefaultMessageTimeToLive = "string",
LockDuration = "string",
DuplicateDetectionHistoryTimeWindow = "string",
EnableBatchedOperations = false,
ForwardDeadLetteredMessagesTo = "string",
ForwardTo = "string",
IsClientAffine = false,
AutoDeleteOnIdle = "string",
MaxDeliveryCount = 0,
DeadLetteringOnMessageExpiration = false,
RequiresSession = false,
DeadLetteringOnFilterEvaluationExceptions = false,
Status = AzureNative.ServiceBus.EntityStatus.Active,
SubscriptionName = "string",
ClientAffineProperties = new AzureNative.ServiceBus.Inputs.SBClientAffinePropertiesArgs
{
ClientId = "string",
IsDurable = false,
IsShared = false,
},
});
example, err := servicebus.NewSubscription(ctx, "azure-nativeSubscriptionResource", &servicebus.SubscriptionArgs{
NamespaceName: pulumi.String("string"),
TopicName: pulumi.String("string"),
ResourceGroupName: pulumi.String("string"),
DefaultMessageTimeToLive: pulumi.String("string"),
LockDuration: pulumi.String("string"),
DuplicateDetectionHistoryTimeWindow: pulumi.String("string"),
EnableBatchedOperations: pulumi.Bool(false),
ForwardDeadLetteredMessagesTo: pulumi.String("string"),
ForwardTo: pulumi.String("string"),
IsClientAffine: pulumi.Bool(false),
AutoDeleteOnIdle: pulumi.String("string"),
MaxDeliveryCount: pulumi.Int(0),
DeadLetteringOnMessageExpiration: pulumi.Bool(false),
RequiresSession: pulumi.Bool(false),
DeadLetteringOnFilterEvaluationExceptions: pulumi.Bool(false),
Status: servicebus.EntityStatusActive,
SubscriptionName: pulumi.String("string"),
ClientAffineProperties: &servicebus.SBClientAffinePropertiesArgs{
ClientId: pulumi.String("string"),
IsDurable: pulumi.Bool(false),
IsShared: pulumi.Bool(false),
},
})
var azure_nativeSubscriptionResource = new Subscription("azure-nativeSubscriptionResource", SubscriptionArgs.builder()
.namespaceName("string")
.topicName("string")
.resourceGroupName("string")
.defaultMessageTimeToLive("string")
.lockDuration("string")
.duplicateDetectionHistoryTimeWindow("string")
.enableBatchedOperations(false)
.forwardDeadLetteredMessagesTo("string")
.forwardTo("string")
.isClientAffine(false)
.autoDeleteOnIdle("string")
.maxDeliveryCount(0)
.deadLetteringOnMessageExpiration(false)
.requiresSession(false)
.deadLetteringOnFilterEvaluationExceptions(false)
.status("Active")
.subscriptionName("string")
.clientAffineProperties(SBClientAffinePropertiesArgs.builder()
.clientId("string")
.isDurable(false)
.isShared(false)
.build())
.build());
azure_native_subscription_resource = azure_native.servicebus.Subscription("azure-nativeSubscriptionResource",
namespace_name="string",
topic_name="string",
resource_group_name="string",
default_message_time_to_live="string",
lock_duration="string",
duplicate_detection_history_time_window="string",
enable_batched_operations=False,
forward_dead_lettered_messages_to="string",
forward_to="string",
is_client_affine=False,
auto_delete_on_idle="string",
max_delivery_count=0,
dead_lettering_on_message_expiration=False,
requires_session=False,
dead_lettering_on_filter_evaluation_exceptions=False,
status=azure_native.servicebus.EntityStatus.ACTIVE,
subscription_name="string",
client_affine_properties=azure_native.servicebus.SBClientAffinePropertiesArgs(
client_id="string",
is_durable=False,
is_shared=False,
))
const azure_nativeSubscriptionResource = new azure_native.servicebus.Subscription("azure-nativeSubscriptionResource", {
namespaceName: "string",
topicName: "string",
resourceGroupName: "string",
defaultMessageTimeToLive: "string",
lockDuration: "string",
duplicateDetectionHistoryTimeWindow: "string",
enableBatchedOperations: false,
forwardDeadLetteredMessagesTo: "string",
forwardTo: "string",
isClientAffine: false,
autoDeleteOnIdle: "string",
maxDeliveryCount: 0,
deadLetteringOnMessageExpiration: false,
requiresSession: false,
deadLetteringOnFilterEvaluationExceptions: false,
status: azure_native.servicebus.EntityStatus.Active,
subscriptionName: "string",
clientAffineProperties: {
clientId: "string",
isDurable: false,
isShared: false,
},
});
type: azure-native:servicebus:Subscription
properties:
autoDeleteOnIdle: string
clientAffineProperties:
clientId: string
isDurable: false
isShared: false
deadLetteringOnFilterEvaluationExceptions: false
deadLetteringOnMessageExpiration: false
defaultMessageTimeToLive: string
duplicateDetectionHistoryTimeWindow: string
enableBatchedOperations: false
forwardDeadLetteredMessagesTo: string
forwardTo: string
isClientAffine: false
lockDuration: string
maxDeliveryCount: 0
namespaceName: string
requiresSession: false
resourceGroupName: string
status: Active
subscriptionName: string
topicName: string
Subscription Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Subscription resource accepts the following input properties:
- Namespace
Name string - The namespace name
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Topic
Name string - The topic name.
- Auto
Delete stringOn Idle - ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- Client
Affine Pulumi.Properties Azure Native. Service Bus. Inputs. SBClient Affine Properties - Properties specific to client affine subscriptions.
- Dead
Lettering boolOn Filter Evaluation Exceptions - Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
- Dead
Lettering boolOn Message Expiration - Value that indicates whether a subscription has dead letter support when a message expires.
- Default
Message stringTime To Live - ISO 8061 Default message timespan to live value. 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.
- Duplicate
Detection stringHistory Time Window - ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- Enable
Batched boolOperations - Value that indicates whether server-side batched operations are enabled.
- Forward
Dead stringLettered Messages To - Queue/Topic name to forward the Dead Letter message
- Forward
To string - Queue/Topic name to forward the messages
- Is
Client boolAffine - Value that indicates whether the subscription has an affinity to the client id.
- Lock
Duration string - ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
- Max
Delivery intCount - Number of maximum deliveries.
- Requires
Session bool - Value indicating if a subscription supports the concept of sessions.
- Status
Pulumi.
Azure Native. Service Bus. Entity Status - Enumerates the possible values for the status of a messaging entity.
- Subscription
Name string - The subscription name.
- Namespace
Name string - The namespace name
- Resource
Group stringName - Name of the Resource group within the Azure subscription.
- Topic
Name string - The topic name.
- Auto
Delete stringOn Idle - ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- Client
Affine SBClientProperties Affine Properties Args - Properties specific to client affine subscriptions.
- Dead
Lettering boolOn Filter Evaluation Exceptions - Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
- Dead
Lettering boolOn Message Expiration - Value that indicates whether a subscription has dead letter support when a message expires.
- Default
Message stringTime To Live - ISO 8061 Default message timespan to live value. 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.
- Duplicate
Detection stringHistory Time Window - ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- Enable
Batched boolOperations - Value that indicates whether server-side batched operations are enabled.
- Forward
Dead stringLettered Messages To - Queue/Topic name to forward the Dead Letter message
- Forward
To string - Queue/Topic name to forward the messages
- Is
Client boolAffine - Value that indicates whether the subscription has an affinity to the client id.
- Lock
Duration string - ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
- Max
Delivery intCount - Number of maximum deliveries.
- Requires
Session bool - Value indicating if a subscription supports the concept of sessions.
- Status
Entity
Status - Enumerates the possible values for the status of a messaging entity.
- Subscription
Name string - The subscription name.
- namespace
Name String - The namespace name
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- topic
Name String - The topic name.
- auto
Delete StringOn Idle - ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- client
Affine SBClientProperties Affine Properties - Properties specific to client affine subscriptions.
- dead
Lettering BooleanOn Filter Evaluation Exceptions - Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
- dead
Lettering BooleanOn Message Expiration - Value that indicates whether a subscription has dead letter support when a message expires.
- default
Message StringTime To Live - ISO 8061 Default message timespan to live value. 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.
- duplicate
Detection StringHistory Time Window - ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable
Batched BooleanOperations - Value that indicates whether server-side batched operations are enabled.
- forward
Dead StringLettered Messages To - Queue/Topic name to forward the Dead Letter message
- forward
To String - Queue/Topic name to forward the messages
- is
Client BooleanAffine - Value that indicates whether the subscription has an affinity to the client id.
- lock
Duration String - ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
- max
Delivery IntegerCount - Number of maximum deliveries.
- requires
Session Boolean - Value indicating if a subscription supports the concept of sessions.
- status
Entity
Status - Enumerates the possible values for the status of a messaging entity.
- subscription
Name String - The subscription name.
- namespace
Name string - The namespace name
- resource
Group stringName - Name of the Resource group within the Azure subscription.
- topic
Name string - The topic name.
- auto
Delete stringOn Idle - ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- client
Affine SBClientProperties Affine Properties - Properties specific to client affine subscriptions.
- dead
Lettering booleanOn Filter Evaluation Exceptions - Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
- dead
Lettering booleanOn Message Expiration - Value that indicates whether a subscription has dead letter support when a message expires.
- default
Message stringTime To Live - ISO 8061 Default message timespan to live value. 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.
- duplicate
Detection stringHistory Time Window - ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable
Batched booleanOperations - Value that indicates whether server-side batched operations are enabled.
- forward
Dead stringLettered Messages To - Queue/Topic name to forward the Dead Letter message
- forward
To string - Queue/Topic name to forward the messages
- is
Client booleanAffine - Value that indicates whether the subscription has an affinity to the client id.
- lock
Duration string - ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
- max
Delivery numberCount - Number of maximum deliveries.
- requires
Session boolean - Value indicating if a subscription supports the concept of sessions.
- status
Entity
Status - Enumerates the possible values for the status of a messaging entity.
- subscription
Name string - The subscription name.
- namespace_
name str - The namespace name
- resource_
group_ strname - Name of the Resource group within the Azure subscription.
- topic_
name str - The topic name.
- auto_
delete_ stron_ idle - ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- client_
affine_ SBClientproperties Affine Properties Args - Properties specific to client affine subscriptions.
- dead_
lettering_ boolon_ filter_ evaluation_ exceptions - Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
- dead_
lettering_ boolon_ message_ expiration - Value that indicates whether a subscription has dead letter support when a message expires.
- default_
message_ strtime_ to_ live - ISO 8061 Default message timespan to live value. 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.
- duplicate_
detection_ strhistory_ time_ window - ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable_
batched_ booloperations - Value that indicates whether server-side batched operations are enabled.
- forward_
dead_ strlettered_ messages_ to - Queue/Topic name to forward the Dead Letter message
- forward_
to str - Queue/Topic name to forward the messages
- is_
client_ boolaffine - Value that indicates whether the subscription has an affinity to the client id.
- lock_
duration str - ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
- max_
delivery_ intcount - Number of maximum deliveries.
- requires_
session bool - Value indicating if a subscription supports the concept of sessions.
- status
Entity
Status - Enumerates the possible values for the status of a messaging entity.
- subscription_
name str - The subscription name.
- namespace
Name String - The namespace name
- resource
Group StringName - Name of the Resource group within the Azure subscription.
- topic
Name String - The topic name.
- auto
Delete StringOn Idle - ISO 8061 timeSpan idle interval after which the topic is automatically deleted. The minimum duration is 5 minutes.
- client
Affine Property MapProperties - Properties specific to client affine subscriptions.
- dead
Lettering BooleanOn Filter Evaluation Exceptions - Value that indicates whether a subscription has dead letter support on filter evaluation exceptions.
- dead
Lettering BooleanOn Message Expiration - Value that indicates whether a subscription has dead letter support when a message expires.
- default
Message StringTime To Live - ISO 8061 Default message timespan to live value. 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.
- duplicate
Detection StringHistory Time Window - ISO 8601 timeSpan structure that defines the duration of the duplicate detection history. The default value is 10 minutes.
- enable
Batched BooleanOperations - Value that indicates whether server-side batched operations are enabled.
- forward
Dead StringLettered Messages To - Queue/Topic name to forward the Dead Letter message
- forward
To String - Queue/Topic name to forward the messages
- is
Client BooleanAffine - Value that indicates whether the subscription has an affinity to the client id.
- lock
Duration String - ISO 8061 lock duration timespan for the subscription. The default value is 1 minute.
- max
Delivery NumberCount - Number of maximum deliveries.
- requires
Session Boolean - Value indicating if a subscription supports the concept of sessions.
- status
"Active" | "Disabled" | "Restoring" | "Send
Disabled" | "Receive Disabled" | "Creating" | "Deleting" | "Renaming" | "Unknown" - Enumerates the possible values for the status of a messaging entity.
- subscription
Name String - The subscription name.
Outputs
All input properties are implicitly available as output properties. Additionally, the Subscription resource produces the following output properties:
- Accessed
At string - Last time there was a receive request to this subscription.
- Count
Details Pulumi.Azure Native. Service Bus. Outputs. Message Count Details Response - Message count details
- Created
At string - Exact time the message was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Message
Count double - Number of messages.
- Name string
- The name of the resource
- System
Data Pulumi.Azure Native. Service Bus. Outputs. System Data Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Updated
At string - The exact time the message was updated.
- Accessed
At string - Last time there was a receive request to this subscription.
- Count
Details MessageCount Details Response - Message count details
- Created
At string - Exact time the message was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The geo-location where the resource lives
- Message
Count float64 - Number of messages.
- Name string
- The name of the resource
- System
Data SystemData Response - The system meta data relating to this resource.
- Type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- Updated
At string - The exact time the message was updated.
- accessed
At String - Last time there was a receive request to this subscription.
- count
Details MessageCount Details Response - Message count details
- created
At String - Exact time the message was created.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- message
Count Double - Number of messages.
- name String
- The name of the resource
- system
Data SystemData Response - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At String - The exact time the message was updated.
- accessed
At string - Last time there was a receive request to this subscription.
- count
Details MessageCount Details Response - Message count details
- created
At string - Exact time the message was created.
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The geo-location where the resource lives
- message
Count number - Number of messages.
- name string
- The name of the resource
- system
Data SystemData Response - The system meta data relating to this resource.
- type string
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At string - The exact time the message was updated.
- accessed_
at str - Last time there was a receive request to this subscription.
- count_
details MessageCount Details Response - Message count details
- created_
at str - Exact time the message was created.
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The geo-location where the resource lives
- message_
count float - Number of messages.
- name str
- The name of the resource
- system_
data SystemData Response - The system meta data relating to this resource.
- type str
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated_
at str - The exact time the message was updated.
- accessed
At String - Last time there was a receive request to this subscription.
- count
Details Property Map - Message count details
- created
At String - Exact time the message was created.
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The geo-location where the resource lives
- message
Count Number - Number of messages.
- name String
- The name of the resource
- system
Data Property Map - The system meta data relating to this resource.
- type String
- The type of the resource. E.g. "Microsoft.EventHub/Namespaces" or "Microsoft.EventHub/Namespaces/EventHubs"
- updated
At String - The exact time the message was updated.
Supporting Types
EntityStatus, EntityStatusArgs
- Active
- Active
- Disabled
- Disabled
- Restoring
- Restoring
- Send
Disabled - SendDisabled
- Receive
Disabled - ReceiveDisabled
- Creating
- Creating
- Deleting
- Deleting
- Renaming
- Renaming
- Unknown
- Unknown
- Entity
Status Active - Active
- Entity
Status Disabled - Disabled
- Entity
Status Restoring - Restoring
- Entity
Status Send Disabled - SendDisabled
- Entity
Status Receive Disabled - ReceiveDisabled
- Entity
Status Creating - Creating
- Entity
Status Deleting - Deleting
- Entity
Status Renaming - Renaming
- Entity
Status Unknown - Unknown
- Active
- Active
- Disabled
- Disabled
- Restoring
- Restoring
- Send
Disabled - SendDisabled
- Receive
Disabled - ReceiveDisabled
- Creating
- Creating
- Deleting
- Deleting
- Renaming
- Renaming
- Unknown
- Unknown
- Active
- Active
- Disabled
- Disabled
- Restoring
- Restoring
- Send
Disabled - SendDisabled
- Receive
Disabled - ReceiveDisabled
- Creating
- Creating
- Deleting
- Deleting
- Renaming
- Renaming
- Unknown
- Unknown
- ACTIVE
- Active
- DISABLED
- Disabled
- RESTORING
- Restoring
- SEND_DISABLED
- SendDisabled
- RECEIVE_DISABLED
- ReceiveDisabled
- CREATING
- Creating
- DELETING
- Deleting
- RENAMING
- Renaming
- UNKNOWN
- Unknown
- "Active"
- Active
- "Disabled"
- Disabled
- "Restoring"
- Restoring
- "Send
Disabled" - SendDisabled
- "Receive
Disabled" - ReceiveDisabled
- "Creating"
- Creating
- "Deleting"
- Deleting
- "Renaming"
- Renaming
- "Unknown"
- Unknown
MessageCountDetailsResponse, MessageCountDetailsResponseArgs
- Active
Message doubleCount - Number of active messages in the queue, topic, or subscription.
- Dead
Letter doubleMessage Count - Number of messages that are dead lettered.
- Scheduled
Message doubleCount - Number of scheduled messages.
- Transfer
Dead doubleLetter Message Count - Number of messages transferred into dead letters.
- Transfer
Message doubleCount - Number of messages transferred to another queue, topic, or subscription.
- Active
Message float64Count - Number of active messages in the queue, topic, or subscription.
- Dead
Letter float64Message Count - Number of messages that are dead lettered.
- Scheduled
Message float64Count - Number of scheduled messages.
- Transfer
Dead float64Letter Message Count - Number of messages transferred into dead letters.
- Transfer
Message float64Count - Number of messages transferred to another queue, topic, or subscription.
- active
Message DoubleCount - Number of active messages in the queue, topic, or subscription.
- dead
Letter DoubleMessage Count - Number of messages that are dead lettered.
- scheduled
Message DoubleCount - Number of scheduled messages.
- transfer
Dead DoubleLetter Message Count - Number of messages transferred into dead letters.
- transfer
Message DoubleCount - Number of messages transferred to another queue, topic, or subscription.
- active
Message numberCount - Number of active messages in the queue, topic, or subscription.
- dead
Letter numberMessage Count - Number of messages that are dead lettered.
- scheduled
Message numberCount - Number of scheduled messages.
- transfer
Dead numberLetter Message Count - Number of messages transferred into dead letters.
- transfer
Message numberCount - Number of messages transferred to another queue, topic, or subscription.
- active_
message_ floatcount - Number of active messages in the queue, topic, or subscription.
- dead_
letter_ floatmessage_ count - Number of messages that are dead lettered.
- scheduled_
message_ floatcount - Number of scheduled messages.
- transfer_
dead_ floatletter_ message_ count - Number of messages transferred into dead letters.
- transfer_
message_ floatcount - Number of messages transferred to another queue, topic, or subscription.
- active
Message NumberCount - Number of active messages in the queue, topic, or subscription.
- dead
Letter NumberMessage Count - Number of messages that are dead lettered.
- scheduled
Message NumberCount - Number of scheduled messages.
- transfer
Dead NumberLetter Message Count - Number of messages transferred into dead letters.
- transfer
Message NumberCount - Number of messages transferred to another queue, topic, or subscription.
SBClientAffineProperties, SBClientAffinePropertiesArgs
- Client
Id string - Indicates the Client ID of the application that created the client-affine subscription.
- Is
Durable bool - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- bool
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- Client
Id string - Indicates the Client ID of the application that created the client-affine subscription.
- Is
Durable bool - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- bool
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- client
Id String - Indicates the Client ID of the application that created the client-affine subscription.
- is
Durable Boolean - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- Boolean
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- client
Id string - Indicates the Client ID of the application that created the client-affine subscription.
- is
Durable boolean - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- boolean
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- client_
id str - Indicates the Client ID of the application that created the client-affine subscription.
- is_
durable bool - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- bool
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- client
Id String - Indicates the Client ID of the application that created the client-affine subscription.
- is
Durable Boolean - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- Boolean
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
SBClientAffinePropertiesResponse, SBClientAffinePropertiesResponseArgs
- Client
Id string - Indicates the Client ID of the application that created the client-affine subscription.
- Is
Durable bool - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- bool
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- Client
Id string - Indicates the Client ID of the application that created the client-affine subscription.
- Is
Durable bool - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- bool
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- client
Id String - Indicates the Client ID of the application that created the client-affine subscription.
- is
Durable Boolean - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- Boolean
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- client
Id string - Indicates the Client ID of the application that created the client-affine subscription.
- is
Durable boolean - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- boolean
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- client_
id str - Indicates the Client ID of the application that created the client-affine subscription.
- is_
durable bool - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- bool
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
- client
Id String - Indicates the Client ID of the application that created the client-affine subscription.
- is
Durable Boolean - For client-affine subscriptions, this value indicates whether the subscription is durable or not.
- Boolean
- For client-affine subscriptions, this value indicates whether the subscription is shared or not.
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The type of identity that last modified the resource.
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The type of identity that last modified the resource.
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The type of identity that last modified the resource.
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The type of identity that last modified the resource.
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:servicebus:Subscription sdk-Subscriptions-2178 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ServiceBus/namespaces/{namespaceName}/topics/{topicName}/subscriptions/{subscriptionName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0