ContainerServiceTrustedAccessRoleBindingData Constructor

Definition

Initializes a new instance of ContainerServiceTrustedAccessRoleBindingData.

public ContainerServiceTrustedAccessRoleBindingData (Azure.Core.ResourceIdentifier sourceResourceId, System.Collections.Generic.IEnumerable<string> roles);
new Azure.ResourceManager.ContainerService.ContainerServiceTrustedAccessRoleBindingData : Azure.Core.ResourceIdentifier * seq<string> -> Azure.ResourceManager.ContainerService.ContainerServiceTrustedAccessRoleBindingData
Public Sub New (sourceResourceId As ResourceIdentifier, roles As IEnumerable(Of String))

Parameters

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'.

Exceptions

sourceResourceId or roles is null.

Applies to