1. Packages
  2. Google Cloud Native
  3. API Docs
  4. gkebackup
  5. gkebackup/v1
  6. Restore

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.gkebackup/v1.Restore

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Creates a new Restore for the given RestorePlan. Auto-naming is currently not supported for this resource.

    Create Restore Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Restore(name: string, args: RestoreArgs, opts?: CustomResourceOptions);
    @overload
    def Restore(resource_name: str,
                args: RestoreArgs,
                opts: Optional[ResourceOptions] = None)
    
    @overload
    def Restore(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                backup: Optional[str] = None,
                restore_id: Optional[str] = None,
                restore_plan_id: Optional[str] = None,
                description: Optional[str] = None,
                labels: Optional[Mapping[str, str]] = None,
                location: Optional[str] = None,
                project: Optional[str] = None)
    func NewRestore(ctx *Context, name string, args RestoreArgs, opts ...ResourceOption) (*Restore, error)
    public Restore(string name, RestoreArgs args, CustomResourceOptions? opts = null)
    public Restore(String name, RestoreArgs args)
    public Restore(String name, RestoreArgs args, CustomResourceOptions options)
    
    type: google-native:gkebackup/v1:Restore
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args RestoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args RestoreArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args RestoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RestoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RestoreArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var restoreResource = new GoogleNative.Gkebackup.V1.Restore("restoreResource", new()
    {
        Backup = "string",
        RestoreId = "string",
        RestorePlanId = "string",
        Description = "string",
        Labels = 
        {
            { "string", "string" },
        },
        Location = "string",
        Project = "string",
    });
    
    example, err := gkebackup.NewRestore(ctx, "restoreResource", &gkebackup.RestoreArgs{
    	Backup:        pulumi.String("string"),
    	RestoreId:     pulumi.String("string"),
    	RestorePlanId: pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	Labels: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Project:  pulumi.String("string"),
    })
    
    var restoreResource = new Restore("restoreResource", RestoreArgs.builder()
        .backup("string")
        .restoreId("string")
        .restorePlanId("string")
        .description("string")
        .labels(Map.of("string", "string"))
        .location("string")
        .project("string")
        .build());
    
    restore_resource = google_native.gkebackup.v1.Restore("restoreResource",
        backup="string",
        restore_id="string",
        restore_plan_id="string",
        description="string",
        labels={
            "string": "string",
        },
        location="string",
        project="string")
    
    const restoreResource = new google_native.gkebackup.v1.Restore("restoreResource", {
        backup: "string",
        restoreId: "string",
        restorePlanId: "string",
        description: "string",
        labels: {
            string: "string",
        },
        location: "string",
        project: "string",
    });
    
    type: google-native:gkebackup/v1:Restore
    properties:
        backup: string
        description: string
        labels:
            string: string
        location: string
        project: string
        restoreId: string
        restorePlanId: string
    

    Restore Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The Restore resource accepts the following input properties:

    Backup string
    Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.
    RestoreId string
    Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan.
    RestorePlanId string
    Description string
    User specified descriptive string for this Restore.
    Labels Dictionary<string, string>
    A set of custom labels supplied by user.
    Location string
    Project string
    Backup string
    Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.
    RestoreId string
    Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan.
    RestorePlanId string
    Description string
    User specified descriptive string for this Restore.
    Labels map[string]string
    A set of custom labels supplied by user.
    Location string
    Project string
    backup String
    Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.
    restoreId String
    Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan.
    restorePlanId String
    description String
    User specified descriptive string for this Restore.
    labels Map<String,String>
    A set of custom labels supplied by user.
    location String
    project String
    backup string
    Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.
    restoreId string
    Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan.
    restorePlanId string
    description string
    User specified descriptive string for this Restore.
    labels {[key: string]: string}
    A set of custom labels supplied by user.
    location string
    project string
    backup str
    Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.
    restore_id str
    Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan.
    restore_plan_id str
    description str
    User specified descriptive string for this Restore.
    labels Mapping[str, str]
    A set of custom labels supplied by user.
    location str
    project str
    backup String
    Immutable. A reference to the Backup used as the source from which this Restore will restore. Note that this Backup must be a sub-resource of the RestorePlan's backup_plan. Format: projects/*/locations/*/backupPlans/*/backups/*.
    restoreId String
    Required. The client-provided short name for the Restore resource. This name must: - be between 1 and 63 characters long (inclusive) - consist of only lower-case ASCII letters, numbers, and dashes - start with a lower-case letter - end with a lower-case letter or number - be unique within the set of Restores in this RestorePlan.
    restorePlanId String
    description String
    User specified descriptive string for this Restore.
    labels Map<String>
    A set of custom labels supplied by user.
    location String
    project String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Restore resource produces the following output properties:

    Cluster string
    The target cluster into which this Restore will restore data. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* Inherited from parent RestorePlan's cluster value.
    CompleteTime string
    Timestamp of when the restore operation completed.
    CreateTime string
    The timestamp when this Restore resource was created.
    Etag string
    etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*
    ResourcesExcludedCount int
    Number of resources excluded during the restore execution.
    ResourcesFailedCount int
    Number of resources that failed to be restored during the restore execution.
    ResourcesRestoredCount int
    Number of resources restored during the restore execution.
    RestoreConfig Pulumi.GoogleNative.Gkebackup.V1.Outputs.RestoreConfigResponse
    Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
    State string
    The current state of the Restore.
    StateReason string
    Human-readable description of why the Restore is in its current state.
    Uid string
    Server generated global unique identifier of UUID format.
    UpdateTime string
    The timestamp when this Restore resource was last updated.
    VolumesRestoredCount int
    Number of volumes restored during the restore execution.
    Cluster string
    The target cluster into which this Restore will restore data. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* Inherited from parent RestorePlan's cluster value.
    CompleteTime string
    Timestamp of when the restore operation completed.
    CreateTime string
    The timestamp when this Restore resource was created.
    Etag string
    etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*
    ResourcesExcludedCount int
    Number of resources excluded during the restore execution.
    ResourcesFailedCount int
    Number of resources that failed to be restored during the restore execution.
    ResourcesRestoredCount int
    Number of resources restored during the restore execution.
    RestoreConfig RestoreConfigResponse
    Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
    State string
    The current state of the Restore.
    StateReason string
    Human-readable description of why the Restore is in its current state.
    Uid string
    Server generated global unique identifier of UUID format.
    UpdateTime string
    The timestamp when this Restore resource was last updated.
    VolumesRestoredCount int
    Number of volumes restored during the restore execution.
    cluster String
    The target cluster into which this Restore will restore data. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* Inherited from parent RestorePlan's cluster value.
    completeTime String
    Timestamp of when the restore operation completed.
    createTime String
    The timestamp when this Restore resource was created.
    etag String
    etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*
    resourcesExcludedCount Integer
    Number of resources excluded during the restore execution.
    resourcesFailedCount Integer
    Number of resources that failed to be restored during the restore execution.
    resourcesRestoredCount Integer
    Number of resources restored during the restore execution.
    restoreConfig RestoreConfigResponse
    Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
    state String
    The current state of the Restore.
    stateReason String
    Human-readable description of why the Restore is in its current state.
    uid String
    Server generated global unique identifier of UUID format.
    updateTime String
    The timestamp when this Restore resource was last updated.
    volumesRestoredCount Integer
    Number of volumes restored during the restore execution.
    cluster string
    The target cluster into which this Restore will restore data. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* Inherited from parent RestorePlan's cluster value.
    completeTime string
    Timestamp of when the restore operation completed.
    createTime string
    The timestamp when this Restore resource was created.
    etag string
    etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*
    resourcesExcludedCount number
    Number of resources excluded during the restore execution.
    resourcesFailedCount number
    Number of resources that failed to be restored during the restore execution.
    resourcesRestoredCount number
    Number of resources restored during the restore execution.
    restoreConfig RestoreConfigResponse
    Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
    state string
    The current state of the Restore.
    stateReason string
    Human-readable description of why the Restore is in its current state.
    uid string
    Server generated global unique identifier of UUID format.
    updateTime string
    The timestamp when this Restore resource was last updated.
    volumesRestoredCount number
    Number of volumes restored during the restore execution.
    cluster str
    The target cluster into which this Restore will restore data. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* Inherited from parent RestorePlan's cluster value.
    complete_time str
    Timestamp of when the restore operation completed.
    create_time str
    The timestamp when this Restore resource was created.
    etag str
    etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*
    resources_excluded_count int
    Number of resources excluded during the restore execution.
    resources_failed_count int
    Number of resources that failed to be restored during the restore execution.
    resources_restored_count int
    Number of resources restored during the restore execution.
    restore_config RestoreConfigResponse
    Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
    state str
    The current state of the Restore.
    state_reason str
    Human-readable description of why the Restore is in its current state.
    uid str
    Server generated global unique identifier of UUID format.
    update_time str
    The timestamp when this Restore resource was last updated.
    volumes_restored_count int
    Number of volumes restored during the restore execution.
    cluster String
    The target cluster into which this Restore will restore data. Valid formats: - projects/*/locations/*/clusters/* - projects/*/zones/*/clusters/* Inherited from parent RestorePlan's cluster value.
    completeTime String
    Timestamp of when the restore operation completed.
    createTime String
    The timestamp when this Restore resource was created.
    etag String
    etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a restore from overwriting each other. It is strongly suggested that systems make use of the etag in the read-modify-write cycle to perform restore updates in order to avoid race conditions: An etag is returned in the response to GetRestore, and systems are expected to put that etag in the request to UpdateRestore or DeleteRestore to ensure that their change will be applied to the same version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The full name of the Restore resource. Format: projects/*/locations/*/restorePlans/*/restores/*
    resourcesExcludedCount Number
    Number of resources excluded during the restore execution.
    resourcesFailedCount Number
    Number of resources that failed to be restored during the restore execution.
    resourcesRestoredCount Number
    Number of resources restored during the restore execution.
    restoreConfig Property Map
    Configuration of the Restore. Inherited from parent RestorePlan's restore_config.
    state String
    The current state of the Restore.
    stateReason String
    Human-readable description of why the Restore is in its current state.
    uid String
    Server generated global unique identifier of UUID format.
    updateTime String
    The timestamp when this Restore resource was last updated.
    volumesRestoredCount Number
    Number of volumes restored during the restore execution.

    Supporting Types

    ClusterResourceRestoreScopeResponse, ClusterResourceRestoreScopeResponseArgs

    AllGroupKinds bool
    Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
    ExcludedGroupKinds List<Pulumi.GoogleNative.Gkebackup.V1.Inputs.GroupKindResponse>
    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.
    NoGroupKinds bool
    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.
    SelectedGroupKinds List<Pulumi.GoogleNative.Gkebackup.V1.Inputs.GroupKindResponse>
    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.
    AllGroupKinds bool
    Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
    ExcludedGroupKinds []GroupKindResponse
    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.
    NoGroupKinds bool
    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.
    SelectedGroupKinds []GroupKindResponse
    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.
    allGroupKinds Boolean
    Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
    excludedGroupKinds List<GroupKindResponse>
    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.
    noGroupKinds Boolean
    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.
    selectedGroupKinds List<GroupKindResponse>
    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.
    allGroupKinds boolean
    Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
    excludedGroupKinds GroupKindResponse[]
    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.
    noGroupKinds boolean
    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.
    selectedGroupKinds GroupKindResponse[]
    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_kinds bool
    Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
    excluded_group_kinds Sequence[GroupKindResponse]
    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_kinds bool
    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_kinds Sequence[GroupKindResponse]
    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.
    allGroupKinds Boolean
    Optional. If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in the message.
    excludedGroupKinds List<Property Map>
    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.
    noGroupKinds Boolean
    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.
    selectedGroupKinds List<Property Map>
    Optional. A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the message.

    GroupKindResponse, GroupKindResponseArgs

    ResourceGroup 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
    ResourceKind string
    Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
    ResourceGroup 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
    ResourceKind string
    Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
    resourceGroup 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
    resourceKind String
    Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.
    resourceGroup 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
    resourceKind 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.
    resourceGroup 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
    resourceKind String
    Optional. Kind of a Kubernetes resource, must be in UpperCamelCase (PascalCase) and singular form. E.g. "CustomResourceDefinition", "StorageClass", etc.

    NamespacedNameResponse, NamespacedNameResponseArgs

    Name string
    Optional. The name of the Kubernetes resource.
    Namespace string
    Optional. The Namespace of the Kubernetes resource.
    Name string
    Optional. The name of the Kubernetes resource.
    Namespace string
    Optional. The Namespace of the Kubernetes resource.
    name String
    Optional. The name of the Kubernetes resource.
    namespace String
    Optional. The Namespace of the Kubernetes resource.
    name string
    Optional. The name of the Kubernetes resource.
    namespace string
    Optional. The Namespace of the Kubernetes resource.
    name str
    Optional. The name of the Kubernetes resource.
    namespace str
    Optional. The Namespace of the Kubernetes resource.
    name String
    Optional. The name of the Kubernetes resource.
    namespace String
    Optional. The Namespace of the Kubernetes resource.

    NamespacedNamesResponse, NamespacedNamesResponseArgs

    NamespacedNames []NamespacedNameResponse
    Optional. A list of namespaced Kubernetes resources.
    namespacedNames List<NamespacedNameResponse>
    Optional. A list of namespaced Kubernetes resources.
    namespacedNames NamespacedNameResponse[]
    Optional. A list of namespaced Kubernetes resources.
    namespaced_names Sequence[NamespacedNameResponse]
    Optional. A list of namespaced Kubernetes resources.
    namespacedNames List<Property Map>
    Optional. A list of namespaced Kubernetes resources.

    NamespacesResponse, NamespacesResponseArgs

    Namespaces List<string>
    Optional. A list of Kubernetes Namespaces
    Namespaces []string
    Optional. A list of Kubernetes Namespaces
    namespaces List<String>
    Optional. A list of Kubernetes Namespaces
    namespaces string[]
    Optional. A list of Kubernetes Namespaces
    namespaces Sequence[str]
    Optional. A list of Kubernetes Namespaces
    namespaces List<String>
    Optional. A list of Kubernetes Namespaces

    ResourceFilterResponse, ResourceFilterResponseArgs

    GroupKinds List<Pulumi.GoogleNative.Gkebackup.V1.Inputs.GroupKindResponse>
    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).
    JsonPath 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).
    GroupKinds []GroupKindResponse
    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).
    JsonPath 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).
    groupKinds List<GroupKindResponse>
    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).
    jsonPath 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).
    groupKinds GroupKindResponse[]
    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).
    jsonPath 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[GroupKindResponse]
    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).
    groupKinds 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).
    jsonPath String
    Optional. This is a [JSONPath] (https://github.com/json-path/JsonPath/blob/master/README.md) expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
    namespaces List<String>
    Optional. (Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation).

    RestoreConfigResponse, RestoreConfigResponseArgs

    AllNamespaces bool
    Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
    ClusterResourceConflictPolicy string
    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.
    ClusterResourceRestoreScope Pulumi.GoogleNative.Gkebackup.V1.Inputs.ClusterResourceRestoreScopeResponse
    Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
    ExcludedNamespaces Pulumi.GoogleNative.Gkebackup.V1.Inputs.NamespacesResponse
    A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
    NamespacedResourceRestoreMode string
    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.
    NoNamespaces bool
    Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
    SelectedApplications Pulumi.GoogleNative.Gkebackup.V1.Inputs.NamespacedNamesResponse
    A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
    SelectedNamespaces Pulumi.GoogleNative.Gkebackup.V1.Inputs.NamespacesResponse
    A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
    SubstitutionRules List<Pulumi.GoogleNative.Gkebackup.V1.Inputs.SubstitutionRuleResponse>
    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.
    TransformationRules List<Pulumi.GoogleNative.Gkebackup.V1.Inputs.TransformationRuleResponse>
    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.
    VolumeDataRestorePolicy string
    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).
    AllNamespaces bool
    Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
    ClusterResourceConflictPolicy string
    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.
    ClusterResourceRestoreScope ClusterResourceRestoreScopeResponse
    Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
    ExcludedNamespaces NamespacesResponse
    A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
    NamespacedResourceRestoreMode string
    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.
    NoNamespaces bool
    Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
    SelectedApplications NamespacedNamesResponse
    A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
    SelectedNamespaces NamespacesResponse
    A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
    SubstitutionRules []SubstitutionRuleResponse
    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.
    TransformationRules []TransformationRuleResponse
    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.
    VolumeDataRestorePolicy string
    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).
    allNamespaces Boolean
    Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
    clusterResourceConflictPolicy String
    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.
    clusterResourceRestoreScope ClusterResourceRestoreScopeResponse
    Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
    excludedNamespaces NamespacesResponse
    A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
    namespacedResourceRestoreMode String
    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.
    noNamespaces Boolean
    Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
    selectedApplications NamespacedNamesResponse
    A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
    selectedNamespaces NamespacesResponse
    A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
    substitutionRules List<SubstitutionRuleResponse>
    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.
    transformationRules List<TransformationRuleResponse>
    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.
    volumeDataRestorePolicy String
    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).
    allNamespaces boolean
    Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
    clusterResourceConflictPolicy string
    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.
    clusterResourceRestoreScope ClusterResourceRestoreScopeResponse
    Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
    excludedNamespaces NamespacesResponse
    A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
    namespacedResourceRestoreMode string
    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.
    noNamespaces boolean
    Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
    selectedApplications NamespacedNamesResponse
    A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
    selectedNamespaces NamespacesResponse
    A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
    substitutionRules SubstitutionRuleResponse[]
    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.
    transformationRules TransformationRuleResponse[]
    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.
    volumeDataRestorePolicy string
    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_conflict_policy str
    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_restore_scope ClusterResourceRestoreScopeResponse
    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_restore_mode str
    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 NamespacedNamesResponse
    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[SubstitutionRuleResponse]
    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[TransformationRuleResponse]
    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_restore_policy str
    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).
    allNamespaces Boolean
    Restore all namespaced resources in the Backup if set to "True". Specifying this field to "False" is an error.
    clusterResourceConflictPolicy String
    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.
    clusterResourceRestoreScope Property Map
    Optional. Identifies the cluster-scoped resources to restore from the Backup. Not specifying it means NO cluster resource will be restored.
    excludedNamespaces Property Map
    A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored.
    namespacedResourceRestoreMode String
    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.
    noNamespaces Boolean
    Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
    selectedApplications Property Map
    A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored.
    selectedNamespaces Property Map
    A list of selected Namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored.
    substitutionRules 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.
    transformationRules 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.
    volumeDataRestorePolicy String
    Optional. Specifies the mechanism to be used to restore volume data. Default: VOLUME_DATA_RESTORE_POLICY_UNSPECIFIED (will be treated as NO_VOLUME_DATA_RESTORATION).

    SubstitutionRuleResponse, SubstitutionRuleResponseArgs

    NewValue 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 ("").
    OriginalValuePattern string
    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.
    TargetGroupKinds List<Pulumi.GoogleNative.Gkebackup.V1.Inputs.GroupKindResponse>
    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).
    TargetJsonPath string
    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).
    TargetNamespaces 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.
    NewValue 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 ("").
    OriginalValuePattern string
    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.
    TargetGroupKinds []GroupKindResponse
    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).
    TargetJsonPath string
    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).
    TargetNamespaces []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.
    newValue 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 ("").
    originalValuePattern String
    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.
    targetGroupKinds List<GroupKindResponse>
    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).
    targetJsonPath String
    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).
    targetNamespaces 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.
    newValue 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 ("").
    originalValuePattern string
    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.
    targetGroupKinds GroupKindResponse[]
    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).
    targetJsonPath string
    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).
    targetNamespaces 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_pattern str
    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_kinds Sequence[GroupKindResponse]
    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_path str
    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.
    newValue 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 ("").
    originalValuePattern String
    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.
    targetGroupKinds List<Property Map>
    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).
    targetJsonPath String
    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).
    targetNamespaces List<String>
    Optional. (Filtering parameter) Any resource subject to substitution must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for substitution). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.

    TransformationRuleActionResponse, TransformationRuleActionResponseArgs

    FromPath 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.
    FromPath 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.
    fromPath 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.
    fromPath 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.
    fromPath 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.
    FieldActions List<Pulumi.GoogleNative.Gkebackup.V1.Inputs.TransformationRuleActionResponse>
    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.
    ResourceFilter Pulumi.GoogleNative.Gkebackup.V1.Inputs.ResourceFilterResponse
    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.
    FieldActions []TransformationRuleActionResponse
    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.
    ResourceFilter ResourceFilterResponse
    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.
    fieldActions List<TransformationRuleActionResponse>
    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.
    resourceFilter ResourceFilterResponse
    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.
    fieldActions TransformationRuleActionResponse[]
    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.
    resourceFilter ResourceFilterResponse
    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[TransformationRuleActionResponse]
    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 ResourceFilterResponse
    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.
    fieldActions 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.
    resourceFilter 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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi