Client library for Azure SQL Server Backup Long Term Retention Vault
npm install --save @datafire/azure_sql_backuplongtermretentionvaults
let azure_sql_backuplongtermretentionvaults = require('@datafire/azure_sql_backuplongtermretentionvaults').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
Provides read and update functionality for Azure SQL Server backup long term retention vault
Gets server backup long term retention vaults in a server
azure_sql_backuplongtermretentionvaults.BackupLongTermRetentionVaults_ListByServer({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": ""
}, context)
- 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.
- api-version required
Gets a server backup long term retention vault
azure_sql_backuplongtermretentionvaults.BackupLongTermRetentionVaults_Get({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"backupLongTermRetentionVaultName": ""
}, context)
- 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. - backupLongTermRetentionVaultName required
string
(values: RegisteredVault): The name of the Azure SQL Server backup LongTermRetention vault
- api-version required
- output BackupLongTermRetentionVault
Updates a server backup long term retention vault
azure_sql_backuplongtermretentionvaults.BackupLongTermRetentionVaults_CreateOrUpdate({
"api-version": "",
"subscriptionId": "",
"resourceGroupName": "",
"serverName": "",
"backupLongTermRetentionVaultName": "",
"parameters": null
}, context)
- 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. - backupLongTermRetentionVaultName required
string
(values: RegisteredVault): The name of the backup long term retention vault - parameters required BackupLongTermRetentionVault
- api-version required
- output BackupLongTermRetentionVault
- BackupLongTermRetentionVault
object
: A backup long term retention vault- location
string
: The geo-location where the resource lives - properties BackupLongTermRetentionVaultProperties
- id
string
: Resource ID. - name
string
: Resource name. - type
string
: Resource type.
- location
- BackupLongTermRetentionVaultListResult
object
: Represents the response to a list vaults request.- value required
array
: The list of vaults in the server.
- value required
- BackupLongTermRetentionVaultProperties
object
: The properties of a backup long term retention vault.- recoveryServicesVaultResourceId required
string
: The azure recovery services vault resource id
- recoveryServicesVaultResourceId required