Show / Hide Table of Contents

Class SnapshotArgs

Inheritance
System.Object
InputArgs
ResourceArgs
SnapshotArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Azure.Compute
Assembly: Pulumi.Azure.dll
Syntax
public sealed class SnapshotArgs : ResourceArgs

Constructors

View Source

SnapshotArgs()

Declaration
public SnapshotArgs()

Properties

View Source

CreateOption

Indicates how the snapshot is to be created. Possible values are Copy or Import. Changing this forces a new resource to be created.

Declaration
public Input<string> CreateOption { get; set; }
Property Value
Type Description
Input<System.String>
View Source

DiskSizeGb

The size of the Snapshotted Disk in GB.

Declaration
public Input<int> DiskSizeGb { get; set; }
Property Value
Type Description
Input<System.Int32>
View Source

EncryptionSettings

Declaration
public Input<SnapshotEncryptionSettingsArgs> EncryptionSettings { get; set; }
Property Value
Type Description
Input<SnapshotEncryptionSettingsArgs>
View Source

Location

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

Declaration
public Input<string> Location { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

Specifies the name of the Snapshot resource. Changing this forces a new resource to be created.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ResourceGroupName

The name of the resource group in which to create the Snapshot. Changing this forces a new resource to be created.

Declaration
public Input<string> ResourceGroupName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SourceResourceId

Specifies a reference to an existing snapshot, when create_option is Copy. Changing this forces a new resource to be created.

Declaration
public Input<string> SourceResourceId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

SourceUri

Specifies the URI to a Managed or Unmanaged Disk. Changing this forces a new resource to be created.

Declaration
public Input<string> SourceUri { get; set; }
Property Value
Type Description
Input<System.String>
View Source

StorageAccountId

Specifies the ID of an storage account. Used with source_uri to allow authorization during import of unmanaged blobs from a different subscription. Changing this forces a new resource to be created.

Declaration
public Input<string> StorageAccountId { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Tags

A mapping of tags to assign to the resource.

Declaration
public InputMap<string> Tags { get; set; }
Property Value
Type Description
InputMap<System.String>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.