ThroughputPool interface
Interface representing a ThroughputPool.
Methods
begin |
Creates or updates an Azure Cosmos DB ThroughputPool account. The "Update" method is preferred when performing updates on an account. |
begin |
Creates or updates an Azure Cosmos DB ThroughputPool account. The "Update" method is preferred when performing updates on an account. |
begin |
Deletes an existing Azure Cosmos DB Throughput Pool. |
begin |
Deletes an existing Azure Cosmos DB Throughput Pool. |
begin |
Updates the properties of an existing Azure Cosmos DB Throughput Pool. |
begin |
Updates the properties of an existing Azure Cosmos DB Throughput Pool. |
get(string, string, Throughput |
Retrieves the properties of an existing Azure Cosmos DB Throughput Pool |
Method Details
beginCreateOrUpdate(string, string, ThroughputPoolResource, ThroughputPoolCreateOrUpdateOptionalParams)
Creates or updates an Azure Cosmos DB ThroughputPool account. The "Update" method is preferred when performing updates on an account.
function beginCreateOrUpdate(resourceGroupName: string, throughputPoolName: string, body: ThroughputPoolResource, options?: ThroughputPoolCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ThroughputPoolResource>, ThroughputPoolResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- throughputPoolName
-
string
Cosmos DB Throughput Pool name.
The parameters to provide for the current ThroughputPool.
The options parameters.
Returns
beginCreateOrUpdateAndWait(string, string, ThroughputPoolResource, ThroughputPoolCreateOrUpdateOptionalParams)
Creates or updates an Azure Cosmos DB ThroughputPool account. The "Update" method is preferred when performing updates on an account.
function beginCreateOrUpdateAndWait(resourceGroupName: string, throughputPoolName: string, body: ThroughputPoolResource, options?: ThroughputPoolCreateOrUpdateOptionalParams): Promise<ThroughputPoolResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- throughputPoolName
-
string
Cosmos DB Throughput Pool name.
The parameters to provide for the current ThroughputPool.
The options parameters.
Returns
Promise<ThroughputPoolResource>
beginDelete(string, string, ThroughputPoolDeleteOptionalParams)
Deletes an existing Azure Cosmos DB Throughput Pool.
function beginDelete(resourceGroupName: string, throughputPoolName: string, options?: ThroughputPoolDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ThroughputPoolDeleteHeaders>, ThroughputPoolDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- throughputPoolName
-
string
Cosmos DB Throughput Pool name.
The options parameters.
Returns
beginDeleteAndWait(string, string, ThroughputPoolDeleteOptionalParams)
Deletes an existing Azure Cosmos DB Throughput Pool.
function beginDeleteAndWait(resourceGroupName: string, throughputPoolName: string, options?: ThroughputPoolDeleteOptionalParams): Promise<ThroughputPoolDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- throughputPoolName
-
string
Cosmos DB Throughput Pool name.
The options parameters.
Returns
Promise<ThroughputPoolDeleteHeaders>
beginUpdate(string, string, ThroughputPoolUpdateOptionalParams)
Updates the properties of an existing Azure Cosmos DB Throughput Pool.
function beginUpdate(resourceGroupName: string, throughputPoolName: string, options?: ThroughputPoolUpdateOptionalParams): Promise<SimplePollerLike<OperationState<ThroughputPoolResource>, ThroughputPoolResource>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- throughputPoolName
-
string
Cosmos DB Throughput Pool name.
The options parameters.
Returns
beginUpdateAndWait(string, string, ThroughputPoolUpdateOptionalParams)
Updates the properties of an existing Azure Cosmos DB Throughput Pool.
function beginUpdateAndWait(resourceGroupName: string, throughputPoolName: string, options?: ThroughputPoolUpdateOptionalParams): Promise<ThroughputPoolResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- throughputPoolName
-
string
Cosmos DB Throughput Pool name.
The options parameters.
Returns
Promise<ThroughputPoolResource>
get(string, string, ThroughputPoolGetOptionalParams)
Retrieves the properties of an existing Azure Cosmos DB Throughput Pool
function get(resourceGroupName: string, throughputPoolName: string, options?: ThroughputPoolGetOptionalParams): Promise<ThroughputPoolResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- throughputPoolName
-
string
Cosmos DB Throughput Pool name.
- options
- ThroughputPoolGetOptionalParams
The options parameters.
Returns
Promise<ThroughputPoolResource>
Azure SDK for JavaScript
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for