你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ContainerServiceTrustedAccessRoleBindingData Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.