MockableCosmosDBArmClient.GetMongoClusterResource(ResourceIdentifier) Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a MongoClusterResource object.

Applies to