次の方法で共有


ManagementGroupSubscriptionsOperationsExtensions.GetSubscriptionAsync メソッド

定義

管理グループに関連付けられている特定のサブスクリプションに関する詳細を取得します。

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.SubscriptionUnderManagementGroup> GetSubscriptionAsync (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupSubscriptionsOperations operations, string groupId, string subscriptionId, string cacheControl = "no-cache", System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionAsync : Microsoft.Azure.Management.ManagementGroups.IManagementGroupSubscriptionsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.SubscriptionUnderManagementGroup>
<Extension()>
Public Function GetSubscriptionAsync (operations As IManagementGroupSubscriptionsOperations, groupId As String, subscriptionId As String, Optional cacheControl As String = "no-cache", Optional cancellationToken As CancellationToken = Nothing) As Task(Of SubscriptionUnderManagementGroup)

パラメーター

operations
IManagementGroupSubscriptionsOperations

この拡張メソッドの操作グループ。

groupId
String

管理グループ ID。

subscriptionId
String

[サブスクリプション ID] が表示されます。

cacheControl
String

要求がキャッシュを利用する必要があるかどうかを示します。 既存のキャッシュをバイパスするには、ヘッダーに "キャッシュなし" 値を設定します。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

適用対象