@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 2.49 kB
TypeScript
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>;
}