Partilhar via


PlaywrightTestingQuotaCollection Class

Definition

A class representing a collection of PlaywrightTestingQuotaResource and their operations. Each PlaywrightTestingQuotaResource in the collection will belong to the same instance of SubscriptionResource. To get a PlaywrightTestingQuotaCollection instance call the GetPlaywrightTestingQuotas method from an instance of SubscriptionResource.

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

Constructors

PlaywrightTestingQuotaCollection()

Initializes a new instance of the PlaywrightTestingQuotaCollection 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

Exists(PlaywrightTestingQuotaName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
ExistsAsync(PlaywrightTestingQuotaName, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
Get(PlaywrightTestingQuotaName, CancellationToken)

Get quota by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
GetAll(CancellationToken)

List quotas for a given subscription Id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas
  • Operation Id: Quotas_ListBySubscription
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
GetAllAsync(CancellationToken)

List quotas for a given subscription Id.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas
  • Operation Id: Quotas_ListBySubscription
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
GetAsync(PlaywrightTestingQuotaName, CancellationToken)

Get quota by name.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
GetIfExists(PlaywrightTestingQuotaName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
GetIfExistsAsync(PlaywrightTestingQuotaName, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.AzurePlaywrightService/locations/{location}/quotas/{name}
  • Operation Id: Quotas_Get
  • Default Api Version: 2023-10-01-preview
  • Resource: PlaywrightTestingQuotaResource
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<PlaywrightTestingQuotaResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<PlaywrightTestingQuotaResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to