AutonomousDatabases interface
Interface representing a AutonomousDatabases.
Methods
Method Details
beginCreateOrUpdate(string, string, AutonomousDatabase, AutonomousDatabasesCreateOrUpdateOptionalParams)
Create a AutonomousDatabase
function beginCreateOrUpdate(resourceGroupName: string, autonomousdatabasename: string, resource: AutonomousDatabase, options?: AutonomousDatabasesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
- resource
- AutonomousDatabase
Resource create parameters.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
beginCreateOrUpdateAndWait(string, string, AutonomousDatabase, AutonomousDatabasesCreateOrUpdateOptionalParams)
Create a AutonomousDatabase
function beginCreateOrUpdateAndWait(resourceGroupName: string, autonomousdatabasename: string, resource: AutonomousDatabase, options?: AutonomousDatabasesCreateOrUpdateOptionalParams): Promise<AutonomousDatabase>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
- resource
- AutonomousDatabase
Resource create parameters.
The options parameters.
Returns
Promise<AutonomousDatabase>
beginDelete(string, string, AutonomousDatabasesDeleteOptionalParams)
Delete a AutonomousDatabase
function beginDelete(resourceGroupName: string, autonomousdatabasename: string, options?: AutonomousDatabasesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<AutonomousDatabasesDeleteHeaders>, AutonomousDatabasesDeleteHeaders>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AutonomousDatabasesDeleteHeaders>, AutonomousDatabasesDeleteHeaders>>
beginDeleteAndWait(string, string, AutonomousDatabasesDeleteOptionalParams)
Delete a AutonomousDatabase
function beginDeleteAndWait(resourceGroupName: string, autonomousdatabasename: string, options?: AutonomousDatabasesDeleteOptionalParams): Promise<AutonomousDatabasesDeleteHeaders>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
The options parameters.
Returns
Promise<AutonomousDatabasesDeleteHeaders>
beginFailover(string, string, PeerDbDetails, AutonomousDatabasesFailoverOptionalParams)
Perform failover action on Autonomous Database
function beginFailover(resourceGroupName: string, autonomousdatabasename: string, body: PeerDbDetails, options?: AutonomousDatabasesFailoverOptionalParams): Promise<SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
- body
- PeerDbDetails
The content of the action request
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
beginFailoverAndWait(string, string, PeerDbDetails, AutonomousDatabasesFailoverOptionalParams)
Perform failover action on Autonomous Database
function beginFailoverAndWait(resourceGroupName: string, autonomousdatabasename: string, body: PeerDbDetails, options?: AutonomousDatabasesFailoverOptionalParams): Promise<AutonomousDatabase>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
- body
- PeerDbDetails
The content of the action request
The options parameters.
Returns
Promise<AutonomousDatabase>
beginRestore(string, string, RestoreAutonomousDatabaseDetails, AutonomousDatabasesRestoreOptionalParams)
Restores an Autonomous Database based on the provided request parameters.
function beginRestore(resourceGroupName: string, autonomousdatabasename: string, body: RestoreAutonomousDatabaseDetails, options?: AutonomousDatabasesRestoreOptionalParams): Promise<SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
The content of the action request
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
beginRestoreAndWait(string, string, RestoreAutonomousDatabaseDetails, AutonomousDatabasesRestoreOptionalParams)
Restores an Autonomous Database based on the provided request parameters.
function beginRestoreAndWait(resourceGroupName: string, autonomousdatabasename: string, body: RestoreAutonomousDatabaseDetails, options?: AutonomousDatabasesRestoreOptionalParams): Promise<AutonomousDatabase>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
The content of the action request
The options parameters.
Returns
Promise<AutonomousDatabase>
beginShrink(string, string, AutonomousDatabasesShrinkOptionalParams)
This operation shrinks the current allocated storage down to the current actual used data storage.
function beginShrink(resourceGroupName: string, autonomousdatabasename: string, options?: AutonomousDatabasesShrinkOptionalParams): Promise<SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
beginShrinkAndWait(string, string, AutonomousDatabasesShrinkOptionalParams)
This operation shrinks the current allocated storage down to the current actual used data storage.
function beginShrinkAndWait(resourceGroupName: string, autonomousdatabasename: string, options?: AutonomousDatabasesShrinkOptionalParams): Promise<AutonomousDatabase>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
The options parameters.
Returns
Promise<AutonomousDatabase>
beginSwitchover(string, string, PeerDbDetails, AutonomousDatabasesSwitchoverOptionalParams)
Perform switchover action on Autonomous Database
function beginSwitchover(resourceGroupName: string, autonomousdatabasename: string, body: PeerDbDetails, options?: AutonomousDatabasesSwitchoverOptionalParams): Promise<SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
- body
- PeerDbDetails
The content of the action request
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
beginSwitchoverAndWait(string, string, PeerDbDetails, AutonomousDatabasesSwitchoverOptionalParams)
Perform switchover action on Autonomous Database
function beginSwitchoverAndWait(resourceGroupName: string, autonomousdatabasename: string, body: PeerDbDetails, options?: AutonomousDatabasesSwitchoverOptionalParams): Promise<AutonomousDatabase>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
- body
- PeerDbDetails
The content of the action request
The options parameters.
Returns
Promise<AutonomousDatabase>
beginUpdate(string, string, AutonomousDatabaseUpdate, AutonomousDatabasesUpdateOptionalParams)
Update a AutonomousDatabase
function beginUpdate(resourceGroupName: string, autonomousdatabasename: string, properties: AutonomousDatabaseUpdate, options?: AutonomousDatabasesUpdateOptionalParams): Promise<SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
- properties
- AutonomousDatabaseUpdate
The resource properties to be updated.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<AutonomousDatabase>, AutonomousDatabase>>
beginUpdateAndWait(string, string, AutonomousDatabaseUpdate, AutonomousDatabasesUpdateOptionalParams)
Update a AutonomousDatabase
function beginUpdateAndWait(resourceGroupName: string, autonomousdatabasename: string, properties: AutonomousDatabaseUpdate, options?: AutonomousDatabasesUpdateOptionalParams): Promise<AutonomousDatabase>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
- properties
- AutonomousDatabaseUpdate
The resource properties to be updated.
The options parameters.
Returns
Promise<AutonomousDatabase>
generateWallet(string, string, GenerateAutonomousDatabaseWalletDetails, AutonomousDatabasesGenerateWalletOptionalParams)
Generate wallet action on Autonomous Database
function generateWallet(resourceGroupName: string, autonomousdatabasename: string, body: GenerateAutonomousDatabaseWalletDetails, options?: AutonomousDatabasesGenerateWalletOptionalParams): Promise<AutonomousDatabaseWalletFile>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
The content of the action request
The options parameters.
Returns
Promise<AutonomousDatabaseWalletFile>
get(string, string, AutonomousDatabasesGetOptionalParams)
Get a AutonomousDatabase
function get(resourceGroupName: string, autonomousdatabasename: string, options?: AutonomousDatabasesGetOptionalParams): Promise<AutonomousDatabase>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- autonomousdatabasename
-
string
The database name.
The options parameters.
Returns
Promise<AutonomousDatabase>
listByResourceGroup(string, AutonomousDatabasesListByResourceGroupOptionalParams)
List AutonomousDatabase resources by resource group
function listByResourceGroup(resourceGroupName: string, options?: AutonomousDatabasesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AutonomousDatabase, AutonomousDatabase[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(AutonomousDatabasesListBySubscriptionOptionalParams)
List AutonomousDatabase resources by subscription ID
function listBySubscription(options?: AutonomousDatabasesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AutonomousDatabase, AutonomousDatabase[], PageSettings>
Parameters
The options parameters.
Returns
Azure SDK for JavaScript