共用方式為


ArmApiManagementModelFactory.SubscriptionKeysContract(String, String) Method

Definition

Initializes a new instance of SubscriptionKeysContract.

public static Azure.ResourceManager.ApiManagement.Models.SubscriptionKeysContract SubscriptionKeysContract (string primaryKey = default, string secondaryKey = default);
static member SubscriptionKeysContract : string * string -> Azure.ResourceManager.ApiManagement.Models.SubscriptionKeysContract
Public Shared Function SubscriptionKeysContract (Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing) As SubscriptionKeysContract

Parameters

primaryKey
String

Subscription primary key.

secondaryKey
String

Subscription secondary key.

Returns

A new SubscriptionKeysContract instance for mocking.

Applies to