azure-native.servicebus.Subscription
Explore with Pulumi AI
Description of subscription resource. API Version: 2017-04-01.
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"
"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,
duplicate_detection_history_time_window: Optional[str] = None,
auto_delete_on_idle: Optional[str] = None,
enable_batched_operations: Optional[bool] = None,
forward_dead_lettered_messages_to: Optional[str] = None,
forward_to: Optional[str] = None,
lock_duration: Optional[str] = None,
max_delivery_count: Optional[int] = None,
default_message_time_to_live: Optional[str] = None,
requires_session: Optional[bool] = None,
dead_lettering_on_message_expiration: Optional[bool] = None,
status: Optional[EntityStatus] = None,
subscription_name: Optional[str] = None,
dead_lettering_on_filter_evaluation_exceptions: Optional[bool] = 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",
DuplicateDetectionHistoryTimeWindow = "string",
AutoDeleteOnIdle = "string",
EnableBatchedOperations = false,
ForwardDeadLetteredMessagesTo = "string",
ForwardTo = "string",
LockDuration = "string",
MaxDeliveryCount = 0,
DefaultMessageTimeToLive = "string",
RequiresSession = false,
DeadLetteringOnMessageExpiration = false,
Status = "Active",
SubscriptionName = "string",
DeadLetteringOnFilterEvaluationExceptions = false,
});
example, err := servicebus.NewSubscription(ctx, "azure-nativeSubscriptionResource", &servicebus.SubscriptionArgs{
NamespaceName: "string",
TopicName: "string",
ResourceGroupName: "string",
DuplicateDetectionHistoryTimeWindow: "string",
AutoDeleteOnIdle: "string",
EnableBatchedOperations: false,
ForwardDeadLetteredMessagesTo: "string",
ForwardTo: "string",
LockDuration: "string",
MaxDeliveryCount: 0,
DefaultMessageTimeToLive: "string",
RequiresSession: false,
DeadLetteringOnMessageExpiration: false,
Status: "Active",
SubscriptionName: "string",
DeadLetteringOnFilterEvaluationExceptions: false,
})
var azure_nativeSubscriptionResource = new Subscription("azure-nativeSubscriptionResource", SubscriptionArgs.builder()
.namespaceName("string")
.topicName("string")
.resourceGroupName("string")
.duplicateDetectionHistoryTimeWindow("string")
.autoDeleteOnIdle("string")
.enableBatchedOperations(false)
.forwardDeadLetteredMessagesTo("string")
.forwardTo("string")
.lockDuration("string")
.maxDeliveryCount(0)
.defaultMessageTimeToLive("string")
.requiresSession(false)
.deadLetteringOnMessageExpiration(false)
.status("Active")
.subscriptionName("string")
.deadLetteringOnFilterEvaluationExceptions(false)
.build());
azure_native_subscription_resource = azure_native.servicebus.Subscription("azure-nativeSubscriptionResource",
namespace_name=string,
topic_name=string,
resource_group_name=string,
duplicate_detection_history_time_window=string,
auto_delete_on_idle=string,
enable_batched_operations=False,
forward_dead_lettered_messages_to=string,
forward_to=string,
lock_duration=string,
max_delivery_count=0,
default_message_time_to_live=string,
requires_session=False,
dead_lettering_on_message_expiration=False,
status=Active,
subscription_name=string,
dead_lettering_on_filter_evaluation_exceptions=False)
const azure_nativeSubscriptionResource = new azure_native.servicebus.Subscription("azure-nativeSubscriptionResource", {
namespaceName: "string",
topicName: "string",
resourceGroupName: "string",
duplicateDetectionHistoryTimeWindow: "string",
autoDeleteOnIdle: "string",
enableBatchedOperations: false,
forwardDeadLetteredMessagesTo: "string",
forwardTo: "string",
lockDuration: "string",
maxDeliveryCount: 0,
defaultMessageTimeToLive: "string",
requiresSession: false,
deadLetteringOnMessageExpiration: false,
status: "Active",
subscriptionName: "string",
deadLetteringOnFilterEvaluationExceptions: false,
});
type: azure-native:servicebus:Subscription
properties:
autoDeleteOnIdle: string
deadLetteringOnFilterEvaluationExceptions: false
deadLetteringOnMessageExpiration: false
defaultMessageTimeToLive: string
duplicateDetectionHistoryTimeWindow: string
enableBatchedOperations: false
forwardDeadLetteredMessagesTo: string
forwardTo: string
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.
- 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
- 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.
- 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
- 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.
- 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
- 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.
- 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
- 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.
- 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
- 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.
- 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
- 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.
- Message
Count double - Number of messages.
- Name string
- Resource name
- Type string
- Resource type
- 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.
- Message
Count float64 - Number of messages.
- Name string
- Resource name
- Type string
- Resource type
- 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.
- message
Count Double - Number of messages.
- name String
- Resource name
- type String
- Resource type
- 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.
- message
Count number - Number of messages.
- name string
- Resource name
- type string
- Resource type
- 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.
- message_
count float - Number of messages.
- name str
- Resource name
- type str
- Resource type
- 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.
- message
Count Number - Number of messages.
- name String
- Resource name
- type String
- Resource type
- 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.
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/ResourceGroup/providers/Microsoft.ServiceBus/namespaces/sdk-Namespace-1349/topics/sdk-Topics-8740/subscriptions/sdk-Subscriptions-2178
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0