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

103 lines (102 loc) 2.84 kB
import * as pulumi from "@pulumi/pulumi"; /** * Gets the properties of the specified backup policy name. * * Uses Azure REST API version 2017-06-01. */ export declare function getBackupPolicy(args: GetBackupPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupPolicyResult>; export interface GetBackupPolicyArgs { /** * The name of backup policy to be fetched. */ backupPolicyName: string; /** * The device name */ deviceName: string; /** * The manager name */ managerName: string; /** * The resource group name */ resourceGroupName: string; } /** * The backup policy. */ export interface GetBackupPolicyResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The backup policy creation type. Indicates whether this was created through SaaS or through StorSimple Snapshot Manager. */ readonly backupPolicyCreationType: string; /** * The path ID that uniquely identifies the object. */ readonly id: string; /** * The Kind of the object. Currently only Series8000 is supported */ readonly kind?: string; /** * The time of the last backup for the backup policy. */ readonly lastBackupTime: string; /** * The name of the object. */ readonly name: string; /** * The time of the next backup for the backup policy. */ readonly nextBackupTime: string; /** * Indicates whether at least one of the schedules in the backup policy is active or not. */ readonly scheduledBackupStatus: string; /** * The count of schedules the backup policy contains. */ readonly schedulesCount: number; /** * If the backup policy was created by StorSimple Snapshot Manager, then this field indicates the hostname of the StorSimple Snapshot Manager. */ readonly ssmHostName: string; /** * The hierarchical type of the object. */ readonly type: string; /** * The path IDs of the volumes which are part of the backup policy. */ readonly volumeIds: string[]; } /** * Gets the properties of the specified backup policy name. * * Uses Azure REST API version 2017-06-01. */ export declare function getBackupPolicyOutput(args: GetBackupPolicyOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackupPolicyResult>; export interface GetBackupPolicyOutputArgs { /** * The name of backup policy to be fetched. */ backupPolicyName: pulumi.Input<string>; /** * The device name */ deviceName: pulumi.Input<string>; /** * The manager name */ managerName: pulumi.Input<string>; /** * The resource group name */ resourceGroupName: pulumi.Input<string>; }