你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ManagedClustersOperationsExtensions.GetAccessProfileAsync 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This operation is deprecated. Please do not use it any longer.
获取托管群集的访问配置文件。
[System.Obsolete("This operation is deprecated. Please do not use it any longer.")]
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterAccessProfileInner> GetAccessProfileAsync (this Microsoft.Azure.Management.ContainerService.Fluent.IManagedClustersOperations operations, string resourceGroupName, string resourceName, string roleName, System.Threading.CancellationToken cancellationToken = default);
[<System.Obsolete("This operation is deprecated. Please do not use it any longer.")>]
static member GetAccessProfileAsync : Microsoft.Azure.Management.ContainerService.Fluent.IManagedClustersOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ContainerService.Fluent.Models.ManagedClusterAccessProfileInner>
<Extension()>
Public Function GetAccessProfileAsync (operations As IManagedClustersOperations, resourceGroupName As String, resourceName As String, roleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagedClusterAccessProfileInner)
参数
- operations
- IManagedClustersOperations
此扩展方法的操作组。
- resourceGroupName
- String
资源组的名称。
- resourceName
- String
托管群集资源的名称。
- roleName
- String
托管群集 accessProfile 资源的角色名称。
- cancellationToken
- CancellationToken
取消标记。
返回
- 属性
注解
获取具有指定资源组和名称的托管群集的指定角色名称的 accessProfile。 警告:此 API 将被弃用。 请改用
或
.