ReservationsExtensions.GetAllReservationQuota Method
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.
Gets a collection of ReservationQuotaResources in the SubscriptionResource. MockingTo mock this method, please mock GetAllReservationQuota(String, AzureLocation) instead.
public static Azure.ResourceManager.Reservations.ReservationQuotaCollection GetAllReservationQuota (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string providerId, Azure.Core.AzureLocation location);
static member GetAllReservationQuota : Azure.ResourceManager.Resources.SubscriptionResource * string * Azure.Core.AzureLocation -> Azure.ResourceManager.Reservations.ReservationQuotaCollection
<Extension()>
Public Function GetAllReservationQuota (subscriptionResource As SubscriptionResource, providerId As String, location As AzureLocation) As ReservationQuotaCollection
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
- providerId
- String
Azure resource provider ID.
- location
- AzureLocation
Azure region.
Returns
An object representing collection of ReservationQuotaResources and their operations over a ReservationQuotaResource.
Exceptions
subscriptionResource
or providerId
is null.
providerId
is an empty string, and was expected to be non-empty.
Applies to
Azure SDK for .NET