次の方法で共有


IQuotaOperations.BeginUpdateWithHttpMessagesAsync メソッド

定義

このリソースのクォータ (サービス制限) を要求された値に更新します。

• 特定のリソースのクォータ情報を取得するには、GET 要求を送信します。

• クォータを増やすには、GET 応答から制限フィールドを新しい値に更新します。

• クォータ値を更新するには、クォータ要求 API に JSON 応答を送信してクォータを更新します。 • クォータを更新する。 PATCH 操作を使用します。

public System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<object>> BeginUpdateWithHttpMessagesAsync(string subscriptionId, string providerId, string location, string resourceName, Microsoft.Azure.Management.Reservations.Models.CurrentQuotaLimitBase createQuotaRequest, System.Collections.Generic.Dictionary<string,System.Collections.Generic.List<string>> customHeaders = default, System.Threading.CancellationToken cancellationToken = default);
abstract member BeginUpdateWithHttpMessagesAsync : string * string * string * string * Microsoft.Azure.Management.Reservations.Models.CurrentQuotaLimitBase * System.Collections.Generic.Dictionary<string, System.Collections.Generic.List<string>> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Rest.Azure.AzureOperationResponse<obj>>
Public Function BeginUpdateWithHttpMessagesAsync (subscriptionId As String, providerId As String, location As String, resourceName As String, createQuotaRequest As CurrentQuotaLimitBase, Optional customHeaders As Dictionary(Of String, List(Of String)) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of AzureOperationResponse(Of Object))

パラメーター

subscriptionId
String

Azure サブスクリプション ID。

providerId
String

Azure リソース プロバイダー ID。

location
String

Azure リージョン。

resourceName
String

Microsoft.MachineLearningServices の場合は、リソース プロバイダーのリソース名 (Microsoft.Compute の SKU 名、Sku、TotalLowPriorityCores など)

createQuotaRequest
CurrentQuotaLimitBase

クォータ要求のペイロード。

customHeaders
Dictionary<String,List<String>>

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

cancellationToken
CancellationToken

キャンセル トークン。

戻り値

例外

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

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

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

適用対象