Udostępnij za pośrednictwem


ArmEventGridModelFactory.NamespaceSharedAccessKeys(String, String) Method

Definition

Initializes a new instance of NamespaceSharedAccessKeys.

public static Azure.ResourceManager.EventGrid.Models.NamespaceSharedAccessKeys NamespaceSharedAccessKeys (string key1 = default, string key2 = default);
static member NamespaceSharedAccessKeys : string * string -> Azure.ResourceManager.EventGrid.Models.NamespaceSharedAccessKeys
Public Shared Function NamespaceSharedAccessKeys (Optional key1 As String = Nothing, Optional key2 As String = Nothing) As NamespaceSharedAccessKeys

Parameters

key1
String

Shared access key1 for the namespace.

key2
String

Shared access key2 for the namespace.

Returns

A new NamespaceSharedAccessKeys instance for mocking.

Applies to