Dela via


MockableCosmosDBArmClient.GetCosmosDBLocationResource Method

Definition

Gets an object representing a CosmosDBLocationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation) to create a CosmosDBLocationResourceResourceIdentifier from its components.

public virtual Azure.ResourceManager.CosmosDB.CosmosDBLocationResource GetCosmosDBLocationResource (Azure.Core.ResourceIdentifier id);
abstract member GetCosmosDBLocationResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CosmosDB.CosmosDBLocationResource
override this.GetCosmosDBLocationResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.CosmosDB.CosmosDBLocationResource
Public Overridable Function GetCosmosDBLocationResource (id As ResourceIdentifier) As CosmosDBLocationResource

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CosmosDBLocationResource object.

Applies to