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

73 lines (72 loc) 2.49 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../types/output"; /** * Gets the details of the protected item. * * Uses Azure REST API version 2021-02-16-preview. * * Other available API versions: 2024-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datareplication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getProtectedItem(args: GetProtectedItemArgs, opts?: pulumi.InvokeOptions): Promise<GetProtectedItemResult>; export interface GetProtectedItemArgs { /** * The protected item name. */ protectedItemName: string; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: string; /** * The vault name. */ vaultName: string; } /** * Protected item model. */ export interface GetProtectedItemResult { /** * The Azure API version of the resource. */ readonly azureApiVersion: string; /** * Gets or sets the Id of the resource. */ readonly id: string; /** * Gets or sets the name of the resource. */ readonly name: string; /** * Protected item model properties. */ readonly properties: outputs.datareplication.ProtectedItemModelPropertiesResponse; readonly systemData: outputs.datareplication.ProtectedItemModelResponseSystemData; /** * Gets or sets the type of the resource. */ readonly type: string; } /** * Gets the details of the protected item. * * Uses Azure REST API version 2021-02-16-preview. * * Other available API versions: 2024-09-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native datareplication [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details. */ export declare function getProtectedItemOutput(args: GetProtectedItemOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetProtectedItemResult>; export interface GetProtectedItemOutputArgs { /** * The protected item name. */ protectedItemName: pulumi.Input<string>; /** * The name of the resource group. The name is case insensitive. */ resourceGroupName: pulumi.Input<string>; /** * The vault name. */ vaultName: pulumi.Input<string>; }