Share via


ArmEventGridModelFactory.TopicSpaceData Method

Definition

Initializes a new instance of TopicSpaceData.

public static Azure.ResourceManager.EventGrid.TopicSpaceData TopicSpaceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, System.Collections.Generic.IEnumerable<string> topicTemplates = default, Azure.ResourceManager.EventGrid.Models.TopicSpaceProvisioningState? provisioningState = default);
static member TopicSpaceData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * seq<string> * Nullable<Azure.ResourceManager.EventGrid.Models.TopicSpaceProvisioningState> -> Azure.ResourceManager.EventGrid.TopicSpaceData
Public Shared Function TopicSpaceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional topicTemplates As IEnumerable(Of String) = Nothing, Optional provisioningState As Nullable(Of TopicSpaceProvisioningState) = Nothing) As TopicSpaceData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Description for the Topic Space resource.

topicTemplates
IEnumerable<String>

The topic filters in the topic space. Example: "topicTemplates": [ "devices/foo/bar", "devices/topic1/+", "devices/${principal.name}/${principal.attributes.keyName}" ].

provisioningState
Nullable<TopicSpaceProvisioningState>

Provisioning state of the TopicSpace resource.

Returns

A new TopicSpaceData instance for mocking.

Applies to