SnapshotInner Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Snapshot resource.
[Microsoft.Rest.Serialization.JsonTransformation]
public class SnapshotInner : Microsoft.Azure.Management.ResourceManager.Fluent.Resource
[<Microsoft.Rest.Serialization.JsonTransformation>]
type SnapshotInner = class
inherit Resource
Public Class SnapshotInner
Inherits Resource
- Inheritance
- Attributes
Constructors
SnapshotInner() |
Initializes a new instance of the SnapshotInner class. |
SnapshotInner(String, CreationData, String, String, String, IDictionary<String, String>, String, SnapshotSku, Nullable<DateTime>, Nullable<OperatingSystemTypes>, HyperVGeneration, Nullable<Int32>, Nullable<Int64>, DiskState, String, EncryptionSettingsCollection, String, Nullable<Boolean>, Encryption, NetworkAccessPolicy, String) |
Initializes a new instance of the SnapshotInner class. |
Properties
CreationData |
Gets or sets disk source information. CreationData information cannot be changed after the disk has been created. |
DiskAccessId |
Gets or sets ARM id of the DiskAccess resource for using private endpoints on disks. |
DiskSizeBytes |
Gets the size of the disk in bytes. This field is read only. |
DiskSizeGB |
Gets or sets if creationData.createOption is Empty, this field is mandatory and it indicates the size of the disk to create. If this field is present for updates or creation with other options, it indicates a resize. Resizes are only allowed if the disk is not attached to a running VM, and can only increase the disk's size. |
DiskState |
Gets or sets the state of the snapshot. Possible values include: 'Unattached', 'Attached', 'Reserved', 'ActiveSAS', 'ReadyToUpload', 'ActiveUpload' |
Encryption |
Gets or sets encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys. |
EncryptionSettingsCollection |
Gets or sets encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot. |
HyperVGeneration |
Gets or sets the hypervisor generation of the Virtual Machine. Applicable to OS disks only. Possible values include: 'V1', 'V2' |
Id |
Resource Id. Setter is protected because Id needs to be set in Network resources. (Inherited from ProxyResource) |
Incremental |
Gets or sets whether a snapshot is incremental. Incremental snapshots on the same disk occupy less space than full snapshots and can be diffed. |
Location |
Resource location (Inherited from Resource) |
ManagedBy |
Gets unused. Always Null. |
Name |
Resource name (Inherited from ProxyResource) |
NetworkAccessPolicy |
Gets or sets possible values include: 'AllowAll', 'AllowPrivate', 'DenyAll' |
OsType |
Gets or sets the Operating System type. Possible values include: 'Windows', 'Linux' |
ProvisioningState |
Gets the disk provisioning state. |
Sku | |
Tags |
Resource tags (Inherited from Resource) |
TimeCreated |
Gets the time when the snapshot was created. |
Type |
Resource type (Inherited from ProxyResource) |
UniqueId |
Gets unique Guid identifying the resource. |
Methods
Validate() |
Validate the object. |