Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkebackup/v1.Backup
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Backup for the given BackupPlan. Auto-naming is currently not supported for this resource.
Create Backup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Backup(name: string, args: BackupArgs, opts?: CustomResourceOptions);
@overload
def Backup(resource_name: str,
args: BackupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Backup(resource_name: str,
opts: Optional[ResourceOptions] = None,
backup_plan_id: Optional[str] = None,
backup_id: Optional[str] = None,
delete_lock_days: Optional[int] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
project: Optional[str] = None,
retain_days: Optional[int] = None)
func NewBackup(ctx *Context, name string, args BackupArgs, opts ...ResourceOption) (*Backup, error)
public Backup(string name, BackupArgs args, CustomResourceOptions? opts = null)
public Backup(String name, BackupArgs args)
public Backup(String name, BackupArgs args, CustomResourceOptions options)
type: google-native:gkebackup/v1:Backup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplebackupResourceResourceFromGkebackupv1 = new GoogleNative.Gkebackup.V1.Backup("examplebackupResourceResourceFromGkebackupv1", new()
{
BackupPlanId = "string",
BackupId = "string",
DeleteLockDays = 0,
Description = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Project = "string",
RetainDays = 0,
});
example, err := gkebackup.NewBackup(ctx, "examplebackupResourceResourceFromGkebackupv1", &gkebackup.BackupArgs{
BackupPlanId: pulumi.String("string"),
BackupId: pulumi.String("string"),
DeleteLockDays: pulumi.Int(0),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
RetainDays: pulumi.Int(0),
})
var examplebackupResourceResourceFromGkebackupv1 = new Backup("examplebackupResourceResourceFromGkebackupv1", BackupArgs.builder()
.backupPlanId("string")
.backupId("string")
.deleteLockDays(0)
.description("string")
.labels(Map.of("string", "string"))
.location("string")
.project("string")
.retainDays(0)
.build());
examplebackup_resource_resource_from_gkebackupv1 = google_native.gkebackup.v1.Backup("examplebackupResourceResourceFromGkebackupv1",
backup_plan_id="string",
backup_id="string",
delete_lock_days=0,
description="string",
labels={
"string": "string",
},
location="string",
project="string",
retain_days=0)
const examplebackupResourceResourceFromGkebackupv1 = new google_native.gkebackup.v1.Backup("examplebackupResourceResourceFromGkebackupv1", {
backupPlanId: "string",
backupId: "string",
deleteLockDays: 0,
description: "string",
labels: {
string: "string",
},
location: "string",
project: "string",
retainDays: 0,
});
type: google-native:gkebackup/v1:Backup
properties:
backupId: string
backupPlanId: string
deleteLockDays: 0
description: string
labels:
string: string
location: string
project: string
retainDays: 0
Backup Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The Backup resource accepts the following input properties:
- Backup
Plan stringId - Backup
Id string - Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
- Delete
Lock intDays - Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).
- Description string
- Optional. User specified descriptive string for this Backup.
- Labels Dictionary<string, string>
- Optional. A set of custom labels supplied by user.
- Location string
- Project string
- Retain
Days int - Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.
- Backup
Plan stringId - Backup
Id string - Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
- Delete
Lock intDays - Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).
- Description string
- Optional. User specified descriptive string for this Backup.
- Labels map[string]string
- Optional. A set of custom labels supplied by user.
- Location string
- Project string
- Retain
Days int - Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.
- backup
Plan StringId - backup
Id String - Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
- delete
Lock IntegerDays - Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).
- description String
- Optional. User specified descriptive string for this Backup.
- labels Map<String,String>
- Optional. A set of custom labels supplied by user.
- location String
- project String
- retain
Days Integer - Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.
- backup
Plan stringId - backup
Id string - Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
- delete
Lock numberDays - Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).
- description string
- Optional. User specified descriptive string for this Backup.
- labels {[key: string]: string}
- Optional. A set of custom labels supplied by user.
- location string
- project string
- retain
Days number - Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.
- backup_
plan_ strid - backup_
id str - Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
- delete_
lock_ intdays - Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).
- description str
- Optional. User specified descriptive string for this Backup.
- labels Mapping[str, str]
- Optional. A set of custom labels supplied by user.
- location str
- project str
- retain_
days int - Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.
- backup
Plan StringId - backup
Id String - Optional. The client-provided short name for the Backup resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Backups in this BackupPlan
- delete
Lock NumberDays - Optional. Minimum age for this Backup (in days). If this field is set to a non-zero value, the Backup will be "locked" against deletion (either manual or automatic deletion) for the number of days provided (measured from the creation time of the Backup). MUST be an integer value between 0-90 (inclusive). Defaults to parent BackupPlan's backup_delete_lock_days setting and may only be increased (either at creation time or in a subsequent update).
- description String
- Optional. User specified descriptive string for this Backup.
- labels Map<String>
- Optional. A set of custom labels supplied by user.
- location String
- project String
- retain
Days Number - Optional. The age (in days) after which this Backup will be automatically deleted. Must be an integer value >= 0: - If 0, no automatic deletion will occur for this Backup. - If not 0, this must be >= delete_lock_days and <= 365. Once a Backup is created, this value may only be increased. Defaults to the parent BackupPlan's backup_retain_days value.
Outputs
All input properties are implicitly available as output properties. Additionally, the Backup resource produces the following output properties:
- All
Namespaces bool - If True, all namespaces were included in the Backup.
- Cluster
Metadata Pulumi.Google Native. Gkebackup. V1. Outputs. Cluster Metadata Response - Information about the GKE cluster from which this Backup was created.
- Complete
Time string - Completion time of the Backup
- Config
Backup stringSize Bytes - The size of the config backup in bytes.
- Contains
Secrets bool - Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.
- Contains
Volume boolData - Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.
- Create
Time string - The timestamp when this Backup resource was created.
- Delete
Lock stringExpire Time - The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).
- Encryption
Key Pulumi.Google Native. Gkebackup. V1. Outputs. Encryption Key Response - The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.
- Etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform backup updates in order to avoid race conditions: Anetag
is returned in the response toGetBackup
, and systems are expected to put that etag in the request toUpdateBackup
orDeleteBackup
to ensure that their change will be applied to the same version of the resource.- Id string
- The provider-assigned unique ID for this managed resource.
- Manual bool
- This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
- Name string
- The fully qualified name of the Backup.
projects/*/locations/*/backupPlans/*/backups/*
- Pod
Count int - The total number of Kubernetes Pods contained in the Backup.
- Resource
Count int - The total number of Kubernetes resources included in the Backup.
- Retain
Expire stringTime - The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).
- Selected
Applications Pulumi.Google Native. Gkebackup. V1. Outputs. Namespaced Names Response - If set, the list of ProtectedApplications whose resources were included in the Backup.
- Selected
Namespaces Pulumi.Google Native. Gkebackup. V1. Outputs. Namespaces Response - If set, the list of namespaces that were included in the Backup.
- Size
Bytes string - The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
- State string
- Current state of the Backup
- State
Reason string - Human-readable description of why the backup is in the current
state
. - Uid string
- Server generated global unique identifier of UUID4
- Update
Time string - The timestamp when this Backup resource was last updated.
- Volume
Count int - The total number of volume backups contained in the Backup.
- All
Namespaces bool - If True, all namespaces were included in the Backup.
- Cluster
Metadata ClusterMetadata Response - Information about the GKE cluster from which this Backup was created.
- Complete
Time string - Completion time of the Backup
- Config
Backup stringSize Bytes - The size of the config backup in bytes.
- Contains
Secrets bool - Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.
- Contains
Volume boolData - Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.
- Create
Time string - The timestamp when this Backup resource was created.
- Delete
Lock stringExpire Time - The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).
- Encryption
Key EncryptionKey Response - The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.
- Etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform backup updates in order to avoid race conditions: Anetag
is returned in the response toGetBackup
, and systems are expected to put that etag in the request toUpdateBackup
orDeleteBackup
to ensure that their change will be applied to the same version of the resource.- Id string
- The provider-assigned unique ID for this managed resource.
- Manual bool
- This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
- Name string
- The fully qualified name of the Backup.
projects/*/locations/*/backupPlans/*/backups/*
- Pod
Count int - The total number of Kubernetes Pods contained in the Backup.
- Resource
Count int - The total number of Kubernetes resources included in the Backup.
- Retain
Expire stringTime - The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).
- Selected
Applications NamespacedNames Response - If set, the list of ProtectedApplications whose resources were included in the Backup.
- Selected
Namespaces NamespacesResponse - If set, the list of namespaces that were included in the Backup.
- Size
Bytes string - The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
- State string
- Current state of the Backup
- State
Reason string - Human-readable description of why the backup is in the current
state
. - Uid string
- Server generated global unique identifier of UUID4
- Update
Time string - The timestamp when this Backup resource was last updated.
- Volume
Count int - The total number of volume backups contained in the Backup.
- all
Namespaces Boolean - If True, all namespaces were included in the Backup.
- cluster
Metadata ClusterMetadata Response - Information about the GKE cluster from which this Backup was created.
- complete
Time String - Completion time of the Backup
- config
Backup StringSize Bytes - The size of the config backup in bytes.
- contains
Secrets Boolean - Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.
- contains
Volume BooleanData - Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.
- create
Time String - The timestamp when this Backup resource was created.
- delete
Lock StringExpire Time - The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).
- encryption
Key EncryptionKey Response - The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.
- etag String
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform backup updates in order to avoid race conditions: Anetag
is returned in the response toGetBackup
, and systems are expected to put that etag in the request toUpdateBackup
orDeleteBackup
to ensure that their change will be applied to the same version of the resource.- id String
- The provider-assigned unique ID for this managed resource.
- manual Boolean
- This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
- name String
- The fully qualified name of the Backup.
projects/*/locations/*/backupPlans/*/backups/*
- pod
Count Integer - The total number of Kubernetes Pods contained in the Backup.
- resource
Count Integer - The total number of Kubernetes resources included in the Backup.
- retain
Expire StringTime - The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).
- selected
Applications NamespacedNames Response - If set, the list of ProtectedApplications whose resources were included in the Backup.
- selected
Namespaces NamespacesResponse - If set, the list of namespaces that were included in the Backup.
- size
Bytes String - The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
- state String
- Current state of the Backup
- state
Reason String - Human-readable description of why the backup is in the current
state
. - uid String
- Server generated global unique identifier of UUID4
- update
Time String - The timestamp when this Backup resource was last updated.
- volume
Count Integer - The total number of volume backups contained in the Backup.
- all
Namespaces boolean - If True, all namespaces were included in the Backup.
- cluster
Metadata ClusterMetadata Response - Information about the GKE cluster from which this Backup was created.
- complete
Time string - Completion time of the Backup
- config
Backup stringSize Bytes - The size of the config backup in bytes.
- contains
Secrets boolean - Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.
- contains
Volume booleanData - Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.
- create
Time string - The timestamp when this Backup resource was created.
- delete
Lock stringExpire Time - The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).
- encryption
Key EncryptionKey Response - The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.
- etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform backup updates in order to avoid race conditions: Anetag
is returned in the response toGetBackup
, and systems are expected to put that etag in the request toUpdateBackup
orDeleteBackup
to ensure that their change will be applied to the same version of the resource.- id string
- The provider-assigned unique ID for this managed resource.
- manual boolean
- This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
- name string
- The fully qualified name of the Backup.
projects/*/locations/*/backupPlans/*/backups/*
- pod
Count number - The total number of Kubernetes Pods contained in the Backup.
- resource
Count number - The total number of Kubernetes resources included in the Backup.
- retain
Expire stringTime - The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).
- selected
Applications NamespacedNames Response - If set, the list of ProtectedApplications whose resources were included in the Backup.
- selected
Namespaces NamespacesResponse - If set, the list of namespaces that were included in the Backup.
- size
Bytes string - The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
- state string
- Current state of the Backup
- state
Reason string - Human-readable description of why the backup is in the current
state
. - uid string
- Server generated global unique identifier of UUID4
- update
Time string - The timestamp when this Backup resource was last updated.
- volume
Count number - The total number of volume backups contained in the Backup.
- all_
namespaces bool - If True, all namespaces were included in the Backup.
- cluster_
metadata ClusterMetadata Response - Information about the GKE cluster from which this Backup was created.
- complete_
time str - Completion time of the Backup
- config_
backup_ strsize_ bytes - The size of the config backup in bytes.
- contains_
secrets bool - Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.
- contains_
volume_ booldata - Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.
- create_
time str - The timestamp when this Backup resource was created.
- delete_
lock_ strexpire_ time - The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).
- encryption_
key EncryptionKey Response - The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.
- etag str
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform backup updates in order to avoid race conditions: Anetag
is returned in the response toGetBackup
, and systems are expected to put that etag in the request toUpdateBackup
orDeleteBackup
to ensure that their change will be applied to the same version of the resource.- id str
- The provider-assigned unique ID for this managed resource.
- manual bool
- This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
- name str
- The fully qualified name of the Backup.
projects/*/locations/*/backupPlans/*/backups/*
- pod_
count int - The total number of Kubernetes Pods contained in the Backup.
- resource_
count int - The total number of Kubernetes resources included in the Backup.
- retain_
expire_ strtime - The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).
- selected_
applications NamespacedNames Response - If set, the list of ProtectedApplications whose resources were included in the Backup.
- selected_
namespaces NamespacesResponse - If set, the list of namespaces that were included in the Backup.
- size_
bytes str - The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
- state str
- Current state of the Backup
- state_
reason str - Human-readable description of why the backup is in the current
state
. - uid str
- Server generated global unique identifier of UUID4
- update_
time str - The timestamp when this Backup resource was last updated.
- volume_
count int - The total number of volume backups contained in the Backup.
- all
Namespaces Boolean - If True, all namespaces were included in the Backup.
- cluster
Metadata Property Map - Information about the GKE cluster from which this Backup was created.
- complete
Time String - Completion time of the Backup
- config
Backup StringSize Bytes - The size of the config backup in bytes.
- contains
Secrets Boolean - Whether or not the Backup contains Kubernetes Secrets. Controlled by the parent BackupPlan's include_secrets value.
- contains
Volume BooleanData - Whether or not the Backup contains volume data. Controlled by the parent BackupPlan's include_volume_data value.
- create
Time String - The timestamp when this Backup resource was created.
- delete
Lock StringExpire Time - The time at which an existing delete lock will expire for this backup (calculated from create_time + delete_lock_days).
- encryption
Key Property Map - The customer managed encryption key that was used to encrypt the Backup's artifacts. Inherited from the parent BackupPlan's encryption_key value.
- etag String
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform backup updates in order to avoid race conditions: Anetag
is returned in the response toGetBackup
, and systems are expected to put that etag in the request toUpdateBackup
orDeleteBackup
to ensure that their change will be applied to the same version of the resource.- id String
- The provider-assigned unique ID for this managed resource.
- manual Boolean
- This flag indicates whether this Backup resource was created manually by a user or via a schedule in the BackupPlan. A value of True means that the Backup was created manually.
- name String
- The fully qualified name of the Backup.
projects/*/locations/*/backupPlans/*/backups/*
- pod
Count Number - The total number of Kubernetes Pods contained in the Backup.
- resource
Count Number - The total number of Kubernetes resources included in the Backup.
- retain
Expire StringTime - The time at which this Backup will be automatically deleted (calculated from create_time + retain_days).
- selected
Applications Property Map - If set, the list of ProtectedApplications whose resources were included in the Backup.
- selected
Namespaces Property Map - If set, the list of namespaces that were included in the Backup.
- size
Bytes String - The total size of the Backup in bytes = config backup size + sum(volume backup sizes)
- state String
- Current state of the Backup
- state
Reason String - Human-readable description of why the backup is in the current
state
. - uid String
- Server generated global unique identifier of UUID4
- update
Time String - The timestamp when this Backup resource was last updated.
- volume
Count Number - The total number of volume backups contained in the Backup.
Supporting Types
ClusterMetadataResponse, ClusterMetadataResponseArgs
- Anthos
Version string - Anthos version
- Backup
Crd Dictionary<string, string>Versions - A list of the Backup for GKE CRD versions found in the cluster.
- Cluster string
- The source cluster from which this Backup was created. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster field. - Gke
Version string - GKE version
- K8s
Version string - The Kubernetes server version of the source cluster.
- Anthos
Version string - Anthos version
- Backup
Crd map[string]stringVersions - A list of the Backup for GKE CRD versions found in the cluster.
- Cluster string
- The source cluster from which this Backup was created. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster field. - Gke
Version string - GKE version
- K8s
Version string - The Kubernetes server version of the source cluster.
- anthos
Version String - Anthos version
- backup
Crd Map<String,String>Versions - A list of the Backup for GKE CRD versions found in the cluster.
- cluster String
- The source cluster from which this Backup was created. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster field. - gke
Version String - GKE version
- k8s
Version String - The Kubernetes server version of the source cluster.
- anthos
Version string - Anthos version
- backup
Crd {[key: string]: string}Versions - A list of the Backup for GKE CRD versions found in the cluster.
- cluster string
- The source cluster from which this Backup was created. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster field. - gke
Version string - GKE version
- k8s
Version string - The Kubernetes server version of the source cluster.
- anthos_
version str - Anthos version
- backup_
crd_ Mapping[str, str]versions - A list of the Backup for GKE CRD versions found in the cluster.
- cluster str
- The source cluster from which this Backup was created. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster field. - gke_
version str - GKE version
- k8s_
version str - The Kubernetes server version of the source cluster.
- anthos
Version String - Anthos version
- backup
Crd Map<String>Versions - A list of the Backup for GKE CRD versions found in the cluster.
- cluster String
- The source cluster from which this Backup was created. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
This is inherited from the parent BackupPlan's cluster field. - gke
Version String - GKE version
- k8s
Version String - The Kubernetes server version of the source cluster.
EncryptionKeyResponse, EncryptionKeyResponseArgs
- Gcp
Kms stringEncryption Key - Optional. Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- Gcp
Kms stringEncryption Key - Optional. Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- gcp
Kms StringEncryption Key - Optional. Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- gcp
Kms stringEncryption Key - Optional. Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- gcp_
kms_ strencryption_ key - Optional. Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- gcp
Kms StringEncryption Key - Optional. Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
NamespacedNameResponse, NamespacedNameResponseArgs
NamespacedNamesResponse, NamespacedNamesResponseArgs
- Namespaced
Names List<Pulumi.Google Native. Gkebackup. V1. Inputs. Namespaced Name Response> - Optional. A list of namespaced Kubernetes resources.
- Namespaced
Names []NamespacedName Response - Optional. A list of namespaced Kubernetes resources.
- namespaced
Names List<NamespacedName Response> - Optional. A list of namespaced Kubernetes resources.
- namespaced
Names NamespacedName Response[] - Optional. A list of namespaced Kubernetes resources.
- namespaced_
names Sequence[NamespacedName Response] - Optional. A list of namespaced Kubernetes resources.
- namespaced
Names List<Property Map> - Optional. A list of namespaced Kubernetes resources.
NamespacesResponse, NamespacesResponseArgs
- Namespaces List<string>
- Optional. A list of Kubernetes Namespaces
- Namespaces []string
- Optional. A list of Kubernetes Namespaces
- namespaces List<String>
- Optional. A list of Kubernetes Namespaces
- namespaces string[]
- Optional. A list of Kubernetes Namespaces
- namespaces Sequence[str]
- Optional. A list of Kubernetes Namespaces
- namespaces List<String>
- Optional. A list of Kubernetes Namespaces
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.