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

108 lines (107 loc) 2.72 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the properties of the specified backup schedule name. * * Uses Azure REST API version 2017-06-01. */ export declare function getBackupSchedule(args: GetBackupScheduleArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupScheduleResult>; export interface GetBackupScheduleArgs { /** * The backup policy name. */ backupPolicyName: string; /** * The name of the backup schedule to be fetched */ backupScheduleName: string; /** * The device name */ deviceName: string; /** * The manager name */ managerName: string; /** * The resource group name */ resourceGroupName: string; } /** * The backup schedule. */ export interface GetBackupScheduleResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * The type of backup which needs to be taken. */ readonly backupType: 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 last successful backup run which was triggered for the schedule. */ readonly lastSuccessfulRun: string; /** * The name of the object. */ readonly name: string; /** * The number of backups to be retained. */ readonly retentionCount: number; /** * The schedule recurrence. */ readonly scheduleRecurrence: outputs.storsimple.ScheduleRecurrenceResponse; /** * The schedule status. */ readonly scheduleStatus: string; /** * The start time of the schedule. */ readonly startTime: string; /** * The hierarchical type of the object. */ readonly type: string; } /** * Gets the properties of the specified backup schedule name. * * Uses Azure REST API version 2017-06-01. */ export declare function getBackupScheduleOutput(args: GetBackupScheduleOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackupScheduleResult>; export interface GetBackupScheduleOutputArgs { /** * The backup policy name. */ backupPolicyName: pulumi.Input<string>; /** * The name of the backup schedule to be fetched */ backupScheduleName: 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>; }