Dela via


MockableCosmosDBArmClient.GetCosmosDBSqlContainerResource Method

Definition

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

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

Parameters

id
ResourceIdentifier

The resource ID of the resource to get.

Returns

Returns a CosmosDBSqlContainerResource object.

Applies to