Share via


MockableMongoClusterArmClient.GetMongoClusterResource 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.MongoCluster.MongoClusterResource GetMongoClusterResource (Azure.Core.ResourceIdentifier id);
abstract member GetMongoClusterResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MongoCluster.MongoClusterResource
override this.GetMongoClusterResource : Azure.Core.ResourceIdentifier -> Azure.ResourceManager.MongoCluster.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