GroupQuotaEnforcementCollection Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A class representing a collection of GroupQuotaEnforcementResource and their operations. Each GroupQuotaEnforcementResource in the collection will belong to the same instance of GroupQuotaEntityResource. To get a GroupQuotaEnforcementCollection instance call the GetGroupQuotaEnforcements method from an instance of GroupQuotaEntityResource.
public class GroupQuotaEnforcementCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Quota.GroupQuotaEnforcementResource>
type GroupQuotaEnforcementCollection = class
inherit ArmCollection
interface seq<GroupQuotaEnforcementResource>
interface IEnumerable
interface IAsyncEnumerable<GroupQuotaEnforcementResource>
Public Class GroupQuotaEnforcementCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of GroupQuotaEnforcementResource), IEnumerable(Of GroupQuotaEnforcementResource)
- Inheritance
- Implements
Constructors
GroupQuotaEnforcementCollection() |
Initializes a new instance of the GroupQuotaEnforcementCollection 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, AzureLocation, GroupQuotaEnforcementData, CancellationToken) |
Enables the GroupQuotas enforcement for the resource provider and the location specified. The resource provider will start using the group quotas as the overall quota for the subscriptions included in the GroupQuota. The subscriptions cannot request quota at subscription level. The subscriptions share the GroupQuotaLimits assigned to the GroupQuota. If the GroupQuotaLimits is used, then submit a groupQuotaLimit request for the specific resource - provider/location/resource. Once the GroupQuota Enforcement is enabled then, it cannot be deleted or reverted back. To disable GroupQuota Enforcement -
|
CreateOrUpdateAsync(WaitUntil, AzureLocation, GroupQuotaEnforcementData, CancellationToken) |
Enables the GroupQuotas enforcement for the resource provider and the location specified. The resource provider will start using the group quotas as the overall quota for the subscriptions included in the GroupQuota. The subscriptions cannot request quota at subscription level. The subscriptions share the GroupQuotaLimits assigned to the GroupQuota. If the GroupQuotaLimits is used, then submit a groupQuotaLimit request for the specific resource - provider/location/resource. Once the GroupQuota Enforcement is enabled then, it cannot be deleted or reverted back. To disable GroupQuota Enforcement -
|
Exists(AzureLocation, CancellationToken) |
Checks to see if the resource exists in azure.
|
ExistsAsync(AzureLocation, CancellationToken) |
Checks to see if the resource exists in azure.
|
Get(AzureLocation, CancellationToken) |
Gets the GroupQuotas enforcement settings for the ResourceProvider/location. The locations, where GroupQuota enforcement is not enabled will return Not Found.
|
GetAll(CancellationToken) |
Returns only the list of the Azure regions settings, where the GroupQuotas enforcement is enabled. The locations not included in GroupQuota Enforcement will not be listed, the regions in failed status with listed as status Failed.
|
GetAllAsync(CancellationToken) |
Returns only the list of the Azure regions settings, where the GroupQuotas enforcement is enabled. The locations not included in GroupQuota Enforcement will not be listed, the regions in failed status with listed as status Failed.
|
GetAsync(AzureLocation, CancellationToken) |
Gets the GroupQuotas enforcement settings for the ResourceProvider/location. The locations, where GroupQuota enforcement is not enabled will return Not Found.
|
GetIfExists(AzureLocation, CancellationToken) |
Tries to get details for this resource from the service.
|
GetIfExistsAsync(AzureLocation, CancellationToken) |
Tries to get details for this resource from the service.
|
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<GroupQuotaEnforcementResource>.GetAsyncEnumerator(CancellationToken) |
Returns an enumerator that iterates asynchronously through the collection. |
IEnumerable.GetEnumerator() |
Returns an enumerator that iterates through a collection. |
IEnumerable<GroupQuotaEnforcementResource>.GetEnumerator() |
Returns an enumerator that iterates through the collection. |