QuotaOperationsExtensions.CreateOrUpdate メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
リソースのクォータ (サービス制限) を作成するか、要求された値に更新します。 手順:
Get 要求を実行して、特定のリソースのクォータ情報を取得します。
クォータを増やすには、応答の制限フィールドを Get request から新しい値に更新します。
クォータを更新するには、クォータ要求 API に JSON を送信します。 クォータの作成要求は、次のように構築できます。 PUT 操作を使用してクォータを更新できます。
public static object CreateOrUpdate(this Microsoft.Azure.Management.Reservations.IQuotaOperations operations, string subscriptionId, string providerId, string location, string resourceName, Microsoft.Azure.Management.Reservations.Models.CurrentQuotaLimitBase createQuotaRequest);
static member CreateOrUpdate : Microsoft.Azure.Management.Reservations.IQuotaOperations * string * string * string * string * Microsoft.Azure.Management.Reservations.Models.CurrentQuotaLimitBase -> obj
<Extension()>
Public Function CreateOrUpdate (operations As IQuotaOperations, subscriptionId As String, providerId As String, location As String, resourceName As String, createQuotaRequest As CurrentQuotaLimitBase) As Object
パラメーター
- operations
- IQuotaOperations
この拡張メソッドの操作グループ。
- subscriptionId
- String
Azure サブスクリプション ID。
- providerId
- String
Azure リソース プロバイダー ID。
- location
- String
Azure リージョン。
- resourceName
- String
Microsoft.MachineLearningServices の場合は、リソース プロバイダーのリソース名 (Microsoft.Compute の SKU 名、Sku、TotalLowPriorityCores など)
- createQuotaRequest
- CurrentQuotaLimitBase
クォータ要求ペイロード。
戻り値
適用対象
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
Azure SDK for .NET