Udostępnij za pośrednictwem


SnapshotPatch Class

Definition

Snapshot update resource.

public class SnapshotPatch : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Compute.Models.SnapshotPatch>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Compute.Models.SnapshotPatch>
type SnapshotPatch = class
    interface IJsonModel<SnapshotPatch>
    interface IPersistableModel<SnapshotPatch>
Public Class SnapshotPatch
Implements IJsonModel(Of SnapshotPatch), IPersistableModel(Of SnapshotPatch)
Inheritance
SnapshotPatch
Implements

Constructors

SnapshotPatch()

Initializes a new instance of SnapshotPatch.

Properties

DataAccessAuthMode

Additional authentication requirements when exporting or uploading to a disk or snapshot.

DiskAccessId

ARM id of the DiskAccess resource for using private endpoints on disks.

DiskSizeGB

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.

Encryption

Encryption property can be used to encrypt data at rest with customer managed keys or platform managed keys.

EncryptionSettingsGroup

Encryption settings collection used be Azure Disk Encryption, can contain multiple encryption settings per disk or snapshot.

NetworkAccessPolicy

Policy for accessing the disk via network.

OSType

the Operating System type.

PublicNetworkAccess

Policy for controlling export on the disk.

Sku

The snapshots sku name. Can be Standard_LRS, Premium_LRS, or Standard_ZRS. This is an optional parameter for incremental snapshot and the default behavior is the SKU will be set to the same sku as the previous snapshot.

SupportedCapabilities

List of supported capabilities for the image from which the OS disk was created.

SupportsHibernation

Indicates the OS on a snapshot supports hibernation.

Tags

Resource tags.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<SnapshotPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<SnapshotPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SnapshotPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SnapshotPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<SnapshotPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to