Share via


ArmEventGridModelFactory.PartnerNamespaceSharedAccessKeys Method

Definition

Initializes a new instance of PartnerNamespaceSharedAccessKeys.

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

Parameters

key1
String

Shared access key1 for the partner namespace.

key2
String

Shared access key2 for the partner namespace.

Returns

A new PartnerNamespaceSharedAccessKeys instance for mocking.

Applies to