GroupQuotaSubscriptionCollection Class

Definition

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

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

Constructors

GroupQuotaSubscriptionCollection()

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

Adds a subscription to GroupQuotas. The subscriptions will be validated based on the additionalAttributes defined in the GroupQuota. The additionalAttributes works as filter for the subscriptions, which can be included in the GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

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

Adds a subscription to GroupQuotas. The subscriptions will be validated based on the additionalAttributes defined in the GroupQuota. The additionalAttributes works as filter for the subscriptions, which can be included in the GroupQuotas. The request's TenantId is validated against the subscription's TenantId.

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

Checks to see if the resource exists in azure.

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

Checks to see if the resource exists in azure.

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

Returns the subscriptionIds along with its provisioning state for being associated with the GroupQuota. If the subscription is not a member of GroupQuota, it will return 404, else 200.

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

Returns a list of the subscriptionIds associated with the GroupQuotas.

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

Returns a list of the subscriptionIds associated with the GroupQuotas.

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

Returns the subscriptionIds along with its provisioning state for being associated with the GroupQuota. If the subscription is not a member of GroupQuota, it will return 404, else 200.

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

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<GroupQuotaSubscriptionResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to