Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkebackup/v1.Restore
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new Restore for the given RestorePlan. Auto-naming is currently not supported for this resource.
Create Restore Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Restore(name: string, args: RestoreArgs, opts?: CustomResourceOptions);
@overload
def Restore(resource_name: str,
args: RestoreArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Restore(resource_name: str,
opts: Optional[ResourceOptions] = None,
backup: Optional[str] = None,
restore_id: Optional[str] = None,
restore_plan_id: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
location: Optional[str] = None,
project: Optional[str] = None)
func NewRestore(ctx *Context, name string, args RestoreArgs, opts ...ResourceOption) (*Restore, error)
public Restore(string name, RestoreArgs args, CustomResourceOptions? opts = null)
public Restore(String name, RestoreArgs args)
public Restore(String name, RestoreArgs args, CustomResourceOptions options)
type: google-native:gkebackup/v1:Restore
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 RestoreArgs
- 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 RestoreArgs
- 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 RestoreArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RestoreArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RestoreArgs
- 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 restoreResource = new GoogleNative.Gkebackup.V1.Restore("restoreResource", new()
{
Backup = "string",
RestoreId = "string",
RestorePlanId = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Project = "string",
});
example, err := gkebackup.NewRestore(ctx, "restoreResource", &gkebackup.RestoreArgs{
Backup: pulumi.String("string"),
RestoreId: pulumi.String("string"),
RestorePlanId: pulumi.String("string"),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var restoreResource = new Restore("restoreResource", RestoreArgs.builder()
.backup("string")
.restoreId("string")
.restorePlanId("string")
.description("string")
.labels(Map.of("string", "string"))
.location("string")
.project("string")
.build());
restore_resource = google_native.gkebackup.v1.Restore("restoreResource",
backup="string",
restore_id="string",
restore_plan_id="string",
description="string",
labels={
"string": "string",
},
location="string",
project="string")
const restoreResource = new google_native.gkebackup.v1.Restore("restoreResource", {
backup: "string",
restoreId: "string",
restorePlanId: "string",
description: "string",
labels: {
string: "string",
},
location: "string",
project: "string",
});
type: google-native:gkebackup/v1:Restore
properties:
backup: string
description: string
labels:
string: string
location: string
project: string
restoreId: string
restorePlanId: string
Restore Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Restore resource accepts the following input properties:
- Backup string
- Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format:
projects/*/locations/*/backupPlans/*/backups/*
. - Restore
Id string - Required. The client-provided short name for the Restore 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 Restores in this RestorePlan.
- Restore
Plan stringId - Description string
- User specified descriptive string for this Restore.
- Labels Dictionary<string, string>
- A set of custom labels supplied by user.
- Location string
- Project string
- Backup string
- Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format:
projects/*/locations/*/backupPlans/*/backups/*
. - Restore
Id string - Required. The client-provided short name for the Restore 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 Restores in this RestorePlan.
- Restore
Plan stringId - Description string
- User specified descriptive string for this Restore.
- Labels map[string]string
- A set of custom labels supplied by user.
- Location string
- Project string
- backup String
- Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format:
projects/*/locations/*/backupPlans/*/backups/*
. - restore
Id String - Required. The client-provided short name for the Restore 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 Restores in this RestorePlan.
- restore
Plan StringId - description String
- User specified descriptive string for this Restore.
- labels Map<String,String>
- A set of custom labels supplied by user.
- location String
- project String
- backup string
- Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format:
projects/*/locations/*/backupPlans/*/backups/*
. - restore
Id string - Required. The client-provided short name for the Restore 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 Restores in this RestorePlan.
- restore
Plan stringId - description string
- User specified descriptive string for this Restore.
- labels {[key: string]: string}
- A set of custom labels supplied by user.
- location string
- project string
- backup str
- Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format:
projects/*/locations/*/backupPlans/*/backups/*
. - restore_
id str - Required. The client-provided short name for the Restore 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 Restores in this RestorePlan.
- restore_
plan_ strid - description str
- User specified descriptive string for this Restore.
- labels Mapping[str, str]
- A set of custom labels supplied by user.
- location str
- project str
- backup String
- Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format:
projects/*/locations/*/backupPlans/*/backups/*
. - restore
Id String - Required. The client-provided short name for the Restore 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 Restores in this RestorePlan.
- restore
Plan StringId - description String
- User specified descriptive string for this Restore.
- labels Map<String>
- A set of custom labels supplied by user.
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the Restore resource produces the following output properties:
- Cluster string
- The target cluster into which this Restore will restore data. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
Inherited from parent RestorePlan's cluster value. - Complete
Time string - Timestamp of when the restore operation completed.
- Create
Time string - The timestamp when this Restore resource was created.
- Etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform restore updates in order to avoid race conditions: Anetag
is returned in the response toGetRestore
, and systems are expected to put that etag in the request toUpdateRestore
orDeleteRestore
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.
- Name string
- The full name of the Restore resource. Format:
projects/*/locations/*/restorePlans/*/restores/*
- Resources
Excluded intCount - Number of resources excluded during the restore execution.
- Resources
Failed intCount - Number of resources that failed to be restored during the restore execution.
- Resources
Restored intCount - Number of resources restored during the restore execution.
- Restore
Config Pulumi.Google Native. Gkebackup. V1. Outputs. Restore Config Response - Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
- State string
- The current state of the Restore.
- State
Reason string - Human-readable description of why the Restore is in its current state.
- Uid string
- Server generated global unique identifier of UUID format.
- Update
Time string - The timestamp when this Restore resource was last updated.
- Volumes
Restored intCount - Number of volumes restored during the restore execution.
- Cluster string
- The target cluster into which this Restore will restore data. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
Inherited from parent RestorePlan's cluster value. - Complete
Time string - Timestamp of when the restore operation completed.
- Create
Time string - The timestamp when this Restore resource was created.
- Etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform restore updates in order to avoid race conditions: Anetag
is returned in the response toGetRestore
, and systems are expected to put that etag in the request toUpdateRestore
orDeleteRestore
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.
- Name string
- The full name of the Restore resource. Format:
projects/*/locations/*/restorePlans/*/restores/*
- Resources
Excluded intCount - Number of resources excluded during the restore execution.
- Resources
Failed intCount - Number of resources that failed to be restored during the restore execution.
- Resources
Restored intCount - Number of resources restored during the restore execution.
- Restore
Config RestoreConfig Response - Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
- State string
- The current state of the Restore.
- State
Reason string - Human-readable description of why the Restore is in its current state.
- Uid string
- Server generated global unique identifier of UUID format.
- Update
Time string - The timestamp when this Restore resource was last updated.
- Volumes
Restored intCount - Number of volumes restored during the restore execution.
- cluster String
- The target cluster into which this Restore will restore data. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
Inherited from parent RestorePlan's cluster value. - complete
Time String - Timestamp of when the restore operation completed.
- create
Time String - The timestamp when this Restore resource was created.
- etag String
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform restore updates in order to avoid race conditions: Anetag
is returned in the response toGetRestore
, and systems are expected to put that etag in the request toUpdateRestore
orDeleteRestore
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.
- name String
- The full name of the Restore resource. Format:
projects/*/locations/*/restorePlans/*/restores/*
- resources
Excluded IntegerCount - Number of resources excluded during the restore execution.
- resources
Failed IntegerCount - Number of resources that failed to be restored during the restore execution.
- resources
Restored IntegerCount - Number of resources restored during the restore execution.
- restore
Config RestoreConfig Response - Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
- state String
- The current state of the Restore.
- state
Reason String - Human-readable description of why the Restore is in its current state.
- uid String
- Server generated global unique identifier of UUID format.
- update
Time String - The timestamp when this Restore resource was last updated.
- volumes
Restored IntegerCount - Number of volumes restored during the restore execution.
- cluster string
- The target cluster into which this Restore will restore data. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
Inherited from parent RestorePlan's cluster value. - complete
Time string - Timestamp of when the restore operation completed.
- create
Time string - The timestamp when this Restore resource was created.
- etag string
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform restore updates in order to avoid race conditions: Anetag
is returned in the response toGetRestore
, and systems are expected to put that etag in the request toUpdateRestore
orDeleteRestore
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.
- name string
- The full name of the Restore resource. Format:
projects/*/locations/*/restorePlans/*/restores/*
- resources
Excluded numberCount - Number of resources excluded during the restore execution.
- resources
Failed numberCount - Number of resources that failed to be restored during the restore execution.
- resources
Restored numberCount - Number of resources restored during the restore execution.
- restore
Config RestoreConfig Response - Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
- state string
- The current state of the Restore.
- state
Reason string - Human-readable description of why the Restore is in its current state.
- uid string
- Server generated global unique identifier of UUID format.
- update
Time string - The timestamp when this Restore resource was last updated.
- volumes
Restored numberCount - Number of volumes restored during the restore execution.
- cluster str
- The target cluster into which this Restore will restore data. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
Inherited from parent RestorePlan's cluster value. - complete_
time str - Timestamp of when the restore operation completed.
- create_
time str - The timestamp when this Restore resource was created.
- etag str
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform restore updates in order to avoid race conditions: Anetag
is returned in the response toGetRestore
, and systems are expected to put that etag in the request toUpdateRestore
orDeleteRestore
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.
- name str
- The full name of the Restore resource. Format:
projects/*/locations/*/restorePlans/*/restores/*
- resources_
excluded_ intcount - Number of resources excluded during the restore execution.
- resources_
failed_ intcount - Number of resources that failed to be restored during the restore execution.
- resources_
restored_ intcount - Number of resources restored during the restore execution.
- restore_
config RestoreConfig Response - Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
- state str
- The current state of the Restore.
- state_
reason str - Human-readable description of why the Restore is in its current state.
- uid str
- Server generated global unique identifier of UUID format.
- update_
time str - The timestamp when this Restore resource was last updated.
- volumes_
restored_ intcount - Number of volumes restored during the restore execution.
- cluster String
- The target cluster into which this Restore will restore data. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
Inherited from parent RestorePlan's cluster value. - complete
Time String - Timestamp of when the restore operation completed.
- create
Time String - The timestamp when this Restore resource was created.
- etag String
etag
is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of theetag
in the read-modify-write cycle to perform restore updates in order to avoid race conditions: Anetag
is returned in the response toGetRestore
, and systems are expected to put that etag in the request toUpdateRestore
orDeleteRestore
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.
- name String
- The full name of the Restore resource. Format:
projects/*/locations/*/restorePlans/*/restores/*
- resources
Excluded NumberCount - Number of resources excluded during the restore execution.
- resources
Failed NumberCount - Number of resources that failed to be restored during the restore execution.
- resources
Restored NumberCount - Number of resources restored during the restore execution.
- restore
Config Property Map - Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
- state String
- The current state of the Restore.
- state
Reason String - Human-readable description of why the Restore is in its current state.
- uid String
- Server generated global unique identifier of UUID format.
- update
Time String - The timestamp when this Restore resource was last updated.
- volumes
Restored NumberCount - Number of volumes restored during the restore execution.
Supporting Types
ClusterResourceRestoreScopeResponse, ClusterResourceRestoreScopeResponseArgs
- All
Group boolKinds - Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
- Excluded
Group List<Pulumi.Kinds Google Native. Gkebackup. V1. Inputs. Group Kind Response> - Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
- No
Group boolKinds - Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
- Selected
Group List<Pulumi.Kinds Google Native. Gkebackup. V1. Inputs. Group Kind Response> - Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
- All
Group boolKinds - Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
- Excluded
Group []GroupKinds Kind Response - Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
- No
Group boolKinds - Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
- Selected
Group []GroupKinds Kind Response - Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
- all
Group BooleanKinds - Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
- excluded
Group List<GroupKinds Kind Response> - Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
- no
Group BooleanKinds - Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
- selected
Group List<GroupKinds Kind Response> - Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
- all
Group booleanKinds - Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
- excluded
Group GroupKinds Kind Response[] - Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
- no
Group booleanKinds - Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
- selected
Group GroupKinds Kind Response[] - Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
- all_
group_ boolkinds - Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
- excluded_
group_ Sequence[Groupkinds Kind Response] - Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
- no_
group_ boolkinds - Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
- selected_
group_ Sequence[Groupkinds Kind Response] - Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
- all
Group BooleanKinds - Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
- excluded
Group List<Property Map>Kinds - Optional. A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in the message.
- no
Group BooleanKinds - Optional. If True, no cluster-scoped resources will be restored. This has the same restore scope as if the message is not defined. Mutually exclusive to any other field in the message.
- selected
Group List<Property Map>Kinds - Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.
GroupKindResponse, GroupKindResponseArgs
- Resource
Group string - Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group
- Resource
Kind string - Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
- Resource
Group string - Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group
- Resource
Kind string - Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
- resource
Group String - Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group
- resource
Kind String - Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
- resource
Group string - Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group
- resource
Kind string - Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
- resource_
group str - Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group
- resource_
kind str - Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
- resource
Group String - Optional. API group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Note: use empty string for core API group
- resource
Kind String - Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
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
ResourceFilterResponse, ResourceFilterResponseArgs
- Group
Kinds List<Pulumi.Google Native. Gkebackup. V1. Inputs. Group Kind Response> - Optional. (Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation).
- Json
Path string - Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
- Namespaces List<string>
- Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation).
- Group
Kinds []GroupKind Response - Optional. (Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation).
- Json
Path string - Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
- Namespaces []string
- Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation).
- group
Kinds List<GroupKind Response> - Optional. (Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation).
- json
Path String - Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
- namespaces List<String>
- Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation).
- group
Kinds GroupKind Response[] - Optional. (Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation).
- json
Path string - Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
- namespaces string[]
- Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation).
- group_
kinds Sequence[GroupKind Response] - Optional. (Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation).
- json_
path str - Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
- namespaces Sequence[str]
- Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation).
- group
Kinds List<Property Map> - Optional. (Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation).
- json
Path String - Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
- namespaces List<String>
- Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation).
RestoreConfigResponse, RestoreConfigResponseArgs
- All
Namespaces bool - Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
- Cluster
Resource stringConflict Policy - Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.
- Cluster
Resource Pulumi.Restore Scope Google Native. Gkebackup. V1. Inputs. Cluster Resource Restore Scope Response - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- Excluded
Namespaces Pulumi.Google Native. Gkebackup. V1. Inputs. Namespaces Response - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- Namespaced
Resource stringRestore Mode - Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
- No
Namespaces bool - Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
- Selected
Applications Pulumi.Google Native. Gkebackup. V1. Inputs. Namespaced Names Response - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- Selected
Namespaces Pulumi.Google Native. Gkebackup. V1. Inputs. Namespaces Response - A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
- Substitution
Rules List<Pulumi.Google Native. Gkebackup. V1. Inputs. Substitution Rule Response> - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
- Transformation
Rules List<Pulumi.Google Native. Gkebackup. V1. Inputs. Transformation Rule Response> - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
- Volume
Data stringRestore Policy - Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
- All
Namespaces bool - Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
- Cluster
Resource stringConflict Policy - Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.
- Cluster
Resource ClusterRestore Scope Resource Restore Scope Response - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- Excluded
Namespaces NamespacesResponse - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- Namespaced
Resource stringRestore Mode - Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
- No
Namespaces bool - Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
- Selected
Applications NamespacedNames Response - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- Selected
Namespaces NamespacesResponse - A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
- Substitution
Rules []SubstitutionRule Response - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
- Transformation
Rules []TransformationRule Response - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
- Volume
Data stringRestore Policy - Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
- all
Namespaces Boolean - Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
- cluster
Resource StringConflict Policy - Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.
- cluster
Resource ClusterRestore Scope Resource Restore Scope Response - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- excluded
Namespaces NamespacesResponse - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- namespaced
Resource StringRestore Mode - Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
- no
Namespaces Boolean - Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
- selected
Applications NamespacedNames Response - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- selected
Namespaces NamespacesResponse - A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
- substitution
Rules List<SubstitutionRule Response> - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
- transformation
Rules List<TransformationRule Response> - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
- volume
Data StringRestore Policy - Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
- all
Namespaces boolean - Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
- cluster
Resource stringConflict Policy - Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.
- cluster
Resource ClusterRestore Scope Resource Restore Scope Response - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- excluded
Namespaces NamespacesResponse - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- namespaced
Resource stringRestore Mode - Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
- no
Namespaces boolean - Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
- selected
Applications NamespacedNames Response - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- selected
Namespaces NamespacesResponse - A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
- substitution
Rules SubstitutionRule Response[] - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
- transformation
Rules TransformationRule Response[] - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
- volume
Data stringRestore Policy - Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
- all_
namespaces bool - Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
- cluster_
resource_ strconflict_ policy - Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.
- cluster_
resource_ Clusterrestore_ scope Resource Restore Scope Response - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- excluded_
namespaces NamespacesResponse - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- namespaced_
resource_ strrestore_ mode - Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
- no_
namespaces bool - Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
- selected_
applications NamespacedNames Response - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- selected_
namespaces NamespacesResponse - A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
- substitution_
rules Sequence[SubstitutionRule Response] - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
- transformation_
rules Sequence[TransformationRule Response] - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
- volume_
data_ strrestore_ policy - Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
- all
Namespaces Boolean - Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
- cluster
Resource StringConflict Policy - Optional. Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED if cluster_resource_restore_scope is not empty.
- cluster
Resource Property MapRestore Scope - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- excluded
Namespaces Property Map - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- namespaced
Resource StringRestore Mode - Optional. Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED.
- no
Namespaces Boolean - Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
- selected
Applications Property Map - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- selected
Namespaces Property Map - A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
- substitution
Rules List<Property Map> - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no substitution will occur.
- transformation
Rules List<Property Map> - Optional. A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur.
- volume
Data StringRestore Policy - Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).
SubstitutionRuleResponse, SubstitutionRuleResponseArgs
- New
Value string - Optional. This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string ("").
- Original
Value stringPattern - Optional. (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
- Target
Group List<Pulumi.Kinds Google Native. Gkebackup. V1. Inputs. Group Kind Response> - Optional. (Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
- Target
Json stringPath - This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
- Target
Namespaces List<string> - Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
- New
Value string - Optional. This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string ("").
- Original
Value stringPattern - Optional. (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
- Target
Group []GroupKinds Kind Response - Optional. (Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
- Target
Json stringPath - This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
- Target
Namespaces []string - Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
- new
Value String - Optional. This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string ("").
- original
Value StringPattern - Optional. (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
- target
Group List<GroupKinds Kind Response> - Optional. (Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
- target
Json StringPath - This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
- target
Namespaces List<String> - Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
- new
Value string - Optional. This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string ("").
- original
Value stringPattern - Optional. (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
- target
Group GroupKinds Kind Response[] - Optional. (Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
- target
Json stringPath - This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
- target
Namespaces string[] - Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
- new_
value str - Optional. This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string ("").
- original_
value_ strpattern - Optional. (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
- target_
group_ Sequence[Groupkinds Kind Response] - Optional. (Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
- target_
json_ strpath - This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
- target_
namespaces Sequence[str] - Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
- new
Value String - Optional. This is the new value to set for any fields that pass the filtering and selection criteria. To remove a value from a Kubernetes resource, either leave this field unspecified, or set it to the empty string ("").
- original
Value StringPattern - Optional. (Filtering parameter) This is a [regular expression] (https://en.wikipedia.org/wiki/Regular_expression) that is compared against the fields matched by the target_json_path expression (and must also have passed the previous filters). Substitution will not be performed against fields whose value does not match this expression. If this field is NOT specified, then ALL fields matched by the target_json_path expression will undergo substitution. Note that an empty (e.g., "", rather than unspecified) value for this field will only match empty fields.
- target
Group List<Property Map>Kinds - Optional. (Filtering parameter) Any resource subject to substitution must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for substitution).
- target
Json StringPath - This is a [JSONPath] (https://kubernetes.io/docs/reference/kubectl/jsonpath/) expression that matches specific fields of candidate resources and it operates as both a filtering parameter (resources that are not matched with this expression will not be candidates for substitution) as well as a field identifier (identifies exactly which fields out of the candidate resources will be modified).
- target
Namespaces List<String> - Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
TransformationRuleActionResponse, TransformationRuleActionResponseArgs
- From
Path string - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- Op string
- op specifies the operation to perform.
- Path string
- Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
- Value string
- Optional. A string that specifies the desired value in string format to use for transformation.
- From
Path string - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- Op string
- op specifies the operation to perform.
- Path string
- Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
- Value string
- Optional. A string that specifies the desired value in string format to use for transformation.
- from
Path String - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- op String
- op specifies the operation to perform.
- path String
- Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
- value String
- Optional. A string that specifies the desired value in string format to use for transformation.
- from
Path string - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- op string
- op specifies the operation to perform.
- path string
- Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
- value string
- Optional. A string that specifies the desired value in string format to use for transformation.
- from_
path str - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- op str
- op specifies the operation to perform.
- path str
- Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
- value str
- Optional. A string that specifies the desired value in string format to use for transformation.
- from
Path String - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- op String
- op specifies the operation to perform.
- path String
- Optional. A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
- value String
- Optional. A string that specifies the desired value in string format to use for transformation.
TransformationRuleResponse, TransformationRuleResponseArgs
- Description string
- Optional. The description is a user specified string description of the transformation rule.
- Field
Actions List<Pulumi.Google Native. Gkebackup. V1. Inputs. Transformation Rule Action Response> - A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
- Resource
Filter Pulumi.Google Native. Gkebackup. V1. Inputs. Resource Filter Response - Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
- Description string
- Optional. The description is a user specified string description of the transformation rule.
- Field
Actions []TransformationRule Action Response - A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
- Resource
Filter ResourceFilter Response - Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
- description String
- Optional. The description is a user specified string description of the transformation rule.
- field
Actions List<TransformationRule Action Response> - A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
- resource
Filter ResourceFilter Response - Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
- description string
- Optional. The description is a user specified string description of the transformation rule.
- field
Actions TransformationRule Action Response[] - A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
- resource
Filter ResourceFilter Response - Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
- description str
- Optional. The description is a user specified string description of the transformation rule.
- field_
actions Sequence[TransformationRule Action Response] - A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
- resource_
filter ResourceFilter Response - Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
- description String
- Optional. The description is a user specified string description of the transformation rule.
- field
Actions List<Property Map> - A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation.
- resource
Filter Property Map - Optional. This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions.
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.