@datafire/azure_recoveryservices_vaults

5.0.0 • Public • Published

@datafire/azure_recoveryservices_vaults

Client library for RecoveryServicesClient

Installation and Usage

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

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

Description

Actions

Operations_List

Returns the list of available operations.

azure_recoveryservices_vaults.Operations_List({
  "api-version": ""
}, context)

Input

  • input object
    • api-version required string: Client Api Version.

Output

Vaults_ListBySubscriptionId

Fetches all the resources of the specified type in the subscription.

azure_recoveryservices_vaults.Vaults_ListBySubscriptionId({
  "subscriptionId": "",
  "api-version": ""
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • api-version required string: Client Api Version.

Output

RecoveryServices_CheckNameAvailability

API to check for resource name availability. A name is available if no other resource exists that has the same SubscriptionId, Resource Name and Type or if one or more such resources exist, each of these must be GC'd and their time of deletion be more than 24 Hours Ago

azure_recoveryservices_vaults.RecoveryServices_CheckNameAvailability({
  "subscriptionId": "",
  "resourceGroupName": "",
  "api-version": "",
  "location": "",
  "input": {}
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.
    • api-version required string: Client Api Version.
    • location required string: Location of the resource
    • input required CheckNameAvailabilityParameters

Output

Vaults_ListByResourceGroup

Retrieve a list of Vaults.

azure_recoveryservices_vaults.Vaults_ListByResourceGroup({
  "subscriptionId": "",
  "api-version": "",
  "resourceGroupName": ""
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • api-version required string: Client Api Version.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.

Output

Vaults_Delete

Deletes a vault.

azure_recoveryservices_vaults.Vaults_Delete({
  "subscriptionId": "",
  "api-version": "",
  "resourceGroupName": "",
  "vaultName": ""
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • api-version required string: Client Api Version.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.
    • vaultName required string: The name of the recovery services vault.

Output

Output schema unknown

Vaults_Get

Get the Vault details.

azure_recoveryservices_vaults.Vaults_Get({
  "subscriptionId": "",
  "api-version": "",
  "resourceGroupName": "",
  "vaultName": ""
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • api-version required string: Client Api Version.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.
    • vaultName required string: The name of the recovery services vault.

Output

Vaults_Update

Updates the vault.

azure_recoveryservices_vaults.Vaults_Update({
  "subscriptionId": "",
  "api-version": "",
  "resourceGroupName": "",
  "vaultName": "",
  "vault": {}
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • api-version required string: Client Api Version.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.
    • vaultName required string: The name of the recovery services vault.
    • vault required PatchVault

Output

Vaults_CreateOrUpdate

Creates or updates a Recovery Services vault.

azure_recoveryservices_vaults.Vaults_CreateOrUpdate({
  "subscriptionId": "",
  "api-version": "",
  "resourceGroupName": "",
  "vaultName": "",
  "vault": {
    "location": ""
  }
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • api-version required string: Client Api Version.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.
    • vaultName required string: The name of the recovery services vault.
    • vault required Vault

Output

VaultExtendedInfo_Get

Get the vault extended info.

azure_recoveryservices_vaults.VaultExtendedInfo_Get({
  "subscriptionId": "",
  "api-version": "",
  "resourceGroupName": "",
  "vaultName": ""
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • api-version required string: Client Api Version.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.
    • vaultName required string: The name of the recovery services vault.

Output

VaultExtendedInfo_Update

Update vault extended info.

azure_recoveryservices_vaults.VaultExtendedInfo_Update({
  "subscriptionId": "",
  "resourceGroupName": "",
  "vaultName": "",
  "api-version": "",
  "resourceResourceExtendedInfoDetails": {}
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.
    • vaultName required string: The name of the recovery services vault.
    • api-version required string: Client Api Version.
    • resourceResourceExtendedInfoDetails required VaultExtendedInfoResource

Output

VaultExtendedInfo_CreateOrUpdate

Create vault extended info.

azure_recoveryservices_vaults.VaultExtendedInfo_CreateOrUpdate({
  "subscriptionId": "",
  "resourceGroupName": "",
  "vaultName": "",
  "api-version": "",
  "resourceResourceExtendedInfoDetails": {}
}, context)

Input

  • input object
    • subscriptionId required string: The subscription Id.
    • resourceGroupName required string: The name of the resource group where the recovery services vault is present.
    • vaultName required string: The name of the recovery services vault.
    • api-version required string: Client Api Version.
    • resourceResourceExtendedInfoDetails required VaultExtendedInfoResource

Output

Definitions

CheckNameAvailabilityParameters

  • CheckNameAvailabilityParameters object: Resource Name availability input parameters - Resource type and resource name
    • name string: Resource name for which availability needs to be checked
    • type string: Describes the Resource type: Microsoft.RecoveryServices/Vaults

CheckNameAvailabilityResult

  • CheckNameAvailabilityResult object: Response for check name availability API. Resource provider will set availability as true | false.
    • message string
    • nameAvailable boolean
    • reason string

CheckNameAvailabilityResultResource

  • CheckNameAvailabilityResultResource object: Response for check name availability API. Resource provider will set availability as true | false.
    • properties CheckNameAvailabilityResult
    • eTag string: Optional ETag.
    • id string: Resource Id represents the complete path to the resource.
    • name string: Resource name associated with the resource.
    • type string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

ClientDiscoveryDisplay

  • ClientDiscoveryDisplay object: Localized display information of an operation.
    • description string: Description of the operation having details of what operation is about.
    • operation string: Operations Name itself.
    • provider string: Name of the provider for display purposes
    • resource string: ResourceType for which this Operation can be performed.

ClientDiscoveryForLogSpecification

  • ClientDiscoveryForLogSpecification object: Class to represent shoebox log specification in json client discovery.
    • blobDuration string: Blobs created in customer storage account per hour
    • displayName string: Localized display name
    • name string: Name of the log.

ClientDiscoveryForProperties

ClientDiscoveryForServiceSpecification

  • ClientDiscoveryForServiceSpecification object: Class to represent shoebox service specification in json client discovery.

ClientDiscoveryResponse

  • ClientDiscoveryResponse object: Operations List response which contains list of available APIs.

ClientDiscoveryValueForSingleApi

  • ClientDiscoveryValueForSingleApi object: Available operation details.

PatchTrackedResource

  • PatchTrackedResource object: Tracked resource with location.
    • location string: Resource location.
    • tags object: Resource tags.
    • eTag string: Optional ETag.
    • id string: Resource Id represents the complete path to the resource.
    • name string: Resource name associated with the resource.
    • type string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

PatchVault

  • PatchVault object: Patch Resource information, as returned by the resource provider.
    • properties VaultProperties
    • sku Sku
    • location string: Resource location.
    • tags object: Resource tags.
    • eTag string: Optional ETag.
    • id string: Resource Id represents the complete path to the resource.
    • name string: Resource name associated with the resource.
    • type string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Resource

  • Resource object: ARM Resource.
    • eTag string: Optional ETag.
    • id string: Resource Id represents the complete path to the resource.
    • name string: Resource name associated with the resource.
    • type string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

Sku

  • Sku object: Identifies the unique system identifier for each Azure resource.
    • name required string (values: Standard, RS0): The Sku name.

TrackedResource

  • TrackedResource object: Tracked resource with location.
    • location required string: Resource location.
    • tags object: Resource tags.
    • eTag string: Optional ETag.
    • id string: Resource Id represents the complete path to the resource.
    • name string: Resource name associated with the resource.
    • type string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

UpgradeDetails

  • UpgradeDetails object: Details for upgrading vault.
    • endTimeUtc string: UTC time at which the upgrade operation has ended.
    • lastUpdatedTimeUtc string: UTC time at which the upgrade operation status was last updated.
    • message string: Message to the user containing information about the upgrade operation.
    • operationId string: ID of the vault upgrade operation.
    • previousResourceId string: Resource ID of the vault before the upgrade.
    • startTimeUtc string: UTC time at which the upgrade operation has started.
    • status string (values: Unknown, InProgress, Upgraded, Failed): Status of the vault upgrade operation.
    • triggerType string (values: UserTriggered, ForcedUpgrade): The way the vault upgrade was triggered.
    • upgradedResourceId string: Resource ID of the upgraded vault.

Vault

  • Vault object: Resource information, as returned by the resource provider.
    • properties VaultProperties
    • sku Sku
    • location required string: Resource location.
    • tags object: Resource tags.
    • eTag string: Optional ETag.
    • id string: Resource Id represents the complete path to the resource.
    • name string: Resource name associated with the resource.
    • type string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

VaultExtendedInfo

  • VaultExtendedInfo object: Vault extended information.
    • algorithm string: Algorithm for Vault ExtendedInfo
    • encryptionKey string: Encryption key.
    • encryptionKeyThumbprint string: Encryption key thumbprint.
    • integrityKey string: Integrity key.

VaultExtendedInfoResource

  • VaultExtendedInfoResource object: Vault extended information.
    • properties VaultExtendedInfo
    • eTag string: Optional ETag.
    • id string: Resource Id represents the complete path to the resource.
    • name string: Resource name associated with the resource.
    • type string: Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

VaultList

  • VaultList object: The response model for a list of Vaults.
    • nextLink string
    • value array

VaultProperties

  • VaultProperties object: Properties of the vault.
    • provisioningState string: Provisioning State.
    • upgradeDetails UpgradeDetails

Readme

Keywords

none

Package Sidebar

Install

npm i @datafire/azure_recoveryservices_vaults

Weekly Downloads

1

Version

5.0.0

License

MIT

Unpacked Size

81.8 kB

Total Files

4

Last publish

Collaborators

  • datafire