@pulumi/azure-native
Version:
[](https://slack.pulumi.com) [](https://npmjs.com/package/@pulumi/azure-native) [ • 3.08 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
import * as outputs from "../types/output";
/**
* Gets the details of an ASR replication protection cluster.
*
* Uses Azure REST API version 2024-10-01.
*
* Other available API versions: 2024-02-01, 2024-04-01, 2025-01-01, 2025-02-01. 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 getReplicationProtectionCluster(args: GetReplicationProtectionClusterArgs, opts?: pulumi.InvokeOptions): Promise<GetReplicationProtectionClusterResult>;
export interface GetReplicationProtectionClusterArgs {
/**
* Fabric name.
*/
fabricName: string;
/**
* Protection container name.
*/
protectionContainerName: string;
/**
* Replication protection cluster name.
*/
replicationProtectionClusterName: string;
/**
* The name of the resource group where the recovery services vault is present.
*/
resourceGroupName: string;
/**
* The name of the recovery services vault.
*/
resourceName: string;
}
/**
* Replication protection Cluster.
*/
export interface GetReplicationProtectionClusterResult {
/**
* The Azure API version of the resource.
*/
readonly azureApiVersion: string;
/**
* The protection cluster Id.
*/
readonly id: string;
/**
* The name of the protection cluster.
*/
readonly name: string;
/**
* The custom data.
*/
readonly properties: outputs.recoveryservices.ReplicationProtectionClusterPropertiesResponse;
/**
* The Type of the object.
*/
readonly type: string;
}
/**
* Gets the details of an ASR replication protection cluster.
*
* Uses Azure REST API version 2024-10-01.
*
* Other available API versions: 2024-02-01, 2024-04-01, 2025-01-01, 2025-02-01. 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 getReplicationProtectionClusterOutput(args: GetReplicationProtectionClusterOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetReplicationProtectionClusterResult>;
export interface GetReplicationProtectionClusterOutputArgs {
/**
* Fabric name.
*/
fabricName: pulumi.Input<string>;
/**
* Protection container name.
*/
protectionContainerName: pulumi.Input<string>;
/**
* Replication protection cluster name.
*/
replicationProtectionClusterName: 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.
*/
resourceName: pulumi.Input<string>;
}