MockableCosmosDBArmClient.GetCosmosDBSqlRoleAssignmentResource Method

Definition

Gets an object representing a CosmosDBSqlRoleAssignmentResource 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 CosmosDBSqlRoleAssignmentResourceResourceIdentifier from its components.

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CosmosDBSqlRoleAssignmentResource object.

Applies to