共用方式為


ArmApiManagementModelFactory.TenantAccessInfoData Method

Definition

Initializes a new instance of TenantAccessInfoData.

public static Azure.ResourceManager.ApiManagement.TenantAccessInfoData TenantAccessInfoData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string accessInfoType = default, string principalId = default, bool? isDirectAccessEnabled = default);
static member TenantAccessInfoData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<bool> -> Azure.ResourceManager.ApiManagement.TenantAccessInfoData
Public Shared Function TenantAccessInfoData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional accessInfoType As String = Nothing, Optional principalId As String = Nothing, Optional isDirectAccessEnabled As Nullable(Of Boolean) = Nothing) As TenantAccessInfoData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

accessInfoType
String

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

principalId
String

Principal (User) Identifier.

isDirectAccessEnabled
Nullable<Boolean>

Determines whether direct access is enabled.

Returns

A new TenantAccessInfoData instance for mocking.

Applies to