1. Packages
  2. Powerscale Provider
  3. API Docs
  4. Snapshot
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

powerscale.Snapshot

Explore with Pulumi AI

powerscale logo
powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell

    This resource is used to manage the Snapshot entity of PowerScale Array. We can Create, Update and Delete the Snapshot using this resource. We can also import an existing Snapshot from PowerScale array. PowerScale Snapshots is a logical pointer to data that is stored on a cluster at a specific point in time.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as powerscale from "@pulumi/powerscale";
    
    // PowerScale Snapshots is a logical pointer to data that is stored on a cluster at a specific point in time.
    const snap = new powerscale.Snapshot("snap", {
        path: "/ifs/tfacc_file_system_test",
        setExpires: "1 Day",
    });
    
    import pulumi
    import pulumi_powerscale as powerscale
    
    # PowerScale Snapshots is a logical pointer to data that is stored on a cluster at a specific point in time.
    snap = powerscale.Snapshot("snap",
        path="/ifs/tfacc_file_system_test",
        set_expires="1 Day")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/powerscale/powerscale"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		// PowerScale Snapshots is a logical pointer to data that is stored on a cluster at a specific point in time.
    		_, err := powerscale.NewSnapshot(ctx, "snap", &powerscale.SnapshotArgs{
    			Path:       pulumi.String("/ifs/tfacc_file_system_test"),
    			SetExpires: pulumi.String("1 Day"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Powerscale = Pulumi.Powerscale;
    
    return await Deployment.RunAsync(() => 
    {
        // PowerScale Snapshots is a logical pointer to data that is stored on a cluster at a specific point in time.
        var snap = new Powerscale.Snapshot("snap", new()
        {
            Path = "/ifs/tfacc_file_system_test",
            SetExpires = "1 Day",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.powerscale.Snapshot;
    import com.pulumi.powerscale.SnapshotArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            // PowerScale Snapshots is a logical pointer to data that is stored on a cluster at a specific point in time.
            var snap = new Snapshot("snap", SnapshotArgs.builder()
                .path("/ifs/tfacc_file_system_test")
                .setExpires("1 Day")
                .build());
    
        }
    }
    
    resources:
      # PowerScale Snapshots is a logical pointer to data that is stored on a cluster at a specific point in time.
      snap:
        type: powerscale:Snapshot
        properties:
          # Required path to the filesystem to which the snapshot will be taken of
          #     // This cannot be changed after create
          path: /ifs/tfacc_file_system_test
          # Optional set_expires The amount of time from creation before the snapshot will expire and be eligible for automatic deletion.  (Can be modified)
          #     // Options: Never(default if unset), 1 Day, 1 Week, 1 Month.
          setExpires: 1 Day
    

    Create Snapshot Resource

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

    Constructor syntax

    new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);
    @overload
    def Snapshot(resource_name: str,
                 args: SnapshotArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Snapshot(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 path: Optional[str] = None,
                 name: Optional[str] = None,
                 set_expires: Optional[str] = None)
    func NewSnapshot(ctx *Context, name string, args SnapshotArgs, opts ...ResourceOption) (*Snapshot, error)
    public Snapshot(string name, SnapshotArgs args, CustomResourceOptions? opts = null)
    public Snapshot(String name, SnapshotArgs args)
    public Snapshot(String name, SnapshotArgs args, CustomResourceOptions options)
    
    type: powerscale:Snapshot
    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 SnapshotArgs
    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 SnapshotArgs
    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 SnapshotArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args SnapshotArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args SnapshotArgs
    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 snapshotResource = new Powerscale.Snapshot("snapshotResource", new()
    {
        Path = "string",
        Name = "string",
        SetExpires = "string",
    });
    
    example, err := powerscale.NewSnapshot(ctx, "snapshotResource", &powerscale.SnapshotArgs{
    	Path:       pulumi.String("string"),
    	Name:       pulumi.String("string"),
    	SetExpires: pulumi.String("string"),
    })
    
    var snapshotResource = new Snapshot("snapshotResource", SnapshotArgs.builder()
        .path("string")
        .name("string")
        .setExpires("string")
        .build());
    
    snapshot_resource = powerscale.Snapshot("snapshotResource",
        path="string",
        name="string",
        set_expires="string")
    
    const snapshotResource = new powerscale.Snapshot("snapshotResource", {
        path: "string",
        name: "string",
        setExpires: "string",
    });
    
    type: powerscale:Snapshot
    properties:
        name: string
        path: string
        setExpires: string
    

    Snapshot 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 Snapshot resource accepts the following input properties:

    Path string
    The /ifs path snapshotted. Cannot be updated.
    Name string
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    SetExpires string
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    Path string
    The /ifs path snapshotted. Cannot be updated.
    Name string
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    SetExpires string
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    path String
    The /ifs path snapshotted. Cannot be updated.
    name String
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    setExpires String
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    path string
    The /ifs path snapshotted. Cannot be updated.
    name string
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    setExpires string
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    path str
    The /ifs path snapshotted. Cannot be updated.
    name str
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    set_expires str
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    path String
    The /ifs path snapshotted. Cannot be updated.
    name String
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    setExpires String
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated

    Outputs

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

    Alias string
    The name of the alias, none for real snapshots.
    Created double
    The Unix Epoch time the snapshot was created.
    Expires double
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    HasLocks bool
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    Id string
    The provider-assigned unique ID for this managed resource.
    PctFilesystem double
    Percentage of /ifs used for storing this snapshot.
    PctReserve double
    Percentage of configured snapshot reserved used for storing this snapshot.
    Schedule string
    The name of the schedule used to create this snapshot, if applicable.
    ShadowBytes double
    The amount of shadow bytes referred to by this snapshot.
    Size double
    The amount of storage in bytes used to store this snapshot.
    State string
    Snapshot state.
    TargetId double
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    TargetName string
    The name of the snapshot pointed to if this is an alias.
    Alias string
    The name of the alias, none for real snapshots.
    Created float64
    The Unix Epoch time the snapshot was created.
    Expires float64
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    HasLocks bool
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    Id string
    The provider-assigned unique ID for this managed resource.
    PctFilesystem float64
    Percentage of /ifs used for storing this snapshot.
    PctReserve float64
    Percentage of configured snapshot reserved used for storing this snapshot.
    Schedule string
    The name of the schedule used to create this snapshot, if applicable.
    ShadowBytes float64
    The amount of shadow bytes referred to by this snapshot.
    Size float64
    The amount of storage in bytes used to store this snapshot.
    State string
    Snapshot state.
    TargetId float64
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    TargetName string
    The name of the snapshot pointed to if this is an alias.
    alias String
    The name of the alias, none for real snapshots.
    created Double
    The Unix Epoch time the snapshot was created.
    expires Double
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    hasLocks Boolean
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    id String
    The provider-assigned unique ID for this managed resource.
    pctFilesystem Double
    Percentage of /ifs used for storing this snapshot.
    pctReserve Double
    Percentage of configured snapshot reserved used for storing this snapshot.
    schedule String
    The name of the schedule used to create this snapshot, if applicable.
    shadowBytes Double
    The amount of shadow bytes referred to by this snapshot.
    size Double
    The amount of storage in bytes used to store this snapshot.
    state String
    Snapshot state.
    targetId Double
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    targetName String
    The name of the snapshot pointed to if this is an alias.
    alias string
    The name of the alias, none for real snapshots.
    created number
    The Unix Epoch time the snapshot was created.
    expires number
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    hasLocks boolean
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    id string
    The provider-assigned unique ID for this managed resource.
    pctFilesystem number
    Percentage of /ifs used for storing this snapshot.
    pctReserve number
    Percentage of configured snapshot reserved used for storing this snapshot.
    schedule string
    The name of the schedule used to create this snapshot, if applicable.
    shadowBytes number
    The amount of shadow bytes referred to by this snapshot.
    size number
    The amount of storage in bytes used to store this snapshot.
    state string
    Snapshot state.
    targetId number
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    targetName string
    The name of the snapshot pointed to if this is an alias.
    alias str
    The name of the alias, none for real snapshots.
    created float
    The Unix Epoch time the snapshot was created.
    expires float
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    has_locks bool
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    id str
    The provider-assigned unique ID for this managed resource.
    pct_filesystem float
    Percentage of /ifs used for storing this snapshot.
    pct_reserve float
    Percentage of configured snapshot reserved used for storing this snapshot.
    schedule str
    The name of the schedule used to create this snapshot, if applicable.
    shadow_bytes float
    The amount of shadow bytes referred to by this snapshot.
    size float
    The amount of storage in bytes used to store this snapshot.
    state str
    Snapshot state.
    target_id float
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    target_name str
    The name of the snapshot pointed to if this is an alias.
    alias String
    The name of the alias, none for real snapshots.
    created Number
    The Unix Epoch time the snapshot was created.
    expires Number
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    hasLocks Boolean
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    id String
    The provider-assigned unique ID for this managed resource.
    pctFilesystem Number
    Percentage of /ifs used for storing this snapshot.
    pctReserve Number
    Percentage of configured snapshot reserved used for storing this snapshot.
    schedule String
    The name of the schedule used to create this snapshot, if applicable.
    shadowBytes Number
    The amount of shadow bytes referred to by this snapshot.
    size Number
    The amount of storage in bytes used to store this snapshot.
    state String
    Snapshot state.
    targetId Number
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    targetName String
    The name of the snapshot pointed to if this is an alias.

    Look up Existing Snapshot Resource

    Get an existing Snapshot resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: SnapshotState, opts?: CustomResourceOptions): Snapshot
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            alias: Optional[str] = None,
            created: Optional[float] = None,
            expires: Optional[float] = None,
            has_locks: Optional[bool] = None,
            name: Optional[str] = None,
            path: Optional[str] = None,
            pct_filesystem: Optional[float] = None,
            pct_reserve: Optional[float] = None,
            schedule: Optional[str] = None,
            set_expires: Optional[str] = None,
            shadow_bytes: Optional[float] = None,
            size: Optional[float] = None,
            state: Optional[str] = None,
            target_id: Optional[float] = None,
            target_name: Optional[str] = None) -> Snapshot
    func GetSnapshot(ctx *Context, name string, id IDInput, state *SnapshotState, opts ...ResourceOption) (*Snapshot, error)
    public static Snapshot Get(string name, Input<string> id, SnapshotState? state, CustomResourceOptions? opts = null)
    public static Snapshot get(String name, Output<String> id, SnapshotState state, CustomResourceOptions options)
    resources:  _:    type: powerscale:Snapshot    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Alias string
    The name of the alias, none for real snapshots.
    Created double
    The Unix Epoch time the snapshot was created.
    Expires double
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    HasLocks bool
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    Name string
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    Path string
    The /ifs path snapshotted. Cannot be updated.
    PctFilesystem double
    Percentage of /ifs used for storing this snapshot.
    PctReserve double
    Percentage of configured snapshot reserved used for storing this snapshot.
    Schedule string
    The name of the schedule used to create this snapshot, if applicable.
    SetExpires string
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    ShadowBytes double
    The amount of shadow bytes referred to by this snapshot.
    Size double
    The amount of storage in bytes used to store this snapshot.
    State string
    Snapshot state.
    TargetId double
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    TargetName string
    The name of the snapshot pointed to if this is an alias.
    Alias string
    The name of the alias, none for real snapshots.
    Created float64
    The Unix Epoch time the snapshot was created.
    Expires float64
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    HasLocks bool
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    Name string
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    Path string
    The /ifs path snapshotted. Cannot be updated.
    PctFilesystem float64
    Percentage of /ifs used for storing this snapshot.
    PctReserve float64
    Percentage of configured snapshot reserved used for storing this snapshot.
    Schedule string
    The name of the schedule used to create this snapshot, if applicable.
    SetExpires string
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    ShadowBytes float64
    The amount of shadow bytes referred to by this snapshot.
    Size float64
    The amount of storage in bytes used to store this snapshot.
    State string
    Snapshot state.
    TargetId float64
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    TargetName string
    The name of the snapshot pointed to if this is an alias.
    alias String
    The name of the alias, none for real snapshots.
    created Double
    The Unix Epoch time the snapshot was created.
    expires Double
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    hasLocks Boolean
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    name String
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    path String
    The /ifs path snapshotted. Cannot be updated.
    pctFilesystem Double
    Percentage of /ifs used for storing this snapshot.
    pctReserve Double
    Percentage of configured snapshot reserved used for storing this snapshot.
    schedule String
    The name of the schedule used to create this snapshot, if applicable.
    setExpires String
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    shadowBytes Double
    The amount of shadow bytes referred to by this snapshot.
    size Double
    The amount of storage in bytes used to store this snapshot.
    state String
    Snapshot state.
    targetId Double
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    targetName String
    The name of the snapshot pointed to if this is an alias.
    alias string
    The name of the alias, none for real snapshots.
    created number
    The Unix Epoch time the snapshot was created.
    expires number
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    hasLocks boolean
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    name string
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    path string
    The /ifs path snapshotted. Cannot be updated.
    pctFilesystem number
    Percentage of /ifs used for storing this snapshot.
    pctReserve number
    Percentage of configured snapshot reserved used for storing this snapshot.
    schedule string
    The name of the schedule used to create this snapshot, if applicable.
    setExpires string
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    shadowBytes number
    The amount of shadow bytes referred to by this snapshot.
    size number
    The amount of storage in bytes used to store this snapshot.
    state string
    Snapshot state.
    targetId number
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    targetName string
    The name of the snapshot pointed to if this is an alias.
    alias str
    The name of the alias, none for real snapshots.
    created float
    The Unix Epoch time the snapshot was created.
    expires float
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    has_locks bool
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    name str
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    path str
    The /ifs path snapshotted. Cannot be updated.
    pct_filesystem float
    Percentage of /ifs used for storing this snapshot.
    pct_reserve float
    Percentage of configured snapshot reserved used for storing this snapshot.
    schedule str
    The name of the schedule used to create this snapshot, if applicable.
    set_expires str
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    shadow_bytes float
    The amount of shadow bytes referred to by this snapshot.
    size float
    The amount of storage in bytes used to store this snapshot.
    state str
    Snapshot state.
    target_id float
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    target_name str
    The name of the snapshot pointed to if this is an alias.
    alias String
    The name of the alias, none for real snapshots.
    created Number
    The Unix Epoch time the snapshot was created.
    expires Number
    The Unix Epoch time the snapshot will expire and be eligible for automatic deletion.
    hasLocks Boolean
    True if the snapshot has one or more locks present see, see the locks subresource of a snapshot for a list of lock.
    name String
    The user or system supplied snapshot name. This will be null for snapshots pending delete. Only alphanumeric characters, underscores ( _ ), and hyphens (-) are allowed.
    path String
    The /ifs path snapshotted. Cannot be updated.
    pctFilesystem Number
    Percentage of /ifs used for storing this snapshot.
    pctReserve Number
    Percentage of configured snapshot reserved used for storing this snapshot.
    schedule String
    The name of the schedule used to create this snapshot, if applicable.
    setExpires String
    The amount of time from creation before the snapshot will expire and be eligible for automatic deletion. Resets each time this value is updated
    shadowBytes Number
    The amount of shadow bytes referred to by this snapshot.
    size Number
    The amount of storage in bytes used to store this snapshot.
    state String
    Snapshot state.
    targetId Number
    The ID of the snapshot pointed to if this is an alias. 18446744073709551615 (max uint64) is returned for an alias to the live filesystem.
    targetName String
    The name of the snapshot pointed to if this is an alias.

    Import

    Copyright (c) 2023-2024 Dell Inc., or its subsidiaries. All Rights Reserved.

    Licensed under the Mozilla Public License Version 2.0 (the “License”);

    you may not use this file except in compliance with the License.

    You may obtain a copy of the License at

    http://mozilla.org/MPL/2.0/
    

    Unless required by applicable law or agreed to in writing, software

    distributed under the License is distributed on an “AS IS” BASIS,

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.

    See the License for the specific language governing permissions and

    limitations under the License.

    The command is

    $ pulumi import powerscale:index/snapshot:Snapshot test <id>
    

    Example:

    $ pulumi import powerscale:index/snapshot:Snapshot test id
    

    after running this command, populate the name field and other required parameters in the config file to start managing this resource.

    Note: running “terraform show” after importing shows the current config/state of the resource. You can copy/paste that config to make it easier to manage the resource.

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    powerscale dell/terraform-provider-powerscale
    License
    Notes
    This Pulumi package is based on the powerscale Terraform Provider.
    powerscale logo
    powerscale 1.7.1 published on Wednesday, Apr 30, 2025 by dell