Aracılığıyla paylaş


CurrentQuotaLimitBaseCollection Class

Definition

A class representing a collection of CurrentQuotaLimitBaseResource and their operations. Each CurrentQuotaLimitBaseResource in the collection will belong to the same instance of ArmResource. To get a CurrentQuotaLimitBaseCollection instance call the GetCurrentQuotaLimitBases method from an instance of ArmResource.

public class CurrentQuotaLimitBaseCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Quota.CurrentQuotaLimitBaseResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quota.CurrentQuotaLimitBaseResource>
type CurrentQuotaLimitBaseCollection = class
    inherit ArmCollection
    interface seq<CurrentQuotaLimitBaseResource>
    interface IEnumerable
    interface IAsyncEnumerable<CurrentQuotaLimitBaseResource>
Public Class CurrentQuotaLimitBaseCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of CurrentQuotaLimitBaseResource), IEnumerable(Of CurrentQuotaLimitBaseResource)
Inheritance
CurrentQuotaLimitBaseCollection
Implements

Constructors

CurrentQuotaLimitBaseCollection()

Initializes a new instance of the CurrentQuotaLimitBaseCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, CurrentQuotaLimitBaseData, CancellationToken)

Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:

  1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in this example.
  2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.
  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_CreateOrUpdate
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
CreateOrUpdateAsync(WaitUntil, String, CurrentQuotaLimitBaseData, CancellationToken)

Create or update the quota limit for the specified resource with the requested value. To update the quota, follow these steps:

  1. Use the GET operation for quotas and usages to determine how much quota remains for the specific resource and to calculate the new quota limit. These steps are detailed in this example.
  2. Use this PUT operation to update the quota limit. Please check the URI in location header for the detailed status of the request.
  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_CreateOrUpdate
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
Get(String, CancellationToken)

Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
GetAll(CancellationToken)

Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas
  • Operation Id: Quota_List
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
GetAllAsync(CancellationToken)

Get a list of current quota limits of all resources for the specified scope. The response from this GET operation can be leveraged to submit requests to update a quota.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas
  • Operation Id: Quota_List
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
GetAsync(String, CancellationToken)

Get the quota limit of a resource. The response can be used to determine the remaining quota to calculate a new quota limit that can be submitted with a PUT request.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{scope}/providers/Microsoft.Quota/quotas/{resourceName}
  • Operation Id: Quota_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: CurrentQuotaLimitBaseResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<CurrentQuotaLimitBaseResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<CurrentQuotaLimitBaseResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to