Share via


MockableReservationsSubscriptionResource.GetAllReservationQuota Method

Definition

Gets a collection of ReservationQuotaResources in the SubscriptionResource.

public virtual Azure.ResourceManager.Reservations.ReservationQuotaCollection GetAllReservationQuota (string providerId, Azure.Core.AzureLocation location);
abstract member GetAllReservationQuota : string * Azure.Core.AzureLocation -> Azure.ResourceManager.Reservations.ReservationQuotaCollection
override this.GetAllReservationQuota : string * Azure.Core.AzureLocation -> Azure.ResourceManager.Reservations.ReservationQuotaCollection
Public Overridable Function GetAllReservationQuota (providerId As String, location As AzureLocation) As ReservationQuotaCollection

Parameters

providerId
String

Azure resource provider ID.

location
AzureLocation

Azure region.

Returns

An object representing collection of ReservationQuotaResources and their operations over a ReservationQuotaResource.

Exceptions

providerId is null.

providerId is an empty string, and was expected to be non-empty.

Applies to