3.0.0 • Published 5 years ago

@datafire/azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

@datafire/azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion

Client library for SqlManagementClient

Installation and Usage

npm install --save @datafire/azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion
let azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion = require('@datafire/azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion').create({
  access_token: "",
  refresh_token: "",
  client_id: "",
  client_secret: "",
  redirect_uri: ""
});

.then(data => {
  console.log(data);
});

Description

The Azure SQL Database management API provides a RESTful set of web APIs that interact with Azure SQL Database services to manage your databases. The API enables users to create, retrieve, update, and delete databases, servers, and other entities.

Actions

ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_ListByRestorableDroppedDatabase

Gets a dropped database's short term retention policy list.

azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_ListByRestorableDroppedDatabase({
  "resourceGroupName": "",
  "managedInstanceName": "",
  "restorableDroppedDatabaseId": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • managedInstanceName required string: The name of the managed instance.
    • restorableDroppedDatabaseId required string
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.

Output

ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_Get

Gets a dropped database's short term retention policy.

azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_Get({
  "resourceGroupName": "",
  "managedInstanceName": "",
  "restorableDroppedDatabaseId": "",
  "policyName": "",
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • managedInstanceName required string: The name of the managed instance.
    • restorableDroppedDatabaseId required string
    • policyName required string (values: default): The policy name.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.

Output

ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_Update

Sets a database's long term retention policy.

azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_Update({
  "resourceGroupName": "",
  "managedInstanceName": "",
  "restorableDroppedDatabaseId": "",
  "policyName": "",
  "parameters": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • managedInstanceName required string: The name of the managed instance.
    • restorableDroppedDatabaseId required string
    • policyName required string (values: default): The policy name. Should always be "default".
    • parameters required ManagedBackupShortTermRetentionPolicy
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.

Output

ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_CreateOrUpdate

Sets a database's long term retention policy.

azure_sql_managedrestorabledroppeddatabasebackupshorttermretenion.ManagedRestorableDroppedDatabaseBackupShortTermRetentionPolicies_CreateOrUpdate({
  "resourceGroupName": "",
  "managedInstanceName": "",
  "restorableDroppedDatabaseId": "",
  "policyName": "",
  "parameters": {},
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • resourceGroupName required string: The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.
    • managedInstanceName required string: The name of the managed instance.
    • restorableDroppedDatabaseId required string
    • policyName required string (values: default): The policy name. Should always be "default".
    • parameters required ManagedBackupShortTermRetentionPolicy
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • api-version required string: The API version to use for the request.

Output

Definitions

ManagedBackupShortTermRetentionPolicy

ManagedBackupShortTermRetentionPolicyListResult

  • ManagedBackupShortTermRetentionPolicyListResult object: A list of short term retention policies.

ManagedBackupShortTermRetentionPolicyProperties

  • ManagedBackupShortTermRetentionPolicyProperties object: Properties of a short term retention policy
    • retentionDays integer: The backup retention period in days. This is how many days Point-in-Time Restore will be supported.

ProxyResource

  • ProxyResource object: ARM proxy resource.
    • id string: Resource ID.
    • name string: Resource name.
    • type string: Resource type.

Resource

  • Resource object: ARM resource.
    • id string: Resource ID.
    • name string: Resource name.
    • type string: Resource type.