This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.app.getDaprSubscription
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Dapr PubSub Event Subscription. Azure REST API version: 2023-08-01-preview.
Other available API versions: 2023-11-02-preview, 2024-02-02-preview, 2024-08-02-preview, 2024-10-02-preview.
Using getDaprSubscription
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getDaprSubscription(args: GetDaprSubscriptionArgs, opts?: InvokeOptions): Promise<GetDaprSubscriptionResult>
function getDaprSubscriptionOutput(args: GetDaprSubscriptionOutputArgs, opts?: InvokeOptions): Output<GetDaprSubscriptionResult>def get_dapr_subscription(environment_name: Optional[str] = None,
                          name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetDaprSubscriptionResult
def get_dapr_subscription_output(environment_name: Optional[pulumi.Input[str]] = None,
                          name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetDaprSubscriptionResult]func LookupDaprSubscription(ctx *Context, args *LookupDaprSubscriptionArgs, opts ...InvokeOption) (*LookupDaprSubscriptionResult, error)
func LookupDaprSubscriptionOutput(ctx *Context, args *LookupDaprSubscriptionOutputArgs, opts ...InvokeOption) LookupDaprSubscriptionResultOutput> Note: This function is named LookupDaprSubscription in the Go SDK.
public static class GetDaprSubscription 
{
    public static Task<GetDaprSubscriptionResult> InvokeAsync(GetDaprSubscriptionArgs args, InvokeOptions? opts = null)
    public static Output<GetDaprSubscriptionResult> Invoke(GetDaprSubscriptionInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDaprSubscriptionResult> getDaprSubscription(GetDaprSubscriptionArgs args, InvokeOptions options)
public static Output<GetDaprSubscriptionResult> getDaprSubscription(GetDaprSubscriptionArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:app:getDaprSubscription
  arguments:
    # arguments dictionaryThe following arguments are supported:
- EnvironmentName string
- Name of the Managed Environment.
- Name string
- Name of the Dapr subscription.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- EnvironmentName string
- Name of the Managed Environment.
- Name string
- Name of the Dapr subscription.
- ResourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- environmentName String
- Name of the Managed Environment.
- name String
- Name of the Dapr subscription.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
- environmentName string
- Name of the Managed Environment.
- name string
- Name of the Dapr subscription.
- resourceGroup stringName 
- The name of the resource group. The name is case insensitive.
- environment_name str
- Name of the Managed Environment.
- name str
- Name of the Dapr subscription.
- resource_group_ strname 
- The name of the resource group. The name is case insensitive.
- environmentName String
- Name of the Managed Environment.
- name String
- Name of the Dapr subscription.
- resourceGroup StringName 
- The name of the resource group. The name is case insensitive.
getDaprSubscription Result
The following output properties are available:
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- SystemData Pulumi.Azure Native. App. Outputs. System Data Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- BulkSubscribe Pulumi.Azure Native. App. Outputs. Dapr Subscription Bulk Subscribe Options Response 
- Bulk subscription options
- DeadLetter stringTopic 
- Deadletter topic name
- Metadata Dictionary<string, string>
- Subscription metadata
- PubsubName string
- Dapr PubSub component name
- Routes
Pulumi.Azure Native. App. Outputs. Dapr Subscription Routes Response 
- Subscription routes
- Scopes List<string>
- Application scopes to restrict the subscription to specific apps.
- Topic string
- Topic name
- Id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Name string
- The name of the resource
- SystemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- Type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- BulkSubscribe DaprSubscription Bulk Subscribe Options Response 
- Bulk subscription options
- DeadLetter stringTopic 
- Deadletter topic name
- Metadata map[string]string
- Subscription metadata
- PubsubName string
- Dapr PubSub component name
- Routes
DaprSubscription Routes Response 
- Subscription routes
- Scopes []string
- Application scopes to restrict the subscription to specific apps.
- Topic string
- Topic name
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- bulkSubscribe DaprSubscription Bulk Subscribe Options Response 
- Bulk subscription options
- deadLetter StringTopic 
- Deadletter topic name
- metadata Map<String,String>
- Subscription metadata
- pubsubName String
- Dapr PubSub component name
- routes
DaprSubscription Routes Response 
- Subscription routes
- scopes List<String>
- Application scopes to restrict the subscription to specific apps.
- topic String
- Topic name
- id string
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name string
- The name of the resource
- systemData SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type string
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- bulkSubscribe DaprSubscription Bulk Subscribe Options Response 
- Bulk subscription options
- deadLetter stringTopic 
- Deadletter topic name
- metadata {[key: string]: string}
- Subscription metadata
- pubsubName string
- Dapr PubSub component name
- routes
DaprSubscription Routes Response 
- Subscription routes
- scopes string[]
- Application scopes to restrict the subscription to specific apps.
- topic string
- Topic name
- id str
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name str
- The name of the resource
- system_data SystemData Response 
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type str
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- bulk_subscribe DaprSubscription Bulk Subscribe Options Response 
- Bulk subscription options
- dead_letter_ strtopic 
- Deadletter topic name
- metadata Mapping[str, str]
- Subscription metadata
- pubsub_name str
- Dapr PubSub component name
- routes
DaprSubscription Routes Response 
- Subscription routes
- scopes Sequence[str]
- Application scopes to restrict the subscription to specific apps.
- topic str
- Topic name
- id String
- Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name String
- The name of the resource
- systemData Property Map
- Azure Resource Manager metadata containing createdBy and modifiedBy information.
- type String
- The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- bulkSubscribe Property Map
- Bulk subscription options
- deadLetter StringTopic 
- Deadletter topic name
- metadata Map<String>
- Subscription metadata
- pubsubName String
- Dapr PubSub component name
- routes Property Map
- Subscription routes
- scopes List<String>
- Application scopes to restrict the subscription to specific apps.
- topic String
- Topic name
Supporting Types
DaprSubscriptionBulkSubscribeOptionsResponse     
- Enabled bool
- Enable bulk subscription
- MaxAwait intDuration Ms 
- Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- MaxMessages intCount 
- Maximum number of messages to deliver in a bulk message.
- Enabled bool
- Enable bulk subscription
- MaxAwait intDuration Ms 
- Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- MaxMessages intCount 
- Maximum number of messages to deliver in a bulk message.
- enabled Boolean
- Enable bulk subscription
- maxAwait IntegerDuration Ms 
- Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- maxMessages IntegerCount 
- Maximum number of messages to deliver in a bulk message.
- enabled boolean
- Enable bulk subscription
- maxAwait numberDuration Ms 
- Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- maxMessages numberCount 
- Maximum number of messages to deliver in a bulk message.
- enabled bool
- Enable bulk subscription
- max_await_ intduration_ ms 
- Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- max_messages_ intcount 
- Maximum number of messages to deliver in a bulk message.
- enabled Boolean
- Enable bulk subscription
- maxAwait NumberDuration Ms 
- Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- maxMessages NumberCount 
- Maximum number of messages to deliver in a bulk message.
DaprSubscriptionRouteRuleResponse    
- Match string
- The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
- Path string
- The path for events that match this rule
- Match string
- The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
- Path string
- The path for events that match this rule
- match String
- The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
- path String
- The path for events that match this rule
- match string
- The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
- path string
- The path for events that match this rule
- match str
- The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
- path str
- The path for events that match this rule
- match String
- The optional CEL expression used to match the event. If the match is not specified, then the route is considered the default. The rules are tested in the order specified, so they should be define from most-to-least specific. The default route should appear last in the list.
- path String
- The path for events that match this rule
DaprSubscriptionRoutesResponse   
- Default string
- The default path to deliver events that do not match any of the rules.
- Rules
List<Pulumi.Azure Native. App. Inputs. Dapr Subscription Route Rule Response> 
- The list of Dapr PubSub Event Subscription Route Rules.
- Default string
- The default path to deliver events that do not match any of the rules.
- Rules
[]DaprSubscription Route Rule Response 
- The list of Dapr PubSub Event Subscription Route Rules.
- default_ String
- The default path to deliver events that do not match any of the rules.
- rules
List<DaprSubscription Route Rule Response> 
- The list of Dapr PubSub Event Subscription Route Rules.
- default string
- The default path to deliver events that do not match any of the rules.
- rules
DaprSubscription Route Rule Response[] 
- The list of Dapr PubSub Event Subscription Route Rules.
- default str
- The default path to deliver events that do not match any of the rules.
- rules
Sequence[DaprSubscription Route Rule Response] 
- The list of Dapr PubSub Event Subscription Route Rules.
- default String
- The default path to deliver events that do not match any of the rules.
- rules List<Property Map>
- The list of Dapr PubSub Event Subscription Route Rules.
SystemDataResponse  
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- CreatedAt string
- The timestamp of resource creation (UTC).
- CreatedBy string
- The identity that created the resource.
- CreatedBy stringType 
- The type of identity that created the resource.
- LastModified stringAt 
- The timestamp of resource last modification (UTC)
- LastModified stringBy 
- The identity that last modified the resource.
- LastModified stringBy Type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
- createdAt string
- The timestamp of resource creation (UTC).
- createdBy string
- The identity that created the resource.
- createdBy stringType 
- The type of identity that created the resource.
- lastModified stringAt 
- The timestamp of resource last modification (UTC)
- lastModified stringBy 
- The identity that last modified the resource.
- lastModified 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 timestamp of resource last modification (UTC)
- last_modified_ strby 
- The identity that last modified the resource.
- last_modified_ strby_ type 
- The type of identity that last modified the resource.
- createdAt String
- The timestamp of resource creation (UTC).
- createdBy String
- The identity that created the resource.
- createdBy StringType 
- The type of identity that created the resource.
- lastModified StringAt 
- The timestamp of resource last modification (UTC)
- lastModified StringBy 
- The identity that last modified the resource.
- lastModified StringBy Type 
- The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi