1. Packages
  2. Azure Native
  3. API Docs
  4. azurestackhci
  5. Snapshot
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi
azure-native logo
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Viewing docs for Azure Native v3.16.0
published on Friday, Mar 20, 2026 by Pulumi

    The snapshot resource definition.

    Uses Azure REST API version 2026-02-01-preview.

    Example Usage

    Create or update a snapshot

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AzureNative = Pulumi.AzureNative;
    
    return await Deployment.RunAsync(() => 
    {
        var snapshot = new AzureNative.AzureStackHCI.Snapshot("snapshot", new()
        {
            ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
            {
                Name = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
                Type = AzureNative.AzureStackHCI.ExtendedLocationTypes.CustomLocation,
            },
            Location = "West US2",
            Properties = new AzureNative.AzureStackHCI.Inputs.SnapshotPropertiesArgs
            {
                CreationData = new AzureNative.AzureStackHCI.Inputs.CreationDataArgs
                {
                    CreateOption = AzureNative.AzureStackHCI.DiskCreateOption.Copy,
                    SourceResourceId = "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/virtualHardDisks/source-vhd",
                },
            },
            ResourceGroupName = "test-rg",
            SnapshotName = "test-snapshot",
            Tags = 
            {
                { "environment", "test" },
            },
        });
    
    });
    
    package main
    
    import (
    	azurestackhci "github.com/pulumi/pulumi-azure-native-sdk/azurestackhci/v3"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := azurestackhci.NewSnapshot(ctx, "snapshot", &azurestackhci.SnapshotArgs{
    			ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    				Name: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location"),
    				Type: pulumi.String(azurestackhci.ExtendedLocationTypesCustomLocation),
    			},
    			Location: pulumi.String("West US2"),
    			Properties: &azurestackhci.SnapshotPropertiesArgs{
    				CreationData: &azurestackhci.CreationDataArgs{
    					CreateOption:     pulumi.String(azurestackhci.DiskCreateOptionCopy),
    					SourceResourceId: pulumi.String("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/virtualHardDisks/source-vhd"),
    				},
    			},
    			ResourceGroupName: pulumi.String("test-rg"),
    			SnapshotName:      pulumi.String("test-snapshot"),
    			Tags: pulumi.StringMap{
    				"environment": pulumi.String("test"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.azurenative.azurestackhci.Snapshot;
    import com.pulumi.azurenative.azurestackhci.SnapshotArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.ExtendedLocationArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.SnapshotPropertiesArgs;
    import com.pulumi.azurenative.azurestackhci.inputs.CreationDataArgs;
    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) {
            var snapshot = new Snapshot("snapshot", SnapshotArgs.builder()
                .extendedLocation(ExtendedLocationArgs.builder()
                    .name("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location")
                    .type("CustomLocation")
                    .build())
                .location("West US2")
                .properties(SnapshotPropertiesArgs.builder()
                    .creationData(CreationDataArgs.builder()
                        .createOption("Copy")
                        .sourceResourceId("/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/virtualHardDisks/source-vhd")
                        .build())
                    .build())
                .resourceGroupName("test-rg")
                .snapshotName("test-snapshot")
                .tags(Map.of("environment", "test"))
                .build());
    
        }
    }
    
    import * as pulumi from "@pulumi/pulumi";
    import * as azure_native from "@pulumi/azure-native";
    
    const snapshot = new azure_native.azurestackhci.Snapshot("snapshot", {
        extendedLocation: {
            name: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            type: azure_native.azurestackhci.ExtendedLocationTypes.CustomLocation,
        },
        location: "West US2",
        properties: {
            creationData: {
                createOption: azure_native.azurestackhci.DiskCreateOption.Copy,
                sourceResourceId: "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/virtualHardDisks/source-vhd",
            },
        },
        resourceGroupName: "test-rg",
        snapshotName: "test-snapshot",
        tags: {
            environment: "test",
        },
    });
    
    import pulumi
    import pulumi_azure_native as azure_native
    
    snapshot = azure_native.azurestackhci.Snapshot("snapshot",
        extended_location={
            "name": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location",
            "type": azure_native.azurestackhci.ExtendedLocationTypes.CUSTOM_LOCATION,
        },
        location="West US2",
        properties={
            "creation_data": {
                "create_option": azure_native.azurestackhci.DiskCreateOption.COPY,
                "source_resource_id": "/subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/virtualHardDisks/source-vhd",
            },
        },
        resource_group_name="test-rg",
        snapshot_name="test-snapshot",
        tags={
            "environment": "test",
        })
    
    resources:
      snapshot:
        type: azure-native:azurestackhci:Snapshot
        properties:
          extendedLocation:
            name: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/dogfoodarc/providers/Microsoft.ExtendedLocation/customLocations/dogfood-location
            type: CustomLocation
          location: West US2
          properties:
            creationData:
              createOption: Copy
              sourceResourceId: /subscriptions/a95612cb-f1fa-4daa-a4fd-272844fa512c/resourceGroups/test-rg/providers/Microsoft.AzureStackHCI/virtualHardDisks/source-vhd
          resourceGroupName: test-rg
          snapshotName: test-snapshot
          tags:
            environment: test
    

    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,
                 resource_group_name: Optional[str] = None,
                 extended_location: Optional[ExtendedLocationArgs] = None,
                 location: Optional[str] = None,
                 properties: Optional[SnapshotPropertiesArgs] = None,
                 snapshot_name: Optional[str] = None,
                 tags: Optional[Mapping[str, 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: azure-native:azurestackhci: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 AzureNative.AzureStackHCI.Snapshot("snapshotResource", new()
    {
        ResourceGroupName = "string",
        ExtendedLocation = new AzureNative.AzureStackHCI.Inputs.ExtendedLocationArgs
        {
            Name = "string",
            Type = "string",
        },
        Location = "string",
        Properties = new AzureNative.AzureStackHCI.Inputs.SnapshotPropertiesArgs
        {
            CreationData = new AzureNative.AzureStackHCI.Inputs.CreationDataArgs
            {
                CreateOption = "string",
                SourceResourceId = "string",
            },
        },
        SnapshotName = "string",
        Tags = 
        {
            { "string", "string" },
        },
    });
    
    example, err := azurestackhci.NewSnapshot(ctx, "snapshotResource", &azurestackhci.SnapshotArgs{
    	ResourceGroupName: pulumi.String("string"),
    	ExtendedLocation: &azurestackhci.ExtendedLocationArgs{
    		Name: pulumi.String("string"),
    		Type: pulumi.String("string"),
    	},
    	Location: pulumi.String("string"),
    	Properties: &azurestackhci.SnapshotPropertiesArgs{
    		CreationData: &azurestackhci.CreationDataArgs{
    			CreateOption:     pulumi.String("string"),
    			SourceResourceId: pulumi.String("string"),
    		},
    	},
    	SnapshotName: pulumi.String("string"),
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    })
    
    var snapshotResource = new com.pulumi.azurenative.azurestackhci.Snapshot("snapshotResource", com.pulumi.azurenative.azurestackhci.SnapshotArgs.builder()
        .resourceGroupName("string")
        .extendedLocation(ExtendedLocationArgs.builder()
            .name("string")
            .type("string")
            .build())
        .location("string")
        .properties(SnapshotPropertiesArgs.builder()
            .creationData(CreationDataArgs.builder()
                .createOption("string")
                .sourceResourceId("string")
                .build())
            .build())
        .snapshotName("string")
        .tags(Map.of("string", "string"))
        .build());
    
    snapshot_resource = azure_native.azurestackhci.Snapshot("snapshotResource",
        resource_group_name="string",
        extended_location={
            "name": "string",
            "type": "string",
        },
        location="string",
        properties={
            "creation_data": {
                "create_option": "string",
                "source_resource_id": "string",
            },
        },
        snapshot_name="string",
        tags={
            "string": "string",
        })
    
    const snapshotResource = new azure_native.azurestackhci.Snapshot("snapshotResource", {
        resourceGroupName: "string",
        extendedLocation: {
            name: "string",
            type: "string",
        },
        location: "string",
        properties: {
            creationData: {
                createOption: "string",
                sourceResourceId: "string",
            },
        },
        snapshotName: "string",
        tags: {
            string: "string",
        },
    });
    
    type: azure-native:azurestackhci:Snapshot
    properties:
        extendedLocation:
            name: string
            type: string
        location: string
        properties:
            creationData:
                createOption: string
                sourceResourceId: string
        resourceGroupName: string
        snapshotName: string
        tags:
            string: 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:

    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ExtendedLocation Pulumi.AzureNative.AzureStackHCI.Inputs.ExtendedLocation
    The extendedLocation of the resource.
    Location string
    The geo-location where the resource lives
    Properties Pulumi.AzureNative.AzureStackHCI.Inputs.SnapshotProperties
    The resource-specific properties for this resource.
    SnapshotName string
    Name of the snapshot
    Tags Dictionary<string, string>
    Resource tags.
    ResourceGroupName string
    The name of the resource group. The name is case insensitive.
    ExtendedLocation ExtendedLocationArgs
    The extendedLocation of the resource.
    Location string
    The geo-location where the resource lives
    Properties SnapshotPropertiesArgs
    The resource-specific properties for this resource.
    SnapshotName string
    Name of the snapshot
    Tags map[string]string
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    location String
    The geo-location where the resource lives
    properties SnapshotProperties
    The resource-specific properties for this resource.
    snapshotName String
    Name of the snapshot
    tags Map<String,String>
    Resource tags.
    resourceGroupName string
    The name of the resource group. The name is case insensitive.
    extendedLocation ExtendedLocation
    The extendedLocation of the resource.
    location string
    The geo-location where the resource lives
    properties SnapshotProperties
    The resource-specific properties for this resource.
    snapshotName string
    Name of the snapshot
    tags {[key: string]: string}
    Resource tags.
    resource_group_name str
    The name of the resource group. The name is case insensitive.
    extended_location ExtendedLocationArgs
    The extendedLocation of the resource.
    location str
    The geo-location where the resource lives
    properties SnapshotPropertiesArgs
    The resource-specific properties for this resource.
    snapshot_name str
    Name of the snapshot
    tags Mapping[str, str]
    Resource tags.
    resourceGroupName String
    The name of the resource group. The name is case insensitive.
    extendedLocation Property Map
    The extendedLocation of the resource.
    location String
    The geo-location where the resource lives
    properties Property Map
    The resource-specific properties for this resource.
    snapshotName String
    Name of the snapshot
    tags Map<String>
    Resource tags.

    Outputs

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

    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData Pulumi.AzureNative.AzureStackHCI.Outputs.SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    AzureApiVersion string
    The Azure API version of the resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the resource
    SystemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    Type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion string
    The Azure API version of the resource.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the resource
    systemData SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type string
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azure_api_version str
    The Azure API version of the resource.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the resource
    system_data SystemDataResponse
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type str
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
    azureApiVersion String
    The Azure API version of the resource.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the resource
    systemData Property Map
    Azure Resource Manager metadata containing createdBy and modifiedBy information.
    type String
    The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

    Supporting Types

    CreationData, CreationDataArgs

    Data used when creating a disk or snapshot
    CreateOption string | Pulumi.AzureNative.AzureStackHCI.DiskCreateOption
    This enumerates the possible sources of a disk's creation
    SourceResourceId string
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    CreateOption string | DiskCreateOption
    This enumerates the possible sources of a disk's creation
    SourceResourceId string
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    createOption String | DiskCreateOption
    This enumerates the possible sources of a disk's creation
    sourceResourceId String
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    createOption string | DiskCreateOption
    This enumerates the possible sources of a disk's creation
    sourceResourceId string
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    create_option str | DiskCreateOption
    This enumerates the possible sources of a disk's creation
    source_resource_id str
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    createOption String | "Copy" | "Empty"
    This enumerates the possible sources of a disk's creation
    sourceResourceId String
    ARM ID of the source resource used for disk creation. Required when createOption is Copy

    CreationDataResponse, CreationDataResponseArgs

    Data used when creating a disk or snapshot
    CreateOption string
    This enumerates the possible sources of a disk's creation
    SourceUniqueId string
    Unique ID of the source resource used for disk creation. Read-only and not required for disk creation.
    SourceResourceId string
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    CreateOption string
    This enumerates the possible sources of a disk's creation
    SourceUniqueId string
    Unique ID of the source resource used for disk creation. Read-only and not required for disk creation.
    SourceResourceId string
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    createOption String
    This enumerates the possible sources of a disk's creation
    sourceUniqueId String
    Unique ID of the source resource used for disk creation. Read-only and not required for disk creation.
    sourceResourceId String
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    createOption string
    This enumerates the possible sources of a disk's creation
    sourceUniqueId string
    Unique ID of the source resource used for disk creation. Read-only and not required for disk creation.
    sourceResourceId string
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    create_option str
    This enumerates the possible sources of a disk's creation
    source_unique_id str
    Unique ID of the source resource used for disk creation. Read-only and not required for disk creation.
    source_resource_id str
    ARM ID of the source resource used for disk creation. Required when createOption is Copy
    createOption String
    This enumerates the possible sources of a disk's creation
    sourceUniqueId String
    Unique ID of the source resource used for disk creation. Read-only and not required for disk creation.
    sourceResourceId String
    ARM ID of the source resource used for disk creation. Required when createOption is Copy

    DiskCreateOption, DiskCreateOptionArgs

    Copy
    Copy Create a disk by copying from a source resource
    Empty
    Empty Create an empty disk
    DiskCreateOptionCopy
    Copy Create a disk by copying from a source resource
    DiskCreateOptionEmpty
    Empty Create an empty disk
    Copy
    Copy Create a disk by copying from a source resource
    Empty
    Empty Create an empty disk
    Copy
    Copy Create a disk by copying from a source resource
    Empty
    Empty Create an empty disk
    COPY
    Copy Create a disk by copying from a source resource
    EMPTY
    Empty Create an empty disk
    "Copy"
    Copy Create a disk by copying from a source resource
    "Empty"
    Empty Create an empty disk

    ExtendedLocation, ExtendedLocationArgs

    The complex type of the extended location.
    Name string
    The name of the extended location.
    Type string | Pulumi.AzureNative.AzureStackHCI.ExtendedLocationTypes
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | ExtendedLocationTypes
    The type of the extended location.
    name string
    The name of the extended location.
    type string | ExtendedLocationTypes
    The type of the extended location.
    name str
    The name of the extended location.
    type str | ExtendedLocationTypes
    The type of the extended location.
    name String
    The name of the extended location.
    type String | "CustomLocation"
    The type of the extended location.

    ExtendedLocationResponse, ExtendedLocationResponseArgs

    The complex type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    Name string
    The name of the extended location.
    Type string
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.
    name string
    The name of the extended location.
    type string
    The type of the extended location.
    name str
    The name of the extended location.
    type str
    The type of the extended location.
    name String
    The name of the extended location.
    type String
    The type of the extended location.

    ExtendedLocationTypes, ExtendedLocationTypesArgs

    CustomLocation
    CustomLocation Custom extended location type
    ExtendedLocationTypesCustomLocation
    CustomLocation Custom extended location type
    CustomLocation
    CustomLocation Custom extended location type
    CustomLocation
    CustomLocation Custom extended location type
    CUSTOM_LOCATION
    CustomLocation Custom extended location type
    "CustomLocation"
    CustomLocation Custom extended location type

    SnapshotProperties, SnapshotPropertiesArgs

    Properties under the snapshot resource
    CreationData CreationData
    Data used when creating a snapshot
    creationData CreationData
    Data used when creating a snapshot
    creationData CreationData
    Data used when creating a snapshot
    creation_data CreationData
    Data used when creating a snapshot
    creationData Property Map
    Data used when creating a snapshot

    SnapshotPropertiesResponse, SnapshotPropertiesResponseArgs

    Properties under the snapshot resource
    DiskSizeBytes double
    The size of the disk in bytes.
    ProvisioningState string
    Provisioning state of the snapshot.
    Status Pulumi.AzureNative.AzureStackHCI.Inputs.SnapshotStatusResponse
    The observed state of snapshots
    TimeCreated string
    The time when the snapshot was created.
    UniqueId string
    Unique identifier for the snapshot.
    CreationData Pulumi.AzureNative.AzureStackHCI.Inputs.CreationDataResponse
    Data used when creating a snapshot
    DiskSizeBytes float64
    The size of the disk in bytes.
    ProvisioningState string
    Provisioning state of the snapshot.
    Status SnapshotStatusResponse
    The observed state of snapshots
    TimeCreated string
    The time when the snapshot was created.
    UniqueId string
    Unique identifier for the snapshot.
    CreationData CreationDataResponse
    Data used when creating a snapshot
    diskSizeBytes Double
    The size of the disk in bytes.
    provisioningState String
    Provisioning state of the snapshot.
    status SnapshotStatusResponse
    The observed state of snapshots
    timeCreated String
    The time when the snapshot was created.
    uniqueId String
    Unique identifier for the snapshot.
    creationData CreationDataResponse
    Data used when creating a snapshot
    diskSizeBytes number
    The size of the disk in bytes.
    provisioningState string
    Provisioning state of the snapshot.
    status SnapshotStatusResponse
    The observed state of snapshots
    timeCreated string
    The time when the snapshot was created.
    uniqueId string
    Unique identifier for the snapshot.
    creationData CreationDataResponse
    Data used when creating a snapshot
    disk_size_bytes float
    The size of the disk in bytes.
    provisioning_state str
    Provisioning state of the snapshot.
    status SnapshotStatusResponse
    The observed state of snapshots
    time_created str
    The time when the snapshot was created.
    unique_id str
    Unique identifier for the snapshot.
    creation_data CreationDataResponse
    Data used when creating a snapshot
    diskSizeBytes Number
    The size of the disk in bytes.
    provisioningState String
    Provisioning state of the snapshot.
    status Property Map
    The observed state of snapshots
    timeCreated String
    The time when the snapshot was created.
    uniqueId String
    Unique identifier for the snapshot.
    creationData Property Map
    Data used when creating a snapshot

    SnapshotStatusProvisioningStatusResponse, SnapshotStatusProvisioningStatusResponseArgs

    Snapshot Status provisioning status
    Status string
    The status of the operation performed on the snapshot [Succeeded, Failed, InProgress]
    OperationId string
    The ID of the operation performed on the snapshot
    Status string
    The status of the operation performed on the snapshot [Succeeded, Failed, InProgress]
    OperationId string
    The ID of the operation performed on the snapshot
    status String
    The status of the operation performed on the snapshot [Succeeded, Failed, InProgress]
    operationId String
    The ID of the operation performed on the snapshot
    status string
    The status of the operation performed on the snapshot [Succeeded, Failed, InProgress]
    operationId string
    The ID of the operation performed on the snapshot
    status str
    The status of the operation performed on the snapshot [Succeeded, Failed, InProgress]
    operation_id str
    The ID of the operation performed on the snapshot
    status String
    The status of the operation performed on the snapshot [Succeeded, Failed, InProgress]
    operationId String
    The ID of the operation performed on the snapshot

    SnapshotStatusResponse, SnapshotStatusResponseArgs

    The observed state of snapshots
    ErrorCode string
    Snapshot provisioning error code
    ErrorMessage string
    Descriptive error message
    ProvisioningStatus Pulumi.AzureNative.AzureStackHCI.Inputs.SnapshotStatusProvisioningStatusResponse
    Provisioning status of the snapshot
    ErrorCode string
    Snapshot provisioning error code
    ErrorMessage string
    Descriptive error message
    ProvisioningStatus SnapshotStatusProvisioningStatusResponse
    Provisioning status of the snapshot
    errorCode String
    Snapshot provisioning error code
    errorMessage String
    Descriptive error message
    provisioningStatus SnapshotStatusProvisioningStatusResponse
    Provisioning status of the snapshot
    errorCode string
    Snapshot provisioning error code
    errorMessage string
    Descriptive error message
    provisioningStatus SnapshotStatusProvisioningStatusResponse
    Provisioning status of the snapshot
    error_code str
    Snapshot provisioning error code
    error_message str
    Descriptive error message
    provisioning_status SnapshotStatusProvisioningStatusResponse
    Provisioning status of the snapshot
    errorCode String
    Snapshot provisioning error code
    errorMessage String
    Descriptive error message
    provisioningStatus Property Map
    Provisioning status of the snapshot

    SystemDataResponse, SystemDataResponseArgs

    Metadata pertaining to creation and last modification of the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    CreatedAt string
    The timestamp of resource creation (UTC).
    CreatedBy string
    The identity that created the resource.
    CreatedByType string
    The type of identity that created the resource.
    LastModifiedAt string
    The timestamp of resource last modification (UTC)
    LastModifiedBy string
    The identity that last modified the resource.
    LastModifiedByType string
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.
    createdAt string
    The timestamp of resource creation (UTC).
    createdBy string
    The identity that created the resource.
    createdByType string
    The type of identity that created the resource.
    lastModifiedAt string
    The timestamp of resource last modification (UTC)
    lastModifiedBy string
    The identity that last modified the resource.
    lastModifiedByType string
    The type of identity that last modified the resource.
    created_at str
    The timestamp of resource creation (UTC).
    created_by str
    The identity that created the resource.
    created_by_type str
    The type of identity that created the resource.
    last_modified_at str
    The timestamp of resource last modification (UTC)
    last_modified_by str
    The identity that last modified the resource.
    last_modified_by_type str
    The type of identity that last modified the resource.
    createdAt String
    The timestamp of resource creation (UTC).
    createdBy String
    The identity that created the resource.
    createdByType String
    The type of identity that created the resource.
    lastModifiedAt String
    The timestamp of resource last modification (UTC)
    lastModifiedBy String
    The identity that last modified the resource.
    lastModifiedByType String
    The type of identity that last modified the resource.

    Import

    An existing resource can be imported using its type token, name, and identifier, e.g.

    $ pulumi import azure-native:azurestackhci:Snapshot test-snapshot /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AzureStackHCI/snapshots/{snapshotName} 
    

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

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
    Viewing docs for Azure Native v3.16.0
    published on Friday, Mar 20, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.