import * as pulumi from "@pulumi/pulumi"; /** * Promotes the specified synced entity at the target site. This is only relevant if the synced entity is protected in a synchronous schedule. * * ## Example: * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * // create a category and a protection policy on the local site * // promote the protected virtual machine on the remote site * const promote_example = new nutanix.PromoteProtectedResourceV2("promote-example", {extId: "d22529bb-f02d-4710-894b-d1de772d7832"}); * ``` * */ export declare class PromoteProtectedResourceV2 extends pulumi.CustomResource { /** * Get an existing PromoteProtectedResourceV2 resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: PromoteProtectedResourceV2State, opts?: pulumi.CustomResourceOptions): PromoteProtectedResourceV2; /** * Returns true if the given object is an instance of PromoteProtectedResourceV2. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is PromoteProtectedResourceV2; /** * -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource. * * * See detailed information in [Nutanix Promote Protected Resource v4](https://developers.nutanix.com/api-reference?namespace=dataprotection&version=v4.3#tag/ProtectedResources/operation/promoteProtectedResource). */ readonly extId: pulumi.Output; /** * Create a PromoteProtectedResourceV2 resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: PromoteProtectedResourceV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PromoteProtectedResourceV2 resources. */ export interface PromoteProtectedResourceV2State { /** * -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource. * * * See detailed information in [Nutanix Promote Protected Resource v4](https://developers.nutanix.com/api-reference?namespace=dataprotection&version=v4.3#tag/ProtectedResources/operation/promoteProtectedResource). */ extId?: pulumi.Input; } /** * The set of arguments for constructing a PromoteProtectedResourceV2 resource. */ export interface PromoteProtectedResourceV2Args { /** * -(Required) The external identifier of a protected VM or volume group that can be used to retrieve the protected resource. * * * See detailed information in [Nutanix Promote Protected Resource v4](https://developers.nutanix.com/api-reference?namespace=dataprotection&version=v4.3#tag/ProtectedResources/operation/promoteProtectedResource). */ extId: pulumi.Input; } //# sourceMappingURL=promoteProtectedResourceV2.d.ts.map