共用方式為


DevTestLabCustomImageData Class

Definition

A class representing the DevTestLabCustomImage data model. A custom image.

public class DevTestLabCustomImageData : Azure.ResourceManager.Models.TrackedResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.DevTestLabs.DevTestLabCustomImageData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.DevTestLabs.DevTestLabCustomImageData>
public class DevTestLabCustomImageData : Azure.ResourceManager.Models.TrackedResourceData
type DevTestLabCustomImageData = class
    inherit TrackedResourceData
    interface IJsonModel<DevTestLabCustomImageData>
    interface IPersistableModel<DevTestLabCustomImageData>
type DevTestLabCustomImageData = class
    inherit TrackedResourceData
Public Class DevTestLabCustomImageData
Inherits TrackedResourceData
Implements IJsonModel(Of DevTestLabCustomImageData), IPersistableModel(Of DevTestLabCustomImageData)
Public Class DevTestLabCustomImageData
Inherits TrackedResourceData
Inheritance
DevTestLabCustomImageData
Implements

Constructors

DevTestLabCustomImageData(AzureLocation)

Initializes a new instance of DevTestLabCustomImageData.

Properties

Author

The author of the custom image.

CreatedOn

The creation date of the custom image.

CustomImagePlan

Storage information about the plan related to this custom image.

DataDiskStorageInfo

Storage information about the data disks present in the custom image.

Description

The description of the custom image.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsPlanAuthorized

Whether or not the custom images underlying offer/plan has been enabled for programmatic deployment.

Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
ManagedImageId

The Managed Image Id backing the custom image.

ManagedSnapshotId

The Managed Snapshot Id backing the custom image.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The provisioning status of the resource.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)
UniqueIdentifier

The unique immutable identifier of a resource (Guid).

Vhd

The VHD from which the image is to be created.

Vm

The virtual machine from which the image is to be created.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<DevTestLabCustomImageData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabCustomImageData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabCustomImageData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabCustomImageData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabCustomImageData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to