次の方法で共有


IManagementGroupsOperations.GetWithHttpMessagesAsync メソッド

定義

管理グループの詳細を取得します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroup>> GetWithHttpMessagesAsync (string groupId, string expand = default, bool? recurse = default, string filter = default, string cacheControl = "no-cache", System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetWithHttpMessagesAsync : string * string * Nullable<bool> * string * string * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<Microsoft.Azure.Management.ManagementGroups.Models.ManagementGroup>>
Public Function GetWithHttpMessagesAsync (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 customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of ManagementGroup))

パラメーター

groupId
String

管理グループ ID。

expand
String

$expand=children クエリ文字列パラメーターを使用すると、クライアントは応答ペイロードに子を含めることを要求できます。 $expand=path には、ルート グループから現在のグループへのパスが含まれます。 $expand=先祖には、現在のグループの先祖 ID が含まれます。 使用できる値は、'children'、'path'、'ancestors' です。

recurse
Nullable<Boolean>

$recurse=true クエリ文字列パラメーターを使用すると、クライアントは応答ペイロードに階層全体の包含を要求できます。 $recurseが true に設定されている場合は、$expand=children を渡す必要があることに注意してください。

filter
String

結果からのサブスクリプションの除外を許可するフィルター (つまり、'$filter=children.childType ne Subscription')

cacheControl
String

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

customHeaders
Dictionary<String,List<String>>

要求に追加されるヘッダー。

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

操作が無効な状態コードを返したときにスローされます

応答を逆シリアル化できない場合にスローされます

必須パラメーターが null の場合にスローされます

適用対象