ArmAppContainersModelFactory.DaprSubscriptionData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.AppContainers.DaprSubscriptionData DaprSubscriptionData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string pubsubName = default, string topic = default, string deadLetterTopic = default, Azure.ResourceManager.AppContainers.Models.DaprSubscriptionRoutes routes = default, System.Collections.Generic.IEnumerable<string> scopes = default, System.Collections.Generic.IDictionary<string,string> metadata = default, Azure.ResourceManager.AppContainers.Models.DaprSubscriptionBulkSubscribeConfig bulkSubscribe = default);
static member DaprSubscriptionData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * string * Azure.ResourceManager.AppContainers.Models.DaprSubscriptionRoutes * seq<string> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.AppContainers.Models.DaprSubscriptionBulkSubscribeConfig -> Azure.ResourceManager.AppContainers.DaprSubscriptionData
Public Shared Function DaprSubscriptionData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional pubsubName As String = Nothing, Optional topic As String = Nothing, Optional deadLetterTopic As String = Nothing, Optional routes As DaprSubscriptionRoutes = Nothing, Optional scopes As IEnumerable(Of String) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional bulkSubscribe As DaprSubscriptionBulkSubscribeConfig = Nothing) As DaprSubscriptionData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- pubsubName
- String
Dapr PubSub component name.
- topic
- String
Topic name.
- deadLetterTopic
- String
Deadletter topic name.
- routes
- DaprSubscriptionRoutes
Subscription routes.
- scopes
- IEnumerable<String>
Application scopes to restrict the subscription to specific apps.
- metadata
- IDictionary<String,String>
Subscription metadata.
- bulkSubscribe
- DaprSubscriptionBulkSubscribeConfig
Bulk subscription options.
Returns
A new DaprSubscriptionData instance for mocking.