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.63.0 published on Tuesday, Sep 24, 2024 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.63.0 published on Tuesday, Sep 24, 2024 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.
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)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:app:getDaprSubscription
arguments:
# arguments dictionary
The following arguments are supported:
- Environment
Name string - Name of the Managed Environment.
- Name string
- Name of the Dapr subscription.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Environment
Name string - Name of the Managed Environment.
- Name string
- Name of the Dapr subscription.
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- environment
Name String - Name of the Managed Environment.
- name String
- Name of the Dapr subscription.
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- environment
Name string - Name of the Managed Environment.
- name string
- Name of the Dapr subscription.
- resource
Group 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.
- environment
Name String - Name of the Managed Environment.
- name String
- Name of the Dapr subscription.
- resource
Group 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
- System
Data 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"
- Bulk
Subscribe Pulumi.Azure Native. App. Outputs. Dapr Subscription Bulk Subscribe Options Response - Bulk subscription options
- Dead
Letter stringTopic - Deadletter topic name
- Metadata Dictionary<string, string>
- Subscription metadata
- Pubsub
Name 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
- System
Data 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"
- Bulk
Subscribe DaprSubscription Bulk Subscribe Options Response - Bulk subscription options
- Dead
Letter stringTopic - Deadletter topic name
- Metadata map[string]string
- Subscription metadata
- Pubsub
Name string - Dapr PubSub component name
- Routes
Dapr
Subscription 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
- system
Data 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"
- bulk
Subscribe DaprSubscription Bulk Subscribe Options Response - Bulk subscription options
- dead
Letter StringTopic - Deadletter topic name
- metadata Map<String,String>
- Subscription metadata
- pubsub
Name String - Dapr PubSub component name
- routes
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
- system
Data 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"
- bulk
Subscribe DaprSubscription Bulk Subscribe Options Response - Bulk subscription options
- dead
Letter stringTopic - Deadletter topic name
- metadata {[key: string]: string}
- Subscription metadata
- pubsub
Name string - Dapr PubSub component name
- routes
Dapr
Subscription 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
Dapr
Subscription 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
- system
Data 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"
- bulk
Subscribe Property Map - Bulk subscription options
- dead
Letter StringTopic - Deadletter topic name
- metadata Map<String>
- Subscription metadata
- pubsub
Name 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
- 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 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
- max
Await IntegerDuration Ms - Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- max
Messages IntegerCount - Maximum number of messages to deliver in a bulk message.
- enabled boolean
- Enable bulk subscription
- max
Await numberDuration Ms - Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- max
Messages 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
- max
Await NumberDuration Ms - Maximum duration in milliseconds to wait before a bulk message is sent to the app.
- max
Messages 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
[]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
List<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
Dapr
Subscription 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[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 List<Property Map>
- The list of Dapr PubSub Event Subscription Route Rules.
SystemDataResponse
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 timestamp of resource last modification (UTC)
- 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 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.
- 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 timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified 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.63.0 published on Tuesday, Sep 24, 2024 by Pulumi