Partager via


SphereImageData Class

Definition

A class representing the SphereImage data model. An image resource belonging to a catalog resource.

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

Constructors

SphereImageData()

Initializes a new instance of SphereImageData.

Properties

ComponentId

The image component id.

Description

The image description.

Id

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

(Inherited from ResourceData)
Image

Image as a UTF-8 encoded base 64 string on image create. This field contains the image URI on image reads.

ImageId

Image ID.

ImageName

Image name.

ImageType

The image type.

Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The status of the last operation.

RegionalDataBoundary

Regional data boundary for an image.

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)
Uri

Location the image.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<SphereImageData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SphereImageData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SphereImageData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SphereImageData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SphereImageData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to