ManagementGroupsOperationsExtensions.GetAsync メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
管理グループの詳細を取得します。
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroup> GetAsync (this Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations operations, string groupId, string expand = default, bool? recurse = default, string filter = default, string cacheControl = "no-cache", System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.ManagementGroups.IManagementGroupsOperations * string * string * Nullable<bool> * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroup>
<Extension()>
Public Function GetAsync (operations As IManagementGroupsOperations, groupId As String, Optional expand As String = Nothing, Optional recurse As Nullable(Of Boolean) = Nothing, Optional filter As String = Nothing, Optional cacheControl As String = "no-cache", Optional cancellationToken As CancellationToken = Nothing) As Task(Of ManagementGroup)
パラメーター
- operations
- IManagementGroupsOperations
この拡張メソッドの操作グループ。
- groupId
- String
管理グループ ID。
- expand
- String
$expand=children クエリ文字列パラメーターを使用すると、クライアントは応答ペイロードに子の包含を要求できます。 $expand=path には、ルート グループから現在のグループへのパスが含まれます。 $expand=先祖には、現在のグループの先祖 ID が含まれます。 使用できる値は、'children'、'path'、'ancestors' です。
$recurse=true クエリ文字列パラメーターを使用すると、クライアントは応答ペイロードに階層全体を含めることを要求できます。 $recurseが true に設定されている場合は、$expand=children を渡す必要があることに注意してください。
- filter
- String
結果からのサブスクリプションの除外を許可するフィルター (つまり、'$filter=children.childType ne Subscription')
- cacheControl
- String
要求でキャッシュを利用する必要があるかどうかを示します。 既存のキャッシュをバイパスするには、ヘッダーに "キャッシュなし" 値を設定します。
- cancellationToken
- CancellationToken
キャンセル トークン。
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET