次の方法で共有


ManagedClustersOperationsExtensions.GetAccessProfileAsync メソッド

定義

注意事項

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 を取得します。 **WARNING**: この API は非推奨になります。 代わりに使用してください

ListClusterUserCredentials

または

ListClusterAdminCredentials

.

適用対象