Share via


MockableCosmosDBArmClient.GetMongoDBRoleDefinitionResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a MongoDBRoleDefinitionResource object.

Applies to