Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.gkebackup/v1.RestorePlan
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a new RestorePlan in a given location. Auto-naming is currently not supported for this resource.
Create RestorePlan Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RestorePlan(name: string, args: RestorePlanArgs, opts?: CustomResourceOptions);
@overload
def RestorePlan(resource_name: str,
args: RestorePlanArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RestorePlan(resource_name: str,
opts: Optional[ResourceOptions] = None,
backup_plan: Optional[str] = None,
cluster: Optional[str] = None,
restore_config: Optional[RestoreConfigArgs] = 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 NewRestorePlan(ctx *Context, name string, args RestorePlanArgs, opts ...ResourceOption) (*RestorePlan, error)
public RestorePlan(string name, RestorePlanArgs args, CustomResourceOptions? opts = null)
public RestorePlan(String name, RestorePlanArgs args)
public RestorePlan(String name, RestorePlanArgs args, CustomResourceOptions options)
type: google-native:gkebackup/v1:RestorePlan
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 RestorePlanArgs
- 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 RestorePlanArgs
- 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 RestorePlanArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RestorePlanArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RestorePlanArgs
- 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 restorePlanResource = new GoogleNative.Gkebackup.V1.RestorePlan("restorePlanResource", new()
{
BackupPlan = "string",
Cluster = "string",
RestoreConfig = new GoogleNative.Gkebackup.V1.Inputs.RestoreConfigArgs
{
AllNamespaces = false,
ClusterResourceConflictPolicy = GoogleNative.Gkebackup.V1.RestoreConfigClusterResourceConflictPolicy.ClusterResourceConflictPolicyUnspecified,
ClusterResourceRestoreScope = new GoogleNative.Gkebackup.V1.Inputs.ClusterResourceRestoreScopeArgs
{
AllGroupKinds = false,
ExcludedGroupKinds = new[]
{
new GoogleNative.Gkebackup.V1.Inputs.GroupKindArgs
{
ResourceGroup = "string",
ResourceKind = "string",
},
},
NoGroupKinds = false,
SelectedGroupKinds = new[]
{
new GoogleNative.Gkebackup.V1.Inputs.GroupKindArgs
{
ResourceGroup = "string",
ResourceKind = "string",
},
},
},
ExcludedNamespaces = new GoogleNative.Gkebackup.V1.Inputs.NamespacesArgs
{
Namespaces = new[]
{
"string",
},
},
NamespacedResourceRestoreMode = GoogleNative.Gkebackup.V1.RestoreConfigNamespacedResourceRestoreMode.NamespacedResourceRestoreModeUnspecified,
NoNamespaces = false,
SelectedApplications = new GoogleNative.Gkebackup.V1.Inputs.NamespacedNamesArgs
{
NamespacedNames = new[]
{
new GoogleNative.Gkebackup.V1.Inputs.NamespacedNameArgs
{
Name = "string",
Namespace = "string",
},
},
},
SelectedNamespaces = new GoogleNative.Gkebackup.V1.Inputs.NamespacesArgs
{
Namespaces = new[]
{
"string",
},
},
SubstitutionRules = new[]
{
new GoogleNative.Gkebackup.V1.Inputs.SubstitutionRuleArgs
{
TargetJsonPath = "string",
NewValue = "string",
OriginalValuePattern = "string",
TargetGroupKinds = new[]
{
new GoogleNative.Gkebackup.V1.Inputs.GroupKindArgs
{
ResourceGroup = "string",
ResourceKind = "string",
},
},
TargetNamespaces = new[]
{
"string",
},
},
},
TransformationRules = new[]
{
new GoogleNative.Gkebackup.V1.Inputs.TransformationRuleArgs
{
FieldActions = new[]
{
new GoogleNative.Gkebackup.V1.Inputs.TransformationRuleActionArgs
{
Op = GoogleNative.Gkebackup.V1.TransformationRuleActionOp.OpUnspecified,
FromPath = "string",
Path = "string",
Value = "string",
},
},
Description = "string",
ResourceFilter = new GoogleNative.Gkebackup.V1.Inputs.ResourceFilterArgs
{
GroupKinds = new[]
{
new GoogleNative.Gkebackup.V1.Inputs.GroupKindArgs
{
ResourceGroup = "string",
ResourceKind = "string",
},
},
JsonPath = "string",
Namespaces = new[]
{
"string",
},
},
},
},
VolumeDataRestorePolicy = GoogleNative.Gkebackup.V1.RestoreConfigVolumeDataRestorePolicy.VolumeDataRestorePolicyUnspecified,
},
RestorePlanId = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Location = "string",
Project = "string",
});
example, err := gkebackup.NewRestorePlan(ctx, "restorePlanResource", &gkebackup.RestorePlanArgs{
BackupPlan: pulumi.String("string"),
Cluster: pulumi.String("string"),
RestoreConfig: &gkebackup.RestoreConfigArgs{
AllNamespaces: pulumi.Bool(false),
ClusterResourceConflictPolicy: gkebackup.RestoreConfigClusterResourceConflictPolicyClusterResourceConflictPolicyUnspecified,
ClusterResourceRestoreScope: &gkebackup.ClusterResourceRestoreScopeArgs{
AllGroupKinds: pulumi.Bool(false),
ExcludedGroupKinds: gkebackup.GroupKindArray{
&gkebackup.GroupKindArgs{
ResourceGroup: pulumi.String("string"),
ResourceKind: pulumi.String("string"),
},
},
NoGroupKinds: pulumi.Bool(false),
SelectedGroupKinds: gkebackup.GroupKindArray{
&gkebackup.GroupKindArgs{
ResourceGroup: pulumi.String("string"),
ResourceKind: pulumi.String("string"),
},
},
},
ExcludedNamespaces: &gkebackup.NamespacesArgs{
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
},
NamespacedResourceRestoreMode: gkebackup.RestoreConfigNamespacedResourceRestoreModeNamespacedResourceRestoreModeUnspecified,
NoNamespaces: pulumi.Bool(false),
SelectedApplications: &gkebackup.NamespacedNamesArgs{
NamespacedNames: gkebackup.NamespacedNameArray{
&gkebackup.NamespacedNameArgs{
Name: pulumi.String("string"),
Namespace: pulumi.String("string"),
},
},
},
SelectedNamespaces: &gkebackup.NamespacesArgs{
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
},
SubstitutionRules: gkebackup.SubstitutionRuleArray{
&gkebackup.SubstitutionRuleArgs{
TargetJsonPath: pulumi.String("string"),
NewValue: pulumi.String("string"),
OriginalValuePattern: pulumi.String("string"),
TargetGroupKinds: gkebackup.GroupKindArray{
&gkebackup.GroupKindArgs{
ResourceGroup: pulumi.String("string"),
ResourceKind: pulumi.String("string"),
},
},
TargetNamespaces: pulumi.StringArray{
pulumi.String("string"),
},
},
},
TransformationRules: gkebackup.TransformationRuleArray{
&gkebackup.TransformationRuleArgs{
FieldActions: gkebackup.TransformationRuleActionArray{
&gkebackup.TransformationRuleActionArgs{
Op: gkebackup.TransformationRuleActionOpOpUnspecified,
FromPath: pulumi.String("string"),
Path: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
Description: pulumi.String("string"),
ResourceFilter: &gkebackup.ResourceFilterArgs{
GroupKinds: gkebackup.GroupKindArray{
&gkebackup.GroupKindArgs{
ResourceGroup: pulumi.String("string"),
ResourceKind: pulumi.String("string"),
},
},
JsonPath: pulumi.String("string"),
Namespaces: pulumi.StringArray{
pulumi.String("string"),
},
},
},
},
VolumeDataRestorePolicy: gkebackup.RestoreConfigVolumeDataRestorePolicyVolumeDataRestorePolicyUnspecified,
},
RestorePlanId: pulumi.String("string"),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Location: pulumi.String("string"),
Project: pulumi.String("string"),
})
var restorePlanResource = new RestorePlan("restorePlanResource", RestorePlanArgs.builder()
.backupPlan("string")
.cluster("string")
.restoreConfig(RestoreConfigArgs.builder()
.allNamespaces(false)
.clusterResourceConflictPolicy("CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED")
.clusterResourceRestoreScope(ClusterResourceRestoreScopeArgs.builder()
.allGroupKinds(false)
.excludedGroupKinds(GroupKindArgs.builder()
.resourceGroup("string")
.resourceKind("string")
.build())
.noGroupKinds(false)
.selectedGroupKinds(GroupKindArgs.builder()
.resourceGroup("string")
.resourceKind("string")
.build())
.build())
.excludedNamespaces(NamespacesArgs.builder()
.namespaces("string")
.build())
.namespacedResourceRestoreMode("NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED")
.noNamespaces(false)
.selectedApplications(NamespacedNamesArgs.builder()
.namespacedNames(NamespacedNameArgs.builder()
.name("string")
.namespace("string")
.build())
.build())
.selectedNamespaces(NamespacesArgs.builder()
.namespaces("string")
.build())
.substitutionRules(SubstitutionRuleArgs.builder()
.targetJsonPath("string")
.newValue("string")
.originalValuePattern("string")
.targetGroupKinds(GroupKindArgs.builder()
.resourceGroup("string")
.resourceKind("string")
.build())
.targetNamespaces("string")
.build())
.transformationRules(TransformationRuleArgs.builder()
.fieldActions(TransformationRuleActionArgs.builder()
.op("OP_UNSPECIFIED")
.fromPath("string")
.path("string")
.value("string")
.build())
.description("string")
.resourceFilter(ResourceFilterArgs.builder()
.groupKinds(GroupKindArgs.builder()
.resourceGroup("string")
.resourceKind("string")
.build())
.jsonPath("string")
.namespaces("string")
.build())
.build())
.volumeDataRestorePolicy("VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED")
.build())
.restorePlanId("string")
.description("string")
.labels(Map.of("string", "string"))
.location("string")
.project("string")
.build());
restore_plan_resource = google_native.gkebackup.v1.RestorePlan("restorePlanResource",
backup_plan="string",
cluster="string",
restore_config={
"all_namespaces": False,
"cluster_resource_conflict_policy": google_native.gkebackup.v1.RestoreConfigClusterResourceConflictPolicy.CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED,
"cluster_resource_restore_scope": {
"all_group_kinds": False,
"excluded_group_kinds": [{
"resource_group": "string",
"resource_kind": "string",
}],
"no_group_kinds": False,
"selected_group_kinds": [{
"resource_group": "string",
"resource_kind": "string",
}],
},
"excluded_namespaces": {
"namespaces": ["string"],
},
"namespaced_resource_restore_mode": google_native.gkebackup.v1.RestoreConfigNamespacedResourceRestoreMode.NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED,
"no_namespaces": False,
"selected_applications": {
"namespaced_names": [{
"name": "string",
"namespace": "string",
}],
},
"selected_namespaces": {
"namespaces": ["string"],
},
"substitution_rules": [{
"target_json_path": "string",
"new_value": "string",
"original_value_pattern": "string",
"target_group_kinds": [{
"resource_group": "string",
"resource_kind": "string",
}],
"target_namespaces": ["string"],
}],
"transformation_rules": [{
"field_actions": [{
"op": google_native.gkebackup.v1.TransformationRuleActionOp.OP_UNSPECIFIED,
"from_path": "string",
"path": "string",
"value": "string",
}],
"description": "string",
"resource_filter": {
"group_kinds": [{
"resource_group": "string",
"resource_kind": "string",
}],
"json_path": "string",
"namespaces": ["string"],
},
}],
"volume_data_restore_policy": google_native.gkebackup.v1.RestoreConfigVolumeDataRestorePolicy.VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED,
},
restore_plan_id="string",
description="string",
labels={
"string": "string",
},
location="string",
project="string")
const restorePlanResource = new google_native.gkebackup.v1.RestorePlan("restorePlanResource", {
backupPlan: "string",
cluster: "string",
restoreConfig: {
allNamespaces: false,
clusterResourceConflictPolicy: google_native.gkebackup.v1.RestoreConfigClusterResourceConflictPolicy.ClusterResourceConflictPolicyUnspecified,
clusterResourceRestoreScope: {
allGroupKinds: false,
excludedGroupKinds: [{
resourceGroup: "string",
resourceKind: "string",
}],
noGroupKinds: false,
selectedGroupKinds: [{
resourceGroup: "string",
resourceKind: "string",
}],
},
excludedNamespaces: {
namespaces: ["string"],
},
namespacedResourceRestoreMode: google_native.gkebackup.v1.RestoreConfigNamespacedResourceRestoreMode.NamespacedResourceRestoreModeUnspecified,
noNamespaces: false,
selectedApplications: {
namespacedNames: [{
name: "string",
namespace: "string",
}],
},
selectedNamespaces: {
namespaces: ["string"],
},
substitutionRules: [{
targetJsonPath: "string",
newValue: "string",
originalValuePattern: "string",
targetGroupKinds: [{
resourceGroup: "string",
resourceKind: "string",
}],
targetNamespaces: ["string"],
}],
transformationRules: [{
fieldActions: [{
op: google_native.gkebackup.v1.TransformationRuleActionOp.OpUnspecified,
fromPath: "string",
path: "string",
value: "string",
}],
description: "string",
resourceFilter: {
groupKinds: [{
resourceGroup: "string",
resourceKind: "string",
}],
jsonPath: "string",
namespaces: ["string"],
},
}],
volumeDataRestorePolicy: google_native.gkebackup.v1.RestoreConfigVolumeDataRestorePolicy.VolumeDataRestorePolicyUnspecified,
},
restorePlanId: "string",
description: "string",
labels: {
string: "string",
},
location: "string",
project: "string",
});
type: google-native:gkebackup/v1:RestorePlan
properties:
backupPlan: string
cluster: string
description: string
labels:
string: string
location: string
project: string
restoreConfig:
allNamespaces: false
clusterResourceConflictPolicy: CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED
clusterResourceRestoreScope:
allGroupKinds: false
excludedGroupKinds:
- resourceGroup: string
resourceKind: string
noGroupKinds: false
selectedGroupKinds:
- resourceGroup: string
resourceKind: string
excludedNamespaces:
namespaces:
- string
namespacedResourceRestoreMode: NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED
noNamespaces: false
selectedApplications:
namespacedNames:
- name: string
namespace: string
selectedNamespaces:
namespaces:
- string
substitutionRules:
- newValue: string
originalValuePattern: string
targetGroupKinds:
- resourceGroup: string
resourceKind: string
targetJsonPath: string
targetNamespaces:
- string
transformationRules:
- description: string
fieldActions:
- fromPath: string
op: OP_UNSPECIFIED
path: string
value: string
resourceFilter:
groupKinds:
- resourceGroup: string
resourceKind: string
jsonPath: string
namespaces:
- string
volumeDataRestorePolicy: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED
restorePlanId: string
RestorePlan 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 RestorePlan resource accepts the following input properties:
- Backup
Plan string - Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:
projects/*/locations/*/backupPlans/*
. - Cluster string
- Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- Restore
Config Pulumi.Google Native. Gkebackup. V1. Inputs. Restore Config - Configuration of Restores created via this RestorePlan.
- Restore
Plan stringId - Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
- Description string
- Optional. User specified descriptive string for this RestorePlan.
- Labels Dictionary<string, string>
- Optional. A set of custom labels supplied by user.
- Location string
- Project string
- Backup
Plan string - Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:
projects/*/locations/*/backupPlans/*
. - Cluster string
- Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- Restore
Config RestoreConfig Args - Configuration of Restores created via this RestorePlan.
- Restore
Plan stringId - Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
- Description string
- Optional. User specified descriptive string for this RestorePlan.
- Labels map[string]string
- Optional. A set of custom labels supplied by user.
- Location string
- Project string
- backup
Plan String - Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:
projects/*/locations/*/backupPlans/*
. - cluster String
- Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- restore
Config RestoreConfig - Configuration of Restores created via this RestorePlan.
- restore
Plan StringId - Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
- description String
- Optional. User specified descriptive string for this RestorePlan.
- labels Map<String,String>
- Optional. A set of custom labels supplied by user.
- location String
- project String
- backup
Plan string - Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:
projects/*/locations/*/backupPlans/*
. - cluster string
- Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- restore
Config RestoreConfig - Configuration of Restores created via this RestorePlan.
- restore
Plan stringId - Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
- description string
- Optional. User specified descriptive string for this RestorePlan.
- labels {[key: string]: string}
- Optional. A set of custom labels supplied by user.
- location string
- project string
- backup_
plan str - Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:
projects/*/locations/*/backupPlans/*
. - cluster str
- Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- restore_
config RestoreConfig Args - Configuration of Restores created via this RestorePlan.
- restore_
plan_ strid - Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
- description str
- Optional. User specified descriptive string for this RestorePlan.
- labels Mapping[str, str]
- Optional. A set of custom labels supplied by user.
- location str
- project str
- backup
Plan String - Immutable. A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan. Format:
projects/*/locations/*/backupPlans/*
. - cluster String
- Immutable. The target cluster into which Restores created via this RestorePlan will restore data. NOTE: the cluster's region must be the same as the RestorePlan. Valid formats: -
projects/*/locations/*/clusters/*
-projects/*/zones/*/clusters/*
- restore
Config Property Map - Configuration of Restores created via this RestorePlan.
- restore
Plan StringId - Required. The client-provided short name for the RestorePlan 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 RestorePlans in this location
- description String
- Optional. User specified descriptive string for this RestorePlan.
- labels Map<String>
- Optional. A set of custom labels supplied by user.
- location String
- project String
Outputs
All input properties are implicitly available as output properties. Additionally, the RestorePlan resource produces the following output properties:
- Create
Time string - The timestamp when this RestorePlan 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 toGetRestorePlan
, and systems are expected to put that etag in the request toUpdateRestorePlan
orDeleteRestorePlan
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 RestorePlan resource. Format:
projects/*/locations/*/restorePlans/*
. - State string
- State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
- State
Reason string - Human-readable description of why RestorePlan is in the current
state
- Uid string
- Server generated global unique identifier of UUID format.
- Update
Time string - The timestamp when this RestorePlan resource was last updated.
- Create
Time string - The timestamp when this RestorePlan 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 toGetRestorePlan
, and systems are expected to put that etag in the request toUpdateRestorePlan
orDeleteRestorePlan
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 RestorePlan resource. Format:
projects/*/locations/*/restorePlans/*
. - State string
- State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
- State
Reason string - Human-readable description of why RestorePlan is in the current
state
- Uid string
- Server generated global unique identifier of UUID format.
- Update
Time string - The timestamp when this RestorePlan resource was last updated.
- create
Time String - The timestamp when this RestorePlan 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 toGetRestorePlan
, and systems are expected to put that etag in the request toUpdateRestorePlan
orDeleteRestorePlan
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 RestorePlan resource. Format:
projects/*/locations/*/restorePlans/*
. - state String
- State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
- state
Reason String - Human-readable description of why RestorePlan is in the current
state
- uid String
- Server generated global unique identifier of UUID format.
- update
Time String - The timestamp when this RestorePlan resource was last updated.
- create
Time string - The timestamp when this RestorePlan 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 toGetRestorePlan
, and systems are expected to put that etag in the request toUpdateRestorePlan
orDeleteRestorePlan
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 RestorePlan resource. Format:
projects/*/locations/*/restorePlans/*
. - state string
- State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
- state
Reason string - Human-readable description of why RestorePlan is in the current
state
- uid string
- Server generated global unique identifier of UUID format.
- update
Time string - The timestamp when this RestorePlan resource was last updated.
- create_
time str - The timestamp when this RestorePlan 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 toGetRestorePlan
, and systems are expected to put that etag in the request toUpdateRestorePlan
orDeleteRestorePlan
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 RestorePlan resource. Format:
projects/*/locations/*/restorePlans/*
. - state str
- State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
- state_
reason str - Human-readable description of why RestorePlan is in the current
state
- uid str
- Server generated global unique identifier of UUID format.
- update_
time str - The timestamp when this RestorePlan resource was last updated.
- create
Time String - The timestamp when this RestorePlan 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 toGetRestorePlan
, and systems are expected to put that etag in the request toUpdateRestorePlan
orDeleteRestorePlan
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 RestorePlan resource. Format:
projects/*/locations/*/restorePlans/*
. - state String
- State of the RestorePlan. This State field reflects the various stages a RestorePlan can be in during the Create operation.
- state
Reason String - Human-readable description of why RestorePlan is in the current
state
- uid String
- Server generated global unique identifier of UUID format.
- update
Time String - The timestamp when this RestorePlan resource was last updated.
Supporting Types
ClusterResourceRestoreScope, ClusterResourceRestoreScopeArgs
- 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> - 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> - 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 - 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 - 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> - 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> - 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[] - 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[] - 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] - 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] - 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.
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.
GroupKind, GroupKindArgs
- 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.
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.
NamespacedName, NamespacedNameArgs
NamespacedNameResponse, NamespacedNameResponseArgs
NamespacedNames, NamespacedNamesArgs
- Namespaced
Names List<Pulumi.Google Native. Gkebackup. V1. Inputs. Namespaced Name> - Optional. A list of namespaced Kubernetes resources.
- Namespaced
Names []NamespacedName - Optional. A list of namespaced Kubernetes resources.
- namespaced
Names List<NamespacedName> - Optional. A list of namespaced Kubernetes resources.
- namespaced
Names NamespacedName[] - Optional. A list of namespaced Kubernetes resources.
- namespaced_
names Sequence[NamespacedName] - Optional. A list of namespaced Kubernetes resources.
- namespaced
Names List<Property Map> - Optional. A list of namespaced Kubernetes resources.
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.
Namespaces, NamespacesArgs
- 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
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
ResourceFilter, ResourceFilterArgs
- Group
Kinds List<Pulumi.Google Native. Gkebackup. V1. Inputs. Group Kind> - 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 - 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> - 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[] - 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] - 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).
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).
RestoreConfig, RestoreConfigArgs
- All
Namespaces bool - Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
- Cluster
Resource Pulumi.Conflict Policy Google Native. Gkebackup. V1. Restore Config Cluster Resource Conflict 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 - 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 - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- Namespaced
Resource Pulumi.Restore Mode Google Native. Gkebackup. V1. Restore Config Namespaced Resource Restore 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 - 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 - 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> - 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> - 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 Pulumi.Restore Policy Google Native. Gkebackup. V1. Restore Config Volume Data Restore 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 RestoreConflict Policy Config Cluster Resource Conflict 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 - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- Excluded
Namespaces Namespaces - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- Namespaced
Resource RestoreRestore Mode Config Namespaced Resource Restore 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 - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- Selected
Namespaces Namespaces - 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 - 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 - 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 RestoreRestore Policy Config Volume Data Restore 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 RestoreConflict Policy Config Cluster Resource Conflict 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 - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- excluded
Namespaces Namespaces - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- namespaced
Resource RestoreRestore Mode Config Namespaced Resource Restore 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 - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- selected
Namespaces Namespaces - 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> - 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> - 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 RestoreRestore Policy Config Volume Data Restore 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 RestoreConflict Policy Config Cluster Resource Conflict 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 - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- excluded
Namespaces Namespaces - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- namespaced
Resource RestoreRestore Mode Config Namespaced Resource Restore 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 - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- selected
Namespaces Namespaces - 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[] - 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[] - 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 RestoreRestore Policy Config Volume Data Restore 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_ Restoreconflict_ policy Config Cluster Resource Conflict 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 - Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
- excluded_
namespaces Namespaces - A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
- namespaced_
resource_ Restorerestore_ mode Config Namespaced Resource Restore 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 - A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
- selected_
namespaces Namespaces - 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] - 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] - 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_ Restorerestore_ policy Config Volume Data Restore 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 "CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED" | "USE_EXISTING_VERSION" | "USE_BACKUP_VERSION"Conflict 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 "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED" | "DELETE_AND_RESTORE" | "FAIL_ON_CONFLICT"Restore 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 "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED" | "RESTORE_VOLUME_DATA_FROM_BACKUP" | "REUSE_VOLUME_HANDLE_FROM_BACKUP" | "NO_VOLUME_DATA_RESTORATION"Restore 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).
RestoreConfigClusterResourceConflictPolicy, RestoreConfigClusterResourceConflictPolicyArgs
- Cluster
Resource Conflict Policy Unspecified - CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIEDUnspecified. Only allowed if no cluster-scoped resources will be restored.
- Use
Existing Version - USE_EXISTING_VERSIONDo not attempt to restore the conflicting resource.
- Use
Backup Version - USE_BACKUP_VERSIONDelete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type.
- Restore
Config Cluster Resource Conflict Policy Cluster Resource Conflict Policy Unspecified - CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIEDUnspecified. Only allowed if no cluster-scoped resources will be restored.
- Restore
Config Cluster Resource Conflict Policy Use Existing Version - USE_EXISTING_VERSIONDo not attempt to restore the conflicting resource.
- Restore
Config Cluster Resource Conflict Policy Use Backup Version - USE_BACKUP_VERSIONDelete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type.
- Cluster
Resource Conflict Policy Unspecified - CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIEDUnspecified. Only allowed if no cluster-scoped resources will be restored.
- Use
Existing Version - USE_EXISTING_VERSIONDo not attempt to restore the conflicting resource.
- Use
Backup Version - USE_BACKUP_VERSIONDelete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type.
- Cluster
Resource Conflict Policy Unspecified - CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIEDUnspecified. Only allowed if no cluster-scoped resources will be restored.
- Use
Existing Version - USE_EXISTING_VERSIONDo not attempt to restore the conflicting resource.
- Use
Backup Version - USE_BACKUP_VERSIONDelete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type.
- CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED
- CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIEDUnspecified. Only allowed if no cluster-scoped resources will be restored.
- USE_EXISTING_VERSION
- USE_EXISTING_VERSIONDo not attempt to restore the conflicting resource.
- USE_BACKUP_VERSION
- USE_BACKUP_VERSIONDelete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type.
- "CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED"
- CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIEDUnspecified. Only allowed if no cluster-scoped resources will be restored.
- "USE_EXISTING_VERSION"
- USE_EXISTING_VERSIONDo not attempt to restore the conflicting resource.
- "USE_BACKUP_VERSION"
- USE_BACKUP_VERSIONDelete the existing version before re-creating it from the Backup. This is a dangerous option which could cause unintentional data loss if used inappropriately. For example, deleting a CRD will cause Kubernetes to delete all CRs of that type.
RestoreConfigNamespacedResourceRestoreMode, RestoreConfigNamespacedResourceRestoreModeArgs
- Namespaced
Resource Restore Mode Unspecified - NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIEDUnspecified (invalid).
- Delete
And Restore - DELETE_AND_RESTOREWhen conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.
- Fail
On Conflict - FAIL_ON_CONFLICTIf conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported.
- Restore
Config Namespaced Resource Restore Mode Namespaced Resource Restore Mode Unspecified - NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIEDUnspecified (invalid).
- Restore
Config Namespaced Resource Restore Mode Delete And Restore - DELETE_AND_RESTOREWhen conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.
- Restore
Config Namespaced Resource Restore Mode Fail On Conflict - FAIL_ON_CONFLICTIf conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported.
- Namespaced
Resource Restore Mode Unspecified - NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIEDUnspecified (invalid).
- Delete
And Restore - DELETE_AND_RESTOREWhen conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.
- Fail
On Conflict - FAIL_ON_CONFLICTIf conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported.
- Namespaced
Resource Restore Mode Unspecified - NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIEDUnspecified (invalid).
- Delete
And Restore - DELETE_AND_RESTOREWhen conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.
- Fail
On Conflict - FAIL_ON_CONFLICTIf conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported.
- NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED
- NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIEDUnspecified (invalid).
- DELETE_AND_RESTORE
- DELETE_AND_RESTOREWhen conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.
- FAIL_ON_CONFLICT
- FAIL_ON_CONFLICTIf conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported.
- "NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED"
- NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIEDUnspecified (invalid).
- "DELETE_AND_RESTORE"
- DELETE_AND_RESTOREWhen conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered, this will first trigger a delete of the conflicting resource AND ALL OF ITS REFERENCED RESOURCES (e.g., all resources in the Namespace or all resources referenced by the ProtectedApplication) before restoring the resources from the Backup. This mode should only be used when you are intending to revert some portion of a cluster to an earlier state.
- "FAIL_ON_CONFLICT"
- FAIL_ON_CONFLICTIf conflicting top-level resources (either Namespaces or ProtectedApplications, depending upon the scope) are encountered at the beginning of a restore process, the Restore will fail. If a conflict occurs during the restore process itself (e.g., because an out of band process creates conflicting resources), a conflict will be reported.
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).
RestoreConfigVolumeDataRestorePolicy, RestoreConfigVolumeDataRestorePolicyArgs
- Volume
Data Restore Policy Unspecified - VOLUME_DATA_RESTORE_POLICY_UNSPECIFIEDUnspecified (illegal).
- Restore
Volume Data From Backup - RESTORE_VOLUME_DATA_FROM_BACKUPFor each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.
- Reuse
Volume Handle From Backup - REUSE_VOLUME_HANDLE_FROM_BACKUPFor each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.
- No
Volume Data Restoration - NO_VOLUME_DATA_RESTORATIONFor each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.
- Restore
Config Volume Data Restore Policy Volume Data Restore Policy Unspecified - VOLUME_DATA_RESTORE_POLICY_UNSPECIFIEDUnspecified (illegal).
- Restore
Config Volume Data Restore Policy Restore Volume Data From Backup - RESTORE_VOLUME_DATA_FROM_BACKUPFor each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.
- Restore
Config Volume Data Restore Policy Reuse Volume Handle From Backup - REUSE_VOLUME_HANDLE_FROM_BACKUPFor each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.
- Restore
Config Volume Data Restore Policy No Volume Data Restoration - NO_VOLUME_DATA_RESTORATIONFor each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.
- Volume
Data Restore Policy Unspecified - VOLUME_DATA_RESTORE_POLICY_UNSPECIFIEDUnspecified (illegal).
- Restore
Volume Data From Backup - RESTORE_VOLUME_DATA_FROM_BACKUPFor each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.
- Reuse
Volume Handle From Backup - REUSE_VOLUME_HANDLE_FROM_BACKUPFor each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.
- No
Volume Data Restoration - NO_VOLUME_DATA_RESTORATIONFor each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.
- Volume
Data Restore Policy Unspecified - VOLUME_DATA_RESTORE_POLICY_UNSPECIFIEDUnspecified (illegal).
- Restore
Volume Data From Backup - RESTORE_VOLUME_DATA_FROM_BACKUPFor each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.
- Reuse
Volume Handle From Backup - REUSE_VOLUME_HANDLE_FROM_BACKUPFor each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.
- No
Volume Data Restoration - NO_VOLUME_DATA_RESTORATIONFor each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.
- VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED
- VOLUME_DATA_RESTORE_POLICY_UNSPECIFIEDUnspecified (illegal).
- RESTORE_VOLUME_DATA_FROM_BACKUP
- RESTORE_VOLUME_DATA_FROM_BACKUPFor each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.
- REUSE_VOLUME_HANDLE_FROM_BACKUP
- REUSE_VOLUME_HANDLE_FROM_BACKUPFor each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.
- NO_VOLUME_DATA_RESTORATION
- NO_VOLUME_DATA_RESTORATIONFor each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.
- "VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED"
- VOLUME_DATA_RESTORE_POLICY_UNSPECIFIEDUnspecified (illegal).
- "RESTORE_VOLUME_DATA_FROM_BACKUP"
- RESTORE_VOLUME_DATA_FROM_BACKUPFor each PVC to be restored, create a new underlying volume and PV from the corresponding VolumeBackup contained within the Backup.
- "REUSE_VOLUME_HANDLE_FROM_BACKUP"
- REUSE_VOLUME_HANDLE_FROM_BACKUPFor each PVC to be restored, attempt to reuse the original PV contained in the Backup (with its original underlying volume). This option is likely only usable when restoring a workload to its original cluster.
- "NO_VOLUME_DATA_RESTORATION"
- NO_VOLUME_DATA_RESTORATIONFor each PVC to be restored, create PVC without any particular action to restore data. In this case, the normal Kubernetes provisioning logic would kick in, and this would likely result in either dynamically provisioning blank PVs or binding to statically provisioned PVs.
SubstitutionRule, SubstitutionRuleArgs
- 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).
- 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> - 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
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.
- 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).
- 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 - 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
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.
- 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).
- 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> - 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
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.
- 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).
- 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[] - 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
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.
- 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).
- 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] - 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_
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.
- 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).
- 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
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.
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.
TransformationRule, TransformationRuleArgs
- Field
Actions List<Pulumi.Google Native. Gkebackup. V1. Inputs. Transformation Rule Action> - 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.
- Description string
- Optional. The description is a user specified string description of the transformation rule.
- Resource
Filter Pulumi.Google Native. Gkebackup. V1. Inputs. Resource Filter - 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.
- Field
Actions []TransformationRule Action - 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.
- Description string
- Optional. The description is a user specified string description of the transformation rule.
- Resource
Filter ResourceFilter - 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.
- field
Actions List<TransformationRule Action> - 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.
- description String
- Optional. The description is a user specified string description of the transformation rule.
- resource
Filter ResourceFilter - 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.
- field
Actions TransformationRule Action[] - 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.
- description string
- Optional. The description is a user specified string description of the transformation rule.
- resource
Filter ResourceFilter - 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.
- field_
actions Sequence[TransformationRule Action] - 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.
- description str
- Optional. The description is a user specified string description of the transformation rule.
- resource_
filter ResourceFilter - 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.
- 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.
- description String
- Optional. The description is a user specified string description of the transformation rule.
- 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.
TransformationRuleAction, TransformationRuleActionArgs
- Op
Pulumi.
Google Native. Gkebackup. V1. Transformation Rule Action Op - op specifies the operation to perform.
- From
Path string - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- 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.
- Op
Transformation
Rule Action Op - op specifies the operation to perform.
- From
Path string - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- 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.
- op
Transformation
Rule Action Op - op specifies the operation to perform.
- from
Path String - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- 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.
- op
Transformation
Rule Action Op - op specifies the operation to perform.
- from
Path string - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- 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.
- op
Transformation
Rule Action Op - op specifies the operation to perform.
- from_
path str - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- 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.
- op "OP_UNSPECIFIED" | "REMOVE" | "MOVE" | "COPY" | "ADD" | "TEST" | "REPLACE"
- op specifies the operation to perform.
- from
Path String - Optional. A string containing a JSON Pointer value that references the location in the target document to move the value from.
- 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.
TransformationRuleActionOp, TransformationRuleActionOpArgs
- Op
Unspecified - OP_UNSPECIFIEDUnspecified operation
- Remove
- REMOVEThe "remove" operation removes the value at the target location.
- Move
- MOVEThe "move" operation removes the value at a specified location and adds it to the target location.
- Copy
- COPYThe "copy" operation copies the value at a specified location to the target location.
- Add
- ADDThe "add" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.
- Test
- TESTThe "test" operation tests that a value at the target location is equal to a specified value.
- Replace
- REPLACEThe "replace" operation replaces the value at the target location with a new value. The operation object MUST contain a "value" member whose content specifies the replacement value.
- Transformation
Rule Action Op Op Unspecified - OP_UNSPECIFIEDUnspecified operation
- Transformation
Rule Action Op Remove - REMOVEThe "remove" operation removes the value at the target location.
- Transformation
Rule Action Op Move - MOVEThe "move" operation removes the value at a specified location and adds it to the target location.
- Transformation
Rule Action Op Copy - COPYThe "copy" operation copies the value at a specified location to the target location.
- Transformation
Rule Action Op Add - ADDThe "add" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.
- Transformation
Rule Action Op Test - TESTThe "test" operation tests that a value at the target location is equal to a specified value.
- Transformation
Rule Action Op Replace - REPLACEThe "replace" operation replaces the value at the target location with a new value. The operation object MUST contain a "value" member whose content specifies the replacement value.
- Op
Unspecified - OP_UNSPECIFIEDUnspecified operation
- Remove
- REMOVEThe "remove" operation removes the value at the target location.
- Move
- MOVEThe "move" operation removes the value at a specified location and adds it to the target location.
- Copy
- COPYThe "copy" operation copies the value at a specified location to the target location.
- Add
- ADDThe "add" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.
- Test
- TESTThe "test" operation tests that a value at the target location is equal to a specified value.
- Replace
- REPLACEThe "replace" operation replaces the value at the target location with a new value. The operation object MUST contain a "value" member whose content specifies the replacement value.
- Op
Unspecified - OP_UNSPECIFIEDUnspecified operation
- Remove
- REMOVEThe "remove" operation removes the value at the target location.
- Move
- MOVEThe "move" operation removes the value at a specified location and adds it to the target location.
- Copy
- COPYThe "copy" operation copies the value at a specified location to the target location.
- Add
- ADDThe "add" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.
- Test
- TESTThe "test" operation tests that a value at the target location is equal to a specified value.
- Replace
- REPLACEThe "replace" operation replaces the value at the target location with a new value. The operation object MUST contain a "value" member whose content specifies the replacement value.
- OP_UNSPECIFIED
- OP_UNSPECIFIEDUnspecified operation
- REMOVE
- REMOVEThe "remove" operation removes the value at the target location.
- MOVE
- MOVEThe "move" operation removes the value at a specified location and adds it to the target location.
- COPY
- COPYThe "copy" operation copies the value at a specified location to the target location.
- ADD
- ADDThe "add" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.
- TEST
- TESTThe "test" operation tests that a value at the target location is equal to a specified value.
- REPLACE
- REPLACEThe "replace" operation replaces the value at the target location with a new value. The operation object MUST contain a "value" member whose content specifies the replacement value.
- "OP_UNSPECIFIED"
- OP_UNSPECIFIEDUnspecified operation
- "REMOVE"
- REMOVEThe "remove" operation removes the value at the target location.
- "MOVE"
- MOVEThe "move" operation removes the value at a specified location and adds it to the target location.
- "COPY"
- COPYThe "copy" operation copies the value at a specified location to the target location.
- "ADD"
- ADDThe "add" operation performs one of the following functions, depending upon what the target location references: 1. If the target location specifies an array index, a new value is inserted into the array at the specified index. 2. If the target location specifies an object member that does not already exist, a new member is added to the object. 3. If the target location specifies an object member that does exist, that member's value is replaced.
- "TEST"
- TESTThe "test" operation tests that a value at the target location is equal to a specified value.
- "REPLACE"
- REPLACEThe "replace" operation replaces the value at the target location with a new value. The operation object MUST contain a "value" member whose content specifies the replacement value.
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.