ThroughputPoolAccount interface

Interface representing a ThroughputPoolAccount.

Methods

beginCreate(string, string, string, ThroughputPoolAccountResource, ThroughputPoolAccountCreateOptionalParams)

Creates or updates an Azure Cosmos DB ThroughputPool account. The "Update" method is preferred when performing updates on an account.

beginCreateAndWait(string, string, string, ThroughputPoolAccountResource, ThroughputPoolAccountCreateOptionalParams)

Creates or updates an Azure Cosmos DB ThroughputPool account. The "Update" method is preferred when performing updates on an account.

beginDelete(string, string, string, ThroughputPoolAccountDeleteOptionalParams)

Removes an existing Azure Cosmos DB database account from a throughput pool.

beginDeleteAndWait(string, string, string, ThroughputPoolAccountDeleteOptionalParams)

Removes an existing Azure Cosmos DB database account from a throughput pool.

get(string, string, string, ThroughputPoolAccountGetOptionalParams)

Retrieves the properties of an existing Azure Cosmos DB Throughput Pool

Method Details

beginCreate(string, string, string, ThroughputPoolAccountResource, ThroughputPoolAccountCreateOptionalParams)

Creates or updates an Azure Cosmos DB ThroughputPool account. The "Update" method is preferred when performing updates on an account.

function beginCreate(resourceGroupName: string, throughputPoolName: string, throughputPoolAccountName: string, body: ThroughputPoolAccountResource, options?: ThroughputPoolAccountCreateOptionalParams): Promise<SimplePollerLike<OperationState<ThroughputPoolAccountResource>, ThroughputPoolAccountResource>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

throughputPoolName

string

Cosmos DB Throughput Pool name.

throughputPoolAccountName

string

Cosmos DB global database account in a Throughput Pool

body
ThroughputPoolAccountResource

The parameters to provide for the current ThroughputPoolAccount.

options
ThroughputPoolAccountCreateOptionalParams

The options parameters.

Returns

beginCreateAndWait(string, string, string, ThroughputPoolAccountResource, ThroughputPoolAccountCreateOptionalParams)

Creates or updates an Azure Cosmos DB ThroughputPool account. The "Update" method is preferred when performing updates on an account.

function beginCreateAndWait(resourceGroupName: string, throughputPoolName: string, throughputPoolAccountName: string, body: ThroughputPoolAccountResource, options?: ThroughputPoolAccountCreateOptionalParams): Promise<ThroughputPoolAccountResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

throughputPoolName

string

Cosmos DB Throughput Pool name.

throughputPoolAccountName

string

Cosmos DB global database account in a Throughput Pool

body
ThroughputPoolAccountResource

The parameters to provide for the current ThroughputPoolAccount.

options
ThroughputPoolAccountCreateOptionalParams

The options parameters.

Returns

beginDelete(string, string, string, ThroughputPoolAccountDeleteOptionalParams)

Removes an existing Azure Cosmos DB database account from a throughput pool.

function beginDelete(resourceGroupName: string, throughputPoolName: string, throughputPoolAccountName: string, options?: ThroughputPoolAccountDeleteOptionalParams): Promise<SimplePollerLike<OperationState<ThroughputPoolAccountDeleteHeaders>, ThroughputPoolAccountDeleteHeaders>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

throughputPoolName

string

Cosmos DB Throughput Pool name.

throughputPoolAccountName

string

Cosmos DB global database account in a Throughput Pool

options
ThroughputPoolAccountDeleteOptionalParams

The options parameters.

Returns

beginDeleteAndWait(string, string, string, ThroughputPoolAccountDeleteOptionalParams)

Removes an existing Azure Cosmos DB database account from a throughput pool.

function beginDeleteAndWait(resourceGroupName: string, throughputPoolName: string, throughputPoolAccountName: string, options?: ThroughputPoolAccountDeleteOptionalParams): Promise<ThroughputPoolAccountDeleteHeaders>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

throughputPoolName

string

Cosmos DB Throughput Pool name.

throughputPoolAccountName

string

Cosmos DB global database account in a Throughput Pool

options
ThroughputPoolAccountDeleteOptionalParams

The options parameters.

Returns

get(string, string, string, ThroughputPoolAccountGetOptionalParams)

Retrieves the properties of an existing Azure Cosmos DB Throughput Pool

function get(resourceGroupName: string, throughputPoolName: string, throughputPoolAccountName: string, options?: ThroughputPoolAccountGetOptionalParams): Promise<ThroughputPoolAccountResource>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

throughputPoolName

string

Cosmos DB Throughput Pool name.

throughputPoolAccountName

string

Cosmos DB global database account in a Throughput Pool

options
ThroughputPoolAccountGetOptionalParams

The options parameters.

Returns