共用方式為


GroupQuotaEntityCollection Class

Definition

A class representing a collection of GroupQuotaEntityResource and their operations. Each GroupQuotaEntityResource in the collection will belong to the same instance of ManagementGroupResource. To get a GroupQuotaEntityCollection instance call the GetGroupQuotaEntities method from an instance of ManagementGroupResource.

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

Constructors

GroupQuotaEntityCollection()

Initializes a new instance of the GroupQuotaEntityCollection 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, GroupQuotaEntityData, CancellationToken)

Creates a new GroupQuota for the name passed. A RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_CreateOrUpdate
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
CreateOrUpdateAsync(WaitUntil, String, GroupQuotaEntityData, CancellationToken)

Creates a new GroupQuota for the name passed. A RequestId will be returned by the Service. The status can be polled periodically. The status Async polling is using standards defined at - https://github.com/Azure/azure-resource-manager-rpc/blob/master/v1.0/async-api-reference.md#asynchronous-operations. Use the OperationsStatus URI provided in Azure-AsyncOperation header, the duration will be specified in retry-after header. Once the operation gets to terminal state - Succeeded | Failed, then the URI will change to Get URI and full details can be checked.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_CreateOrUpdate
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
Get(String, CancellationToken)

Gets the GroupQuotas for the name passed. It will return the GroupQuotas properties only. The details on group quota can be access from the group quota APIs.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
GetAll(CancellationToken)

Lists GroupQuotas for the scope passed. It will return the GroupQuotas QuotaEntity properties only.The details on group quota can be access from the group quota APIs.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas
  • Operation Id: GroupQuotas_List
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
GetAllAsync(CancellationToken)

Lists GroupQuotas for the scope passed. It will return the GroupQuotas QuotaEntity properties only.The details on group quota can be access from the group quota APIs.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas
  • Operation Id: GroupQuotas_List
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
GetAsync(String, CancellationToken)

Gets the GroupQuotas for the name passed. It will return the GroupQuotas properties only. The details on group quota can be access from the group quota APIs.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Quota/groupQuotas/{groupQuotaName}
  • Operation Id: GroupQuotas_Get
  • Default Api Version: 2023-06-01-preview
  • Resource: GroupQuotaEntityResource
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<GroupQuotaEntityResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GroupQuotaEntityResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to