import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Deployment Backup resource in Oracle Cloud Infrastructure Golden Gate service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/goldengate/latest/DeploymentBackup * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/goldengate * * Creates a new DeploymentBackup. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDeploymentBackup = new oci.goldengate.DeploymentBackup("test_deployment_backup", { * bucket: deploymentBackupBucket, * compartmentId: compartmentId, * deploymentId: testDeployment.id, * displayName: deploymentBackupDisplayName, * namespace: deploymentBackupNamespace, * object: deploymentBackupObject, * definedTags: { * "foo-namespace.bar-key": "value", * }, * freeformTags: { * "bar-key": "value", * }, * isMetadataOnly: deploymentBackupIsMetadataOnly === "true", * locks: [{ * type: deploymentBackupLocksType, * message: deploymentBackupLocksMessage, * }], * }); * ``` * * ## Import * * DeploymentBackups can be imported using the `id`, e.g. * * ```sh * $ pulumi import oci:GoldenGate/deploymentBackup:DeploymentBackup test_deployment_backup "id" * ``` */ export declare class DeploymentBackup extends pulumi.CustomResource { /** * Get an existing DeploymentBackup 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?: DeploymentBackupState, opts?: pulumi.CustomResourceOptions): DeploymentBackup; /** * Returns true if the given object is an instance of DeploymentBackup. 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 DeploymentBackup; /** * Possible deployment backup source types. */ readonly backupSourceType: pulumi.Output; /** * Possible Deployment backup types. */ readonly backupType: pulumi.Output; /** * Name of the bucket where the object is to be uploaded in the object storage */ readonly bucket: pulumi.Output; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ readonly compartmentId: pulumi.Output; /** * (Updatable) Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ readonly definedTags: pulumi.Output<{ [key: string]: string; }>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced. */ readonly deploymentId: pulumi.Output; /** * The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'. */ readonly deploymentType: pulumi.Output; /** * An object's Display Name. */ readonly displayName: pulumi.Output; /** * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ readonly freeformTags: pulumi.Output<{ [key: string]: string; }>; /** * True if this object is automatically created */ readonly isAutomatic: pulumi.Output; readonly isLockOverride: pulumi.Output; /** * Parameter to allow users to create backup without trails */ readonly isMetadataOnly: pulumi.Output; /** * Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. */ readonly lifecycleDetails: pulumi.Output; /** * Locks associated with this resource. */ readonly locks: pulumi.Output; /** * Name of namespace that serves as a container for all of your buckets */ readonly namespace: pulumi.Output; /** * Name of the object to be uploaded to object storage * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly object: pulumi.Output; /** * Version of OGG */ readonly oggVersion: pulumi.Output; /** * The size of the backup stored in object storage (in bytes) */ readonly sizeInBytes: pulumi.Output; /** * Possible lifecycle states for a Deployment Backup. */ readonly state: pulumi.Output; /** * The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ readonly systemTags: pulumi.Output<{ [key: string]: string; }>; /** * The time of the resource backup finish. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeBackupFinished: pulumi.Output; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeCreated: pulumi.Output; /** * The time of the resource backup. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeOfBackup: pulumi.Output; /** * The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ readonly timeUpdated: pulumi.Output; /** * Create a DeploymentBackup 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: DeploymentBackupArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DeploymentBackup resources. */ export interface DeploymentBackupState { /** * Possible deployment backup source types. */ backupSourceType?: pulumi.Input; /** * Possible Deployment backup types. */ backupType?: pulumi.Input; /** * Name of the bucket where the object is to be uploaded in the object storage */ bucket?: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ compartmentId?: pulumi.Input; /** * (Updatable) Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced. */ deploymentId?: pulumi.Input; /** * The type of deployment, which can be any one of the Allowed values. NOTE: Use of the value 'OGG' is maintained for backward compatibility purposes. Its use is discouraged in favor of 'DATABASE_ORACLE'. */ deploymentType?: pulumi.Input; /** * An object's Display Name. */ displayName?: pulumi.Input; /** * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * True if this object is automatically created */ isAutomatic?: pulumi.Input; isLockOverride?: pulumi.Input; /** * Parameter to allow users to create backup without trails */ isMetadataOnly?: pulumi.Input; /** * Describes the object's current state in detail. For example, it can be used to provide actionable information for a resource in a Failed state. */ lifecycleDetails?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * Name of namespace that serves as a container for all of your buckets */ namespace?: pulumi.Input; /** * Name of the object to be uploaded to object storage * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ object?: pulumi.Input; /** * Version of OGG */ oggVersion?: pulumi.Input; /** * The size of the backup stored in object storage (in bytes) */ sizeInBytes?: pulumi.Input; /** * Possible lifecycle states for a Deployment Backup. */ state?: pulumi.Input; /** * The system tags associated with this resource, if any. The system tags are set by Oracle Cloud Infrastructure services. Each key is predefined and scoped to namespaces. For more information, see [Resource Tags](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/resourcetags.htm). Example: `{orcl-cloud: {free-tier-retain: true}}` */ systemTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The time of the resource backup finish. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeBackupFinished?: pulumi.Input; /** * The time the resource was created. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeCreated?: pulumi.Input; /** * The time of the resource backup. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeOfBackup?: pulumi.Input; /** * The time the resource was last updated. The format is defined by [RFC3339](https://tools.ietf.org/html/rfc3339), such as `2016-08-25T21:10:29.600Z`. */ timeUpdated?: pulumi.Input; } /** * The set of arguments for constructing a DeploymentBackup resource. */ export interface DeploymentBackupArgs { /** * Name of the bucket where the object is to be uploaded in the object storage */ bucket: pulumi.Input; /** * (Updatable) The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment being referenced. */ compartmentId: pulumi.Input; /** * (Updatable) Tags defined for this resource. Each key is predefined and scoped to a namespace. Example: `{"foo-namespace.bar-key": "value"}` */ definedTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the deployment being referenced. */ deploymentId: pulumi.Input; /** * An object's Display Name. */ displayName: pulumi.Input; /** * (Updatable) A simple key-value pair that is applied without any predefined name, type, or scope. Exists for cross-compatibility only. Example: `{"bar-key": "value"}` */ freeformTags?: pulumi.Input<{ [key: string]: pulumi.Input; } | undefined>; isLockOverride?: pulumi.Input; /** * Parameter to allow users to create backup without trails */ isMetadataOnly?: pulumi.Input; /** * Locks associated with this resource. */ locks?: pulumi.Input[] | undefined>; /** * Name of namespace that serves as a container for all of your buckets */ namespace: pulumi.Input; /** * Name of the object to be uploaded to object storage * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ object: pulumi.Input; } //# sourceMappingURL=deploymentBackup.d.ts.map