@datafire/azure_sql_geobackuppolicies

5.0.0 • Public • Published

@datafire/azure_sql_geobackuppolicies

Client library for Azure SQL Database

Installation and Usage

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

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

Description

Provides read and update functionality for Azure SQL Database geo backup policies.

Actions

GeoBackupPolicies_ListByDatabase

Returns a list of geo backup policies.

azure_sql_geobackuppolicies.GeoBackupPolicies_ListByDatabase({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • 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.
    • serverName required string: The name of the server.
    • databaseName required string: The name of the database.

Output

GeoBackupPolicies_Get

Gets a geo backup policy.

azure_sql_geobackuppolicies.GeoBackupPolicies_Get({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": "",
  "geoBackupPolicyName": ""
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • 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.
    • serverName required string: The name of the server.
    • databaseName required string: The name of the database.
    • geoBackupPolicyName required string (values: Default): The name of the geo backup policy.

Output

GeoBackupPolicies_CreateOrUpdate

Updates a database geo backup policy.

azure_sql_geobackuppolicies.GeoBackupPolicies_CreateOrUpdate({
  "api-version": "",
  "subscriptionId": "",
  "resourceGroupName": "",
  "serverName": "",
  "databaseName": "",
  "geoBackupPolicyName": "",
  "parameters": null
}, context)

Input

  • input object
    • api-version required string: The API version to use for the request.
    • subscriptionId required string: The subscription ID that identifies an Azure subscription.
    • 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.
    • serverName required string: The name of the server.
    • databaseName required string: The name of the database.
    • geoBackupPolicyName required string (values: Default): The name of the geo backup policy.
    • parameters required GeoBackupPolicy

Output

Definitions

GeoBackupPolicy

  • GeoBackupPolicy object: A database geo backup policy.
    • kind string: Kind of geo backup policy. This is metadata used for the Azure portal experience.
    • location string: Backup policy location.
    • properties required GeoBackupPolicyProperties
    • id string: Resource ID.
    • name string: Resource name.
    • type string: Resource type.

GeoBackupPolicyListResult

  • GeoBackupPolicyListResult object: The response to a list geo backup policies request.

GeoBackupPolicyProperties

  • GeoBackupPolicyProperties object: The properties of the geo backup policy.
    • state required string (values: Disabled, Enabled): The state of the geo backup policy.
    • storageType string: The storage type of the geo backup policy.

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/azure_sql_geobackuppolicies

Weekly Downloads

0

Version

5.0.0

License

MIT

Unpacked Size

20 kB

Total Files

4

Last publish

Collaborators

  • datafire