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

94 lines (93 loc) 4.29 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets details of the specific container registered to your Recovery Services Vault. * * Uses Azure REST API version 2024-10-01. * * Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2024-04-30-preview, 2024-07-30-preview, 2024-11-01-preview, 2025-01-01, 2025-02-01, 2025-02-28-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native recoveryservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getProtectionContainer(args: GetProtectionContainerArgs, opts?: pulumi.InvokeOptions): Promise<GetProtectionContainerResult>; export interface GetProtectionContainerArgs { /** * Name of the container whose details need to be fetched. */ containerName: string; /** * Name of the fabric where the container belongs. */ fabricName: string; /** * The name of the resource group where the recovery services vault is present. */ resourceGroupName: string; /** * The name of the recovery services vault. */ vaultName: string; } /** * Base class for container with backup items. Containers with specific workloads are derived from this class. */ export interface GetProtectionContainerResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Optional ETag. */ readonly eTag?: string; /** * Resource Id represents the complete path to the resource. */ readonly id: string; /** * Resource location. */ readonly location?: string; /** * Resource name associated with the resource. */ readonly name: string; /** * ProtectionContainerResource properties */ readonly properties: outputs.recoveryservices.AzureBackupServerContainerResponse | outputs.recoveryservices.AzureIaaSClassicComputeVMContainerResponse | outputs.recoveryservices.AzureIaaSComputeVMContainerResponse | outputs.recoveryservices.AzureSQLAGWorkloadContainerProtectionContainerResponse | outputs.recoveryservices.AzureSqlContainerResponse | outputs.recoveryservices.AzureStorageContainerResponse | outputs.recoveryservices.AzureVMAppContainerProtectionContainerResponse | outputs.recoveryservices.AzureWorkloadContainerResponse | outputs.recoveryservices.DpmContainerResponse | outputs.recoveryservices.GenericContainerResponse | outputs.recoveryservices.IaaSVMContainerResponse | outputs.recoveryservices.MabContainerResponse; /** * Resource tags. */ readonly tags?: { [key: string]: string; }; /** * Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/... */ readonly type: string; } /** * Gets details of the specific container registered to your Recovery Services Vault. * * Uses Azure REST API version 2024-10-01. * * Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2024-04-30-preview, 2024-07-30-preview, 2024-11-01-preview, 2025-01-01, 2025-02-01, 2025-02-28-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native recoveryservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getProtectionContainerOutput(args: GetProtectionContainerOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProtectionContainerResult>; export interface GetProtectionContainerOutputArgs { /** * Name of the container whose details need to be fetched. */ containerName: pulumi.Input<string>; /** * Name of the fabric where the container belongs. */ fabricName: pulumi.Input<string>; /** * The name of the resource group where the recovery services vault is present. */ resourceGroupName: pulumi.Input<string>; /** * The name of the recovery services vault. */ vaultName: pulumi.Input<string>; }