Share via


CosmosDBExtensions Class

Definition

A class to add extension methods to Azure.ResourceManager.CosmosDB.

public static class CosmosDBExtensions
type CosmosDBExtensions = class
Public Module CosmosDBExtensions
Inheritance
CosmosDBExtensions

Methods

CheckNameExistsDatabaseAccount(TenantResource, String, CancellationToken)

Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.

  • Request Path: /providers/Microsoft.DocumentDB/databaseAccountNames/{accountName}
  • Operation Id: DatabaseAccounts_CheckNameExists
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBAccountResource
<item>MockingTo mock this method, please mock CheckNameExistsDatabaseAccount(String, CancellationToken) instead.</item>
CheckNameExistsDatabaseAccountAsync(TenantResource, String, CancellationToken)

Checks that the Azure Cosmos DB account name already exists. A valid account name may contain only lowercase letters, numbers, and the '-' character, and must be between 3 and 50 characters.

  • Request Path: /providers/Microsoft.DocumentDB/databaseAccountNames/{accountName}
  • Operation Id: DatabaseAccounts_CheckNameExists
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBAccountResource
<item>MockingTo mock this method, please mock CheckNameExistsDatabaseAccount(String, CancellationToken) instead.</item>
GetCassandraCluster(ResourceGroupResource, String, CancellationToken)

Get the properties of a managed Cassandra cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
<item>MockingTo mock this method, please mock GetCassandraCluster(String, CancellationToken) instead.</item>
GetCassandraClusterAsync(ResourceGroupResource, String, CancellationToken)

Get the properties of a managed Cassandra cluster.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/cassandraClusters/{clusterName}
  • Operation Id: CassandraClusters_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
<item>MockingTo mock this method, please mock GetCassandraClusterAsync(String, CancellationToken) instead.</item>
GetCassandraClusterResource(ArmClient, ResourceIdentifier)

Gets an object representing a CassandraClusterResource 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 CassandraClusterResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCassandraClusterResource(ResourceIdentifier) instead.</item>

GetCassandraClusters(ResourceGroupResource)

Gets a collection of CassandraClusterResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetCassandraClusters() instead.</item>

GetCassandraClusters(SubscriptionResource, CancellationToken)

List all managed Cassandra clusters in this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters
  • Operation Id: CassandraClusters_ListBySubscription
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
<item>MockingTo mock this method, please mock GetCassandraClusters(CancellationToken) instead.</item>
GetCassandraClustersAsync(SubscriptionResource, CancellationToken)

List all managed Cassandra clusters in this subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/cassandraClusters
  • Operation Id: CassandraClusters_ListBySubscription
  • Default Api Version: 2024-12-01-preview
  • Resource: CassandraClusterResource
<item>MockingTo mock this method, please mock GetCassandraClusters(CancellationToken) instead.</item>
GetCassandraDataCenterResource(ArmClient, ResourceIdentifier)

Gets an object representing a CassandraDataCenterResource 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 CassandraDataCenterResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCassandraDataCenterResource(ResourceIdentifier) instead.</item>

GetCassandraKeyspaceResource(ArmClient, ResourceIdentifier)

Gets an object representing a CassandraKeyspaceResource 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 CassandraKeyspaceResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCassandraKeyspaceResource(ResourceIdentifier) instead.</item>

GetCassandraKeyspaceThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a CassandraKeyspaceThroughputSettingResource 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 CassandraKeyspaceThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCassandraKeyspaceThroughputSettingResource(ResourceIdentifier) instead.</item>

GetCassandraTableResource(ArmClient, ResourceIdentifier)

Gets an object representing a CassandraTableResource 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 CassandraTableResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCassandraTableResource(ResourceIdentifier) instead.</item>

GetCassandraTableThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a CassandraTableThroughputSettingResource 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 CassandraTableThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCassandraTableThroughputSettingResource(ResourceIdentifier) instead.</item>

GetCassandraViewGetResultResource(ArmClient, ResourceIdentifier)

Gets an object representing a CassandraViewGetResultResource 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 CassandraViewGetResultResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCassandraViewGetResultResource(ResourceIdentifier) instead.</item>

GetCassandraViewThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a CassandraViewThroughputSettingResource 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 CassandraViewThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCassandraViewThroughputSettingResource(ResourceIdentifier) instead.</item>

GetCosmosDBAccount(ResourceGroupResource, String, CancellationToken)

Retrieves the properties of an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
  • Operation Id: DatabaseAccounts_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBAccountResource
<item>MockingTo mock this method, please mock GetCosmosDBAccount(String, CancellationToken) instead.</item>
GetCosmosDBAccountAsync(ResourceGroupResource, String, CancellationToken)

Retrieves the properties of an existing Azure Cosmos DB database account.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/databaseAccounts/{accountName}
  • Operation Id: DatabaseAccounts_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBAccountResource
<item>MockingTo mock this method, please mock GetCosmosDBAccountAsync(String, CancellationToken) instead.</item>
GetCosmosDBAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBAccountResource 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 CosmosDBAccountResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBAccountResource(ResourceIdentifier) instead.</item>

GetCosmosDBAccounts(ResourceGroupResource)

Gets a collection of CosmosDBAccountResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetCosmosDBAccounts() instead.</item>

GetCosmosDBAccounts(SubscriptionResource, CancellationToken)

Lists all the Azure Cosmos DB database accounts available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccounts
  • Operation Id: DatabaseAccounts_List
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBAccountResource
<item>MockingTo mock this method, please mock GetCosmosDBAccounts(CancellationToken) instead.</item>
GetCosmosDBAccountsAsync(SubscriptionResource, CancellationToken)

Lists all the Azure Cosmos DB database accounts available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/databaseAccounts
  • Operation Id: DatabaseAccounts_List
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBAccountResource
<item>MockingTo mock this method, please mock GetCosmosDBAccounts(CancellationToken) instead.</item>
GetCosmosDBChaosFaultResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBChaosFaultResource 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 CosmosDBChaosFaultResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBChaosFaultResource(ResourceIdentifier) instead.</item>

GetCosmosDBLocation(SubscriptionResource, AzureLocation, CancellationToken)

Get the properties of an existing Cosmos DB location

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}
  • Operation Id: Locations_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBLocationResource
<item>MockingTo mock this method, please mock GetCosmosDBLocation(AzureLocation, CancellationToken) instead.</item>
GetCosmosDBLocationAsync(SubscriptionResource, AzureLocation, CancellationToken)

Get the properties of an existing Cosmos DB location

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/locations/{location}
  • Operation Id: Locations_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBLocationResource
<item>MockingTo mock this method, please mock GetCosmosDBLocationAsync(AzureLocation, CancellationToken) instead.</item>
GetCosmosDBLocationResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBLocationResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation) to create a CosmosDBLocationResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBLocationResource(ResourceIdentifier) instead.</item>

GetCosmosDBLocations(SubscriptionResource)

Gets a collection of CosmosDBLocationResources in the SubscriptionResource. <item>MockingTo mock this method, please mock GetCosmosDBLocations() instead.</item>

GetCosmosDBPrivateEndpointConnectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBPrivateEndpointConnectionResource 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 CosmosDBPrivateEndpointConnectionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBPrivateEndpointConnectionResource(ResourceIdentifier) instead.</item>

GetCosmosDBPrivateLinkResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBPrivateLinkResource 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 CosmosDBPrivateLinkResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBPrivateLinkResource(ResourceIdentifier) instead.</item>

GetCosmosDBServiceResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBServiceResource 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 CosmosDBServiceResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBServiceResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlClientEncryptionKeyResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBSqlClientEncryptionKeyResource 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 CosmosDBSqlClientEncryptionKeyResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBSqlClientEncryptionKeyResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlContainerResource(ArmClient, ResourceIdentifier)

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. <item>MockingTo mock this method, please mock GetCosmosDBSqlContainerResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlContainerThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBSqlContainerThroughputSettingResource 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 CosmosDBSqlContainerThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBSqlContainerThroughputSettingResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlDatabaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBSqlDatabaseResource 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 CosmosDBSqlDatabaseResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBSqlDatabaseResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlDatabaseThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBSqlDatabaseThroughputSettingResource 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 CosmosDBSqlDatabaseThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBSqlDatabaseThroughputSettingResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlRoleAssignmentResource(ArmClient, ResourceIdentifier)

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. <item>MockingTo mock this method, please mock GetCosmosDBSqlRoleAssignmentResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlRoleDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBSqlRoleDefinitionResource 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 CosmosDBSqlRoleDefinitionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBSqlRoleDefinitionResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlStoredProcedureResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBSqlStoredProcedureResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a CosmosDBSqlStoredProcedureResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBSqlStoredProcedureResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlTriggerResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBSqlTriggerResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a CosmosDBSqlTriggerResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBSqlTriggerResource(ResourceIdentifier) instead.</item>

GetCosmosDBSqlUserDefinedFunctionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBSqlUserDefinedFunctionResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, String, String, String, String, String) to create a CosmosDBSqlUserDefinedFunctionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBSqlUserDefinedFunctionResource(ResourceIdentifier) instead.</item>

GetCosmosDBTableResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBTableResource 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 CosmosDBTableResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBTableResource(ResourceIdentifier) instead.</item>

GetCosmosDBTableRoleAssignmentResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBTableRoleAssignmentResource 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 CosmosDBTableRoleAssignmentResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBTableRoleAssignmentResource(ResourceIdentifier) instead.</item>

GetCosmosDBTableRoleDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBTableRoleDefinitionResource 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 CosmosDBTableRoleDefinitionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBTableRoleDefinitionResource(ResourceIdentifier) instead.</item>

GetCosmosDBThroughputPool(ResourceGroupResource, String, CancellationToken)

Retrieves the properties of an existing Azure Cosmos DB Throughput Pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}
  • Operation Id: ThroughputPool_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBThroughputPoolResource
<item>MockingTo mock this method, please mock GetCosmosDBThroughputPool(String, CancellationToken) instead.</item>
GetCosmosDBThroughputPoolAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBThroughputPoolAccountResource 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 CosmosDBThroughputPoolAccountResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBThroughputPoolAccountResource(ResourceIdentifier) instead.</item>

GetCosmosDBThroughputPoolAsync(ResourceGroupResource, String, CancellationToken)

Retrieves the properties of an existing Azure Cosmos DB Throughput Pool

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DocumentDB/throughputPools/{throughputPoolName}
  • Operation Id: ThroughputPool_Get
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBThroughputPoolResource
<item>MockingTo mock this method, please mock GetCosmosDBThroughputPoolAsync(String, CancellationToken) instead.</item>
GetCosmosDBThroughputPoolResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosDBThroughputPoolResource 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 CosmosDBThroughputPoolResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosDBThroughputPoolResource(ResourceIdentifier) instead.</item>

GetCosmosDBThroughputPools(ResourceGroupResource)

Gets a collection of CosmosDBThroughputPoolResources in the ResourceGroupResource. <item>MockingTo mock this method, please mock GetCosmosDBThroughputPools() instead.</item>

GetCosmosDBThroughputPools(SubscriptionResource, CancellationToken)

Lists all the Azure Cosmos DB Throughput Pools available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/throughputPools
  • Operation Id: ThroughputPools_List
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBThroughputPoolResource
<item>MockingTo mock this method, please mock GetCosmosDBThroughputPools(CancellationToken) instead.</item>
GetCosmosDBThroughputPoolsAsync(SubscriptionResource, CancellationToken)

Lists all the Azure Cosmos DB Throughput Pools available under the subscription.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/throughputPools
  • Operation Id: ThroughputPools_List
  • Default Api Version: 2024-12-01-preview
  • Resource: CosmosDBThroughputPoolResource
<item>MockingTo mock this method, please mock GetCosmosDBThroughputPools(CancellationToken) instead.</item>
GetCosmosTableThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a CosmosTableThroughputSettingResource 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 CosmosTableThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetCosmosTableThroughputSettingResource(ResourceIdentifier) instead.</item>

GetDataTransferJobGetResultResource(ArmClient, ResourceIdentifier)

Gets an object representing a DataTransferJobGetResultResource 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 DataTransferJobGetResultResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetDataTransferJobGetResultResource(ResourceIdentifier) instead.</item>

GetGraphResourceGetResultResource(ArmClient, ResourceIdentifier)

Gets an object representing a GraphResourceGetResultResource 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 GraphResourceGetResultResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetGraphResourceGetResultResource(ResourceIdentifier) instead.</item>

GetGremlinDatabaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a GremlinDatabaseResource 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 GremlinDatabaseResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetGremlinDatabaseResource(ResourceIdentifier) instead.</item>

GetGremlinDatabaseThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a GremlinDatabaseThroughputSettingResource 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 GremlinDatabaseThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetGremlinDatabaseThroughputSettingResource(ResourceIdentifier) instead.</item>

GetGremlinGraphResource(ArmClient, ResourceIdentifier)

Gets an object representing a GremlinGraphResource 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 GremlinGraphResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetGremlinGraphResource(ResourceIdentifier) instead.</item>

GetGremlinGraphThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a GremlinGraphThroughputSettingResource 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 GremlinGraphThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetGremlinGraphThroughputSettingResource(ResourceIdentifier) instead.</item>

GetMongoDBCollectionResource(ArmClient, ResourceIdentifier)

Gets an object representing a MongoDBCollectionResource 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 MongoDBCollectionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMongoDBCollectionResource(ResourceIdentifier) instead.</item>

GetMongoDBCollectionThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a MongoDBCollectionThroughputSettingResource 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 MongoDBCollectionThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMongoDBCollectionThroughputSettingResource(ResourceIdentifier) instead.</item>

GetMongoDBDatabaseResource(ArmClient, ResourceIdentifier)

Gets an object representing a MongoDBDatabaseResource 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 MongoDBDatabaseResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMongoDBDatabaseResource(ResourceIdentifier) instead.</item>

GetMongoDBDatabaseThroughputSettingResource(ArmClient, ResourceIdentifier)

Gets an object representing a MongoDBDatabaseThroughputSettingResource 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 MongoDBDatabaseThroughputSettingResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMongoDBDatabaseThroughputSettingResource(ResourceIdentifier) instead.</item>

GetMongoDBRoleDefinitionResource(ArmClient, ResourceIdentifier)

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. <item>MockingTo mock this method, please mock GetMongoDBRoleDefinitionResource(ResourceIdentifier) instead.</item>

GetMongoDBUserDefinitionResource(ArmClient, ResourceIdentifier)

Gets an object representing a MongoDBUserDefinitionResource 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 MongoDBUserDefinitionResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetMongoDBUserDefinitionResource(ResourceIdentifier) instead.</item>

GetNetworkSecurityPerimeterConfigurationResource(ArmClient, ResourceIdentifier)

Gets an object representing a NetworkSecurityPerimeterConfigurationResource 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 NetworkSecurityPerimeterConfigurationResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetNetworkSecurityPerimeterConfigurationResource(ResourceIdentifier) instead.</item>

GetRestorableCosmosDBAccountResource(ArmClient, ResourceIdentifier)

Gets an object representing a RestorableCosmosDBAccountResource along with the instance operations that can be performed on it but with no data. You can use CreateResourceIdentifier(String, AzureLocation, Guid) to create a RestorableCosmosDBAccountResourceResourceIdentifier from its components. <item>MockingTo mock this method, please mock GetRestorableCosmosDBAccountResource(ResourceIdentifier) instead.</item>

GetRestorableCosmosDBAccounts(SubscriptionResource, CancellationToken)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/restorableDatabaseAccounts
  • Operation Id: RestorableDatabaseAccounts_List
  • Default Api Version: 2024-12-01-preview
  • Resource: RestorableCosmosDBAccountResource
<item>MockingTo mock this method, please mock GetRestorableCosmosDBAccounts(CancellationToken) instead.</item>
GetRestorableCosmosDBAccountsAsync(SubscriptionResource, CancellationToken)

Lists all the restorable Azure Cosmos DB database accounts available under the subscription. This call requires 'Microsoft.DocumentDB/locations/restorableDatabaseAccounts/read' permission.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.DocumentDB/restorableDatabaseAccounts
  • Operation Id: RestorableDatabaseAccounts_List
  • Default Api Version: 2024-12-01-preview
  • Resource: RestorableCosmosDBAccountResource
<item>MockingTo mock this method, please mock GetRestorableCosmosDBAccounts(CancellationToken) instead.</item>

Applies to