import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * Create a cluster or object store as the backup target. For a given Prism Central, there can be up to 3 clusters as backup targets and 1 object store as backup target. If any cluster or object store is not eligible for backup or lacks appropriate permissions, the API request will fail. For object store backup targets, specifying backup policy is mandatory along with the location of the object store. * * ## Example Usage * * ### Cluster Location * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * const cluster_location = new nutanix.PcBackupTargetV2("cluster-location", { * domainManagerExtId: "75dde184-3a0e-4f59-a185-03ca1efead17", * location: { * clusterLocations: [{ * configs: [{ * extId: "323860ca-bd10-411e-9fe0-1430b62eaf45", * }], * }], * }, * }); * ``` * * * ### Object Store Location * * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as nutanix from "@pierskarsenbarg/nutanix"; * * //using object store location * const object_store_location = new nutanix.PcBackupTargetV2("object-store-location", { * domainManagerExtId: "75dde184-3a0e-4f59-a185-03ca1efead17", * location: { * objectStoreLocations: [{ * providerConfigs: [{ * bucketName: "nutanix-terraform-bucket", * region: "us-west-1", * credentials: { * accessKeyId: "IHSAJHDHADFWYTKJHFGCJKHASGJHKDSA", * secretAccessKey: "JGSDHJYHGFHGHDS+JKBASDF/HSDAFHJ+SjkfbdsASDfdJFdSDFJfk", * }, * }], * backupPolicies: [{ * rpoInMinutes: 120, * }], * }], * }, * }); * ``` * */ export declare class PcBackupTargetV2 extends pulumi.CustomResource { /** * Get an existing PcBackupTargetV2 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?: PcBackupTargetV2State, opts?: pulumi.CustomResourceOptions): PcBackupTargetV2; /** * Returns true if the given object is an instance of PcBackupTargetV2. 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 PcBackupTargetV2; readonly backupPauseReason: pulumi.Output; /** * -(Required) A unique identifier for the domain manager. */ readonly domainManagerExtId: pulumi.Output; readonly extId: pulumi.Output; readonly isBackupPaused: pulumi.Output; readonly lastSyncTime: pulumi.Output; readonly links: pulumi.Output; /** * -(Required) Location of the backup target. For example, a cluster or an object store endpoint, such as AWS s3. */ readonly location: pulumi.Output; readonly tenantId: pulumi.Output; /** * Create a PcBackupTargetV2 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: PcBackupTargetV2Args, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering PcBackupTargetV2 resources. */ export interface PcBackupTargetV2State { backupPauseReason?: pulumi.Input; /** * -(Required) A unique identifier for the domain manager. */ domainManagerExtId?: pulumi.Input; extId?: pulumi.Input; isBackupPaused?: pulumi.Input; lastSyncTime?: pulumi.Input; links?: pulumi.Input[] | undefined>; /** * -(Required) Location of the backup target. For example, a cluster or an object store endpoint, such as AWS s3. */ location?: pulumi.Input; tenantId?: pulumi.Input; } /** * The set of arguments for constructing a PcBackupTargetV2 resource. */ export interface PcBackupTargetV2Args { /** * -(Required) A unique identifier for the domain manager. */ domainManagerExtId: pulumi.Input; /** * -(Required) Location of the backup target. For example, a cluster or an object store endpoint, such as AWS s3. */ location: pulumi.Input; } //# sourceMappingURL=pcBackupTargetV2.d.ts.map