共用方式為


ArmContainerServiceModelFactory.ContainerServiceTrustedAccessRoleBindingData Method

Definition

Initializes a new instance of ContainerServiceTrustedAccessRoleBindingData.

public static Azure.ResourceManager.ContainerService.ContainerServiceTrustedAccessRoleBindingData ContainerServiceTrustedAccessRoleBindingData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.ContainerService.Models.ContainerServiceTrustedAccessRoleBindingProvisioningState? provisioningState = default, Azure.Core.ResourceIdentifier sourceResourceId = default, System.Collections.Generic.IEnumerable<string> roles = default);
static member ContainerServiceTrustedAccessRoleBindingData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.ContainerService.Models.ContainerServiceTrustedAccessRoleBindingProvisioningState> * Azure.Core.ResourceIdentifier * seq<string> -> Azure.ResourceManager.ContainerService.ContainerServiceTrustedAccessRoleBindingData
Public Shared Function ContainerServiceTrustedAccessRoleBindingData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of ContainerServiceTrustedAccessRoleBindingProvisioningState) = Nothing, Optional sourceResourceId As ResourceIdentifier = Nothing, Optional roles As IEnumerable(Of String) = Nothing) As ContainerServiceTrustedAccessRoleBindingData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<ContainerServiceTrustedAccessRoleBindingProvisioningState>

The current provisioning state of trusted access role binding.

sourceResourceId
ResourceIdentifier

The ARM resource ID of source resource that trusted access is configured for.

roles
IEnumerable<String>

A list of roles to bind, each item is a resource type qualified role name. For example: 'Microsoft.MachineLearningServices/workspaces/reader'.

Returns

A new ContainerServiceTrustedAccessRoleBindingData instance for mocking.

Applies to