Google Cloud Native v0.30.0, Apr 14 23
Google Cloud Native v0.30.0, Apr 14 23
google-native.gkebackup/v1.getBackupPlan
Explore with Pulumi AI
Retrieve the details of a single BackupPlan.
Using getBackupPlan
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBackupPlan(args: GetBackupPlanArgs, opts?: InvokeOptions): Promise<GetBackupPlanResult>
function getBackupPlanOutput(args: GetBackupPlanOutputArgs, opts?: InvokeOptions): Output<GetBackupPlanResult>
def get_backup_plan(backup_plan_id: Optional[str] = None,
location: Optional[str] = None,
project: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupPlanResult
def get_backup_plan_output(backup_plan_id: Optional[pulumi.Input[str]] = None,
location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupPlanResult]
func LookupBackupPlan(ctx *Context, args *LookupBackupPlanArgs, opts ...InvokeOption) (*LookupBackupPlanResult, error)
func LookupBackupPlanOutput(ctx *Context, args *LookupBackupPlanOutputArgs, opts ...InvokeOption) LookupBackupPlanResultOutput
> Note: This function is named LookupBackupPlan
in the Go SDK.
public static class GetBackupPlan
{
public static Task<GetBackupPlanResult> InvokeAsync(GetBackupPlanArgs args, InvokeOptions? opts = null)
public static Output<GetBackupPlanResult> Invoke(GetBackupPlanInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBackupPlanResult> getBackupPlan(GetBackupPlanArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:gkebackup/v1:getBackupPlan
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
Plan stringId - Location string
- Project string
- Backup
Plan stringId - Location string
- Project string
- backup
Plan StringId - location String
- project String
- backup
Plan stringId - location string
- project string
- backup_
plan_ strid - location str
- project str
- backup
Plan StringId - location String
- project String
getBackupPlan Result
The following output properties are available:
- Backup
Config Pulumi.Google Native. Gkebackup. V1. Outputs. Backup Config Response Defines the configuration of Backups created via this BackupPlan.
- Backup
Schedule Pulumi.Google Native. Gkebackup. V1. Outputs. Schedule Response Defines a schedule for automatic Backup creation via this BackupPlan.
- Cluster string
Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- Create
Time string The timestamp when this BackupPlan resource was created.
- Deactivated bool
This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
- Description string
User specified descriptive string for this BackupPlan.
- Etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: Anetag
is returned in the response toGetBackupPlan
, and systems are expected to put that etag in the request toUpdateBackupPlan
orDeleteBackupPlan
to ensure that their change will be applied to the same version of the resource.- Labels Dictionary<string, string>
A set of custom labels supplied by user.
- Name string
The full name of the BackupPlan resource. Format:
projects/*/locations/*/backupPlans/*
- Protected
Pod intCount The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
- Retention
Policy Pulumi.Google Native. Gkebackup. V1. Outputs. Retention Policy Response RetentionPolicy governs lifecycle of Backups created under this plan.
- Uid string
Server generated global unique identifier of UUID format.
- Update
Time string The timestamp when this BackupPlan resource was last updated.
- Backup
Config BackupConfig Response Defines the configuration of Backups created via this BackupPlan.
- Backup
Schedule ScheduleResponse Defines a schedule for automatic Backup creation via this BackupPlan.
- Cluster string
Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- Create
Time string The timestamp when this BackupPlan resource was created.
- Deactivated bool
This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
- Description string
User specified descriptive string for this BackupPlan.
- Etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: Anetag
is returned in the response toGetBackupPlan
, and systems are expected to put that etag in the request toUpdateBackupPlan
orDeleteBackupPlan
to ensure that their change will be applied to the same version of the resource.- Labels map[string]string
A set of custom labels supplied by user.
- Name string
The full name of the BackupPlan resource. Format:
projects/*/locations/*/backupPlans/*
- Protected
Pod intCount The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
- Retention
Policy RetentionPolicy Response RetentionPolicy governs lifecycle of Backups created under this plan.
- Uid string
Server generated global unique identifier of UUID format.
- Update
Time string The timestamp when this BackupPlan resource was last updated.
- backup
Config BackupConfig Response Defines the configuration of Backups created via this BackupPlan.
- backup
Schedule ScheduleResponse Defines a schedule for automatic Backup creation via this BackupPlan.
- cluster String
Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- create
Time String The timestamp when this BackupPlan resource was created.
- deactivated Boolean
This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
- description String
User specified descriptive string for this BackupPlan.
- etag String
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: Anetag
is returned in the response toGetBackupPlan
, and systems are expected to put that etag in the request toUpdateBackupPlan
orDeleteBackupPlan
to ensure that their change will be applied to the same version of the resource.- labels Map<String,String>
A set of custom labels supplied by user.
- name String
The full name of the BackupPlan resource. Format:
projects/*/locations/*/backupPlans/*
- protected
Pod IntegerCount The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
- retention
Policy RetentionPolicy Response RetentionPolicy governs lifecycle of Backups created under this plan.
- uid String
Server generated global unique identifier of UUID format.
- update
Time String The timestamp when this BackupPlan resource was last updated.
- backup
Config BackupConfig Response Defines the configuration of Backups created via this BackupPlan.
- backup
Schedule ScheduleResponse Defines a schedule for automatic Backup creation via this BackupPlan.
- cluster string
Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- create
Time string The timestamp when this BackupPlan resource was created.
- deactivated boolean
This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
- description string
User specified descriptive string for this BackupPlan.
- etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: Anetag
is returned in the response toGetBackupPlan
, and systems are expected to put that etag in the request toUpdateBackupPlan
orDeleteBackupPlan
to ensure that their change will be applied to the same version of the resource.- labels {[key: string]: string}
A set of custom labels supplied by user.
- name string
The full name of the BackupPlan resource. Format:
projects/*/locations/*/backupPlans/*
- protected
Pod numberCount The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
- retention
Policy RetentionPolicy Response RetentionPolicy governs lifecycle of Backups created under this plan.
- uid string
Server generated global unique identifier of UUID format.
- update
Time string The timestamp when this BackupPlan resource was last updated.
- backup_
config BackupConfig Response Defines the configuration of Backups created via this BackupPlan.
- backup_
schedule ScheduleResponse Defines a schedule for automatic Backup creation via this BackupPlan.
- cluster str
Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- create_
time str The timestamp when this BackupPlan resource was created.
- deactivated bool
This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
- description str
User specified descriptive string for this BackupPlan.
- etag str
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: Anetag
is returned in the response toGetBackupPlan
, and systems are expected to put that etag in the request toUpdateBackupPlan
orDeleteBackupPlan
to ensure that their change will be applied to the same version of the resource.- labels Mapping[str, str]
A set of custom labels supplied by user.
- name str
The full name of the BackupPlan resource. Format:
projects/*/locations/*/backupPlans/*
- protected_
pod_ intcount The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
- retention_
policy RetentionPolicy Response RetentionPolicy governs lifecycle of Backups created under this plan.
- uid str
Server generated global unique identifier of UUID format.
- update_
time str The timestamp when this BackupPlan resource was last updated.
- backup
Config Property Map Defines the configuration of Backups created via this BackupPlan.
- backup
Schedule Property Map Defines a schedule for automatic Backup creation via this BackupPlan.
- cluster String
Immutable. The source cluster from which Backups will be created via this BackupPlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- create
Time String The timestamp when this BackupPlan resource was created.
- deactivated Boolean
This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups). Default: False
- description String
User specified descriptive string for this BackupPlan.
- etag String
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: Anetag
is returned in the response toGetBackupPlan
, and systems are expected to put that etag in the request toUpdateBackupPlan
orDeleteBackupPlan
to ensure that their change will be applied to the same version of the resource.- labels Map<String>
A set of custom labels supplied by user.
- name String
The full name of the BackupPlan resource. Format:
projects/*/locations/*/backupPlans/*
- protected
Pod NumberCount The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
- retention
Policy Property Map RetentionPolicy governs lifecycle of Backups created under this plan.
- uid String
Server generated global unique identifier of UUID format.
- update
Time String The timestamp when this BackupPlan resource was last updated.
Supporting Types
BackupConfigResponse
- All
Namespaces bool If True, include all namespaced resources
- Encryption
Key Pulumi.Google Native. Gkebackup. V1. Inputs. Encryption Key Response This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
- Include
Secrets bool This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
- Include
Volume boolData This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
- Selected
Applications Pulumi.Google Native. Gkebackup. V1. Inputs. Namespaced Names Response If set, include just the resources referenced by the listed ProtectedApplications.
- Selected
Namespaces Pulumi.Google Native. Gkebackup. V1. Inputs. Namespaces Response If set, include just the resources in the listed namespaces.
- All
Namespaces bool If True, include all namespaced resources
- Encryption
Key EncryptionKey Response This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
- Include
Secrets bool This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
- Include
Volume boolData This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
- Selected
Applications NamespacedNames Response If set, include just the resources referenced by the listed ProtectedApplications.
- Selected
Namespaces NamespacesResponse If set, include just the resources in the listed namespaces.
- all
Namespaces Boolean If True, include all namespaced resources
- encryption
Key EncryptionKey Response This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
- include
Secrets Boolean This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
- include
Volume BooleanData This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
- selected
Applications NamespacedNames Response If set, include just the resources referenced by the listed ProtectedApplications.
- selected
Namespaces NamespacesResponse If set, include just the resources in the listed namespaces.
- all
Namespaces boolean If True, include all namespaced resources
- encryption
Key EncryptionKey Response This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
- include
Secrets boolean This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
- include
Volume booleanData This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
- selected
Applications NamespacedNames Response If set, include just the resources referenced by the listed ProtectedApplications.
- selected
Namespaces NamespacesResponse If set, include just the resources in the listed namespaces.
- all_
namespaces bool If True, include all namespaced resources
- encryption_
key EncryptionKey Response This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
- include_
secrets bool This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
- include_
volume_ booldata This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
- selected_
applications NamespacedNames Response If set, include just the resources referenced by the listed ProtectedApplications.
- selected_
namespaces NamespacesResponse If set, include just the resources in the listed namespaces.
- all
Namespaces Boolean If True, include all namespaced resources
- encryption
Key Property Map This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Default (empty): Config backup artifacts will not be encrypted.
- include
Secrets Boolean This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups. Default: False
- include
Volume BooleanData This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup. Default: False
- selected
Applications Property Map If set, include just the resources referenced by the listed ProtectedApplications.
- selected
Namespaces Property Map If set, include just the resources in the listed namespaces.
EncryptionKeyResponse
- Gcp
Kms stringEncryption Key Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- Gcp
Kms stringEncryption Key Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- gcp
Kms StringEncryption Key Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- gcp
Kms stringEncryption Key Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- gcp_
kms_ strencryption_ key Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
- gcp
Kms StringEncryption Key Google Cloud KMS encryption key. Format:
projects/*/locations/*/keyRings/*/cryptoKeys/*
NamespacedNameResponse
NamespacedNamesResponse
- Namespaced
Names List<Pulumi.Google Native. Gkebackup. V1. Inputs. Namespaced Name Response> A list of namespaced Kubernetes resources.
- Namespaced
Names []NamespacedName Response A list of namespaced Kubernetes resources.
- namespaced
Names List<NamespacedName Response> A list of namespaced Kubernetes resources.
- namespaced
Names NamespacedName Response[] A list of namespaced Kubernetes resources.
- namespaced_
names Sequence[NamespacedName Response] A list of namespaced Kubernetes resources.
- namespaced
Names List<Property Map> A list of namespaced Kubernetes resources.
NamespacesResponse
- Namespaces List<string>
A list of Kubernetes Namespaces
- Namespaces []string
A list of Kubernetes Namespaces
- namespaces List<String>
A list of Kubernetes Namespaces
- namespaces string[]
A list of Kubernetes Namespaces
- namespaces Sequence[str]
A list of Kubernetes Namespaces
- namespaces List<String>
A list of Kubernetes Namespaces
RetentionPolicyResponse
- Backup
Delete intLock Days Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
- Backup
Retain intDays The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days must be >= backup_delete_lock_days. If cron_schedule is defined, then this must be <= 360 * the creation interval. Default: 0 (no automatic deletion)
- Locked bool
This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the
locked
field itself. Default: False
- Backup
Delete intLock Days Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
- Backup
Retain intDays The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days must be >= backup_delete_lock_days. If cron_schedule is defined, then this must be <= 360 * the creation interval. Default: 0 (no automatic deletion)
- Locked bool
This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the
locked
field itself. Default: False
- backup
Delete IntegerLock Days Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
- backup
Retain IntegerDays The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days must be >= backup_delete_lock_days. If cron_schedule is defined, then this must be <= 360 * the creation interval. Default: 0 (no automatic deletion)
- locked Boolean
This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the
locked
field itself. Default: False
- backup
Delete numberLock Days Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
- backup
Retain numberDays The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days must be >= backup_delete_lock_days. If cron_schedule is defined, then this must be <= 360 * the creation interval. Default: 0 (no automatic deletion)
- locked boolean
This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the
locked
field itself. Default: False
- backup_
delete_ intlock_ days Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
- backup_
retain_ intdays The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days must be >= backup_delete_lock_days. If cron_schedule is defined, then this must be <= 360 * the creation interval. Default: 0 (no automatic deletion)
- locked bool
This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the
locked
field itself. Default: False
- backup
Delete NumberLock Days Minimum age for Backups created via this BackupPlan (in days). This field MUST be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will NOT be deletable until it reaches Backup's (create_time + backup_delete_lock_days). Updating this field of a BackupPlan does NOT affect existing Backups under it. Backups created AFTER a successful update will inherit the new value. Default: 0 (no delete blocking)
- backup
Retain NumberDays The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (create_time + backup_retain_days). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backup_retain_days must be >= backup_delete_lock_days. If cron_schedule is defined, then this must be <= 360 * the creation interval. Default: 0 (no automatic deletion)
- locked Boolean
This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the
locked
field itself. Default: False
ScheduleResponse
- Cron
Schedule string A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur.
- Paused bool
This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False
- Cron
Schedule string A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur.
- Paused bool
This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False
- cron
Schedule String A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur.
- paused Boolean
This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False
- cron
Schedule string A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur.
- paused boolean
This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False
- cron_
schedule str A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur.
- paused bool
This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False
- cron
Schedule String A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backup_retain_days must also be defined. Default (empty): no automatic backup creation will occur.
- paused Boolean
This flag denotes whether automatic Backup creation is paused for this BackupPlan. Default: False
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0