UNPKG

@pulumi/azure-native

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fazure-native.svg)](https://npmjs.com/package/@pulumi/azure-native) [![Python version](https://badge.fury.io/py/pu

124 lines (123 loc) 3.3 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the specified backup of the volume * * Uses Azure REST API version 2022-11-01. */ export declare function getCapacityPoolBackup(args: GetCapacityPoolBackupArgs, opts?: pulumi.InvokeOptions): Promise<GetCapacityPoolBackupResult>; export interface GetCapacityPoolBackupArgs { /** * The name of the NetApp account */ accountName: string; /** * The name of the backup */ backupName: string; /** * The name of the capacity pool */ poolName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the volume */ volumeName: string; } /** * Backup of a Volume */ export interface GetCapacityPoolBackupResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * UUID v4 used to identify the Backup */ readonly backupId: string; /** * Type of backup Manual or Scheduled */ readonly backupType: string; /** * The creation date of the backup */ readonly creationDate: string; /** * Failure reason */ readonly failureReason: string; /** * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName} */ readonly id: string; /** * Label for backup */ readonly label?: string; /** * Resource location */ readonly location: string; /** * The name of the resource */ readonly name: string; /** * Azure lifecycle management */ readonly provisioningState: string; /** * Size of backup */ readonly size: number; /** * Azure Resource Manager metadata containing createdBy and modifiedBy information. */ readonly systemData: outputs.netapp.SystemDataResponse; /** * The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts" */ readonly type: string; /** * Manual backup an already existing snapshot. This will always be false for scheduled backups and true/false for manual backups */ readonly useExistingSnapshot?: boolean; /** * Volume name */ readonly volumeName: string; } /** * Gets the specified backup of the volume * * Uses Azure REST API version 2022-11-01. */ export declare function getCapacityPoolBackupOutput(args: GetCapacityPoolBackupOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetCapacityPoolBackupResult>; export interface GetCapacityPoolBackupOutputArgs { /** * The name of the NetApp account */ accountName: pulumi.Input<string>; /** * The name of the backup */ backupName: pulumi.Input<string>; /** * The name of the capacity pool */ poolName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the volume */ volumeName: pulumi.Input<string>; }