共用方式為


ArmApiManagementModelFactory.TenantAccessInfoSecretsDetails Method

Definition

Initializes a new instance of TenantAccessInfoSecretsDetails.

public static Azure.ResourceManager.ApiManagement.Models.TenantAccessInfoSecretsDetails TenantAccessInfoSecretsDetails (string accessInfoType = default, string principalId = default, string primaryKey = default, string secondaryKey = default, bool? isDirectAccessEnabled = default);
static member TenantAccessInfoSecretsDetails : string * string * string * string * Nullable<bool> -> Azure.ResourceManager.ApiManagement.Models.TenantAccessInfoSecretsDetails
Public Shared Function TenantAccessInfoSecretsDetails (Optional accessInfoType As String = Nothing, Optional principalId As String = Nothing, Optional primaryKey As String = Nothing, Optional secondaryKey As String = Nothing, Optional isDirectAccessEnabled As Nullable(Of Boolean) = Nothing) As TenantAccessInfoSecretsDetails

Parameters

accessInfoType
String

Access Information type ('access' or 'gitAccess').

principalId
String

Principal (User) Identifier.

primaryKey
String

Primary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

secondaryKey
String

Secondary access key. This property will not be filled on 'GET' operations! Use '/listSecrets' POST request to get the value.

isDirectAccessEnabled
Nullable<Boolean>

Determines whether direct access is enabled.

Returns

A new TenantAccessInfoSecretsDetails instance for mocking.

Applies to