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

82 lines (81 loc) 3.17 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets a backup instance with name in a backup vault * * Uses Azure REST API version 2025-01-01. * * Other available API versions: 2023-01-01, 2023-04-01-preview, 2023-05-01, 2023-06-01-preview, 2023-08-01-preview, 2023-11-01, 2023-12-01, 2024-02-01-preview, 2024-03-01, 2024-04-01, 2025-02-01, 2025-07-01, 2025-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dataprotection [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getBackupInstance(args: GetBackupInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetBackupInstanceResult>; export interface GetBackupInstanceArgs { /** * The name of the backup instance. */ backupInstanceName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The name of the backup vault. */ vaultName: string; } /** * BackupInstance Resource */ export interface GetBackupInstanceResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Proxy Resource Id represents the complete path to the resource. */ readonly id: string; /** * Proxy Resource name associated with the resource. */ readonly name: string; /** * BackupInstanceResource properties */ readonly properties: outputs.dataprotection.BackupInstanceResponse; /** * Metadata pertaining to creation and last modification of the resource. */ readonly systemData: outputs.dataprotection.SystemDataResponse; /** * Proxy Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Proxy Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... */ readonly type: string; } /** * Gets a backup instance with name in a backup vault * * Uses Azure REST API version 2025-01-01. * * Other available API versions: 2023-01-01, 2023-04-01-preview, 2023-05-01, 2023-06-01-preview, 2023-08-01-preview, 2023-11-01, 2023-12-01, 2024-02-01-preview, 2024-03-01, 2024-04-01, 2025-02-01, 2025-07-01, 2025-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dataprotection [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getBackupInstanceOutput(args: GetBackupInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetBackupInstanceResult>; export interface GetBackupInstanceOutputArgs { /** * The name of the backup instance. */ backupInstanceName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The name of the backup vault. */ vaultName: pulumi.Input<string>; }