CosmosDBExtensions.GetCosmosDBLocations(SubscriptionResource) 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 CosmosDBLocationResources in the SubscriptionResource. MockingTo mock this method, please mock GetCosmosDBLocations() instead.
public static Azure.ResourceManager.CosmosDB.CosmosDBLocationCollection GetCosmosDBLocations (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource);
static member GetCosmosDBLocations : Azure.ResourceManager.Resources.SubscriptionResource -> Azure.ResourceManager.CosmosDB.CosmosDBLocationCollection
<Extension()>
Public Function GetCosmosDBLocations (subscriptionResource As SubscriptionResource) As CosmosDBLocationCollection
Parameters
- subscriptionResource
- SubscriptionResource
The SubscriptionResource instance the method will execute against.
Returns
An object representing collection of CosmosDBLocationResources and their operations over a CosmosDBLocationResource.
Exceptions
subscriptionResource
is null.
Applies to
Azure SDK for .NET