Dela via


ArmEventGridModelFactory.EventGridNamespaceClientData Method

Definition

Initializes a new instance of EventGridNamespaceClientData.

public static Azure.ResourceManager.EventGrid.EventGridNamespaceClientData EventGridNamespaceClientData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string authenticationName = default, Azure.ResourceManager.EventGrid.Models.ClientCertificateAuthentication clientCertificateAuthentication = default, Azure.ResourceManager.EventGrid.Models.EventGridNamespaceClientState? state = default, System.Collections.Generic.IDictionary<string,BinaryData> attributes = default, Azure.ResourceManager.EventGrid.Models.EventGridNamespaceClientProvisioningState? provisioningState = default);
static member EventGridNamespaceClientData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Azure.ResourceManager.EventGrid.Models.ClientCertificateAuthentication * Nullable<Azure.ResourceManager.EventGrid.Models.EventGridNamespaceClientState> * System.Collections.Generic.IDictionary<string, BinaryData> * Nullable<Azure.ResourceManager.EventGrid.Models.EventGridNamespaceClientProvisioningState> -> Azure.ResourceManager.EventGrid.EventGridNamespaceClientData
Public Shared Function EventGridNamespaceClientData (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 authenticationName As String = Nothing, Optional clientCertificateAuthentication As ClientCertificateAuthentication = Nothing, Optional state As Nullable(Of EventGridNamespaceClientState) = Nothing, Optional attributes As IDictionary(Of String, BinaryData) = Nothing, Optional provisioningState As Nullable(Of EventGridNamespaceClientProvisioningState) = Nothing) As EventGridNamespaceClientData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

Description for the Client resource.

authenticationName
String

The name presented by the client for authentication. The default value is the name of the resource.

clientCertificateAuthentication
ClientCertificateAuthentication

The client certificate authentication information.

state
Nullable<EventGridNamespaceClientState>

Indicates if the client is enabled or not. Default value is Enabled.

attributes
IDictionary<String,BinaryData>

Attributes for the client. Supported values are int, bool, string, string[]. Example: "attributes": { "room": "345", "floor": 12, "deviceTypes": ["Fan", "Light"] }

provisioningState
Nullable<EventGridNamespaceClientProvisioningState>

Provisioning state of the Client resource.

Returns

A new EventGridNamespaceClientData instance for mocking.

Applies to