1. Packages
  2. Google Cloud Native
  3. API Docs
  4. baremetalsolution
  5. baremetalsolution/v2
  6. Snapshot

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

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

google-native.baremetalsolution/v2.Snapshot

Explore with Pulumi AI

google-native logo

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

Google Cloud Native v0.31.1 published on Thursday, Jul 20, 2023 by Pulumi

    Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume.

    Create Snapshot Resource

    new Snapshot(name: string, args: SnapshotArgs, opts?: CustomResourceOptions);
    @overload
    def Snapshot(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 description: Optional[str] = None,
                 location: Optional[str] = None,
                 name: Optional[str] = None,
                 project: Optional[str] = None,
                 volume_id: Optional[str] = None)
    @overload
    def Snapshot(resource_name: str,
                 args: SnapshotArgs,
                 opts: Optional[ResourceOptions] = 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: google-native:baremetalsolution/v2:Snapshot
    properties: # The arguments to resource properties.
    options: # 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.
    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.

    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

    The Snapshot resource accepts the following input properties:

    VolumeId string
    Description string

    The description of the snapshot.

    Location string
    Name string

    The name of the snapshot.

    Project string
    VolumeId string
    Description string

    The description of the snapshot.

    Location string
    Name string

    The name of the snapshot.

    Project string
    volumeId String
    description String

    The description of the snapshot.

    location String
    name String

    The name of the snapshot.

    project String
    volumeId string
    description string

    The description of the snapshot.

    location string
    name string

    The name of the snapshot.

    project string
    volume_id str
    description str

    The description of the snapshot.

    location str
    name str

    The name of the snapshot.

    project str
    volumeId String
    description String

    The description of the snapshot.

    location String
    name String

    The name of the snapshot.

    project String

    Outputs

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

    CreateTime string

    The creation time of the snapshot.

    Id string

    The provider-assigned unique ID for this managed resource.

    StorageVolume string

    The name of the volume which this snapshot belongs to.

    Type string

    The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

    CreateTime string

    The creation time of the snapshot.

    Id string

    The provider-assigned unique ID for this managed resource.

    StorageVolume string

    The name of the volume which this snapshot belongs to.

    Type string

    The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

    createTime String

    The creation time of the snapshot.

    id String

    The provider-assigned unique ID for this managed resource.

    storageVolume String

    The name of the volume which this snapshot belongs to.

    type String

    The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

    createTime string

    The creation time of the snapshot.

    id string

    The provider-assigned unique ID for this managed resource.

    storageVolume string

    The name of the volume which this snapshot belongs to.

    type string

    The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

    create_time str

    The creation time of the snapshot.

    id str

    The provider-assigned unique ID for this managed resource.

    storage_volume str

    The name of the volume which this snapshot belongs to.

    type str

    The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

    createTime String

    The creation time of the snapshot.

    id String

    The provider-assigned unique ID for this managed resource.

    storageVolume String

    The name of the volume which this snapshot belongs to.

    type String

    The type of the snapshot which indicates whether it was scheduled or manual/ad-hoc.

    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.31.1 published on Thursday, Jul 20, 2023 by Pulumi