Share via


CosmosDBExtensions.GetCosmosDBLocations(SubscriptionResource) Method

Definition

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