Partager via


ComputeGalleryPlatformAttribute Class

Definition

This is the platform attribute of the image version.

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

Properties

Name

This property specifies the name of the platformAttribute. It is read-only.

Value

This property specifies the value of the corresponding name property. It is read-only.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ComputeGalleryPlatformAttribute>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ComputeGalleryPlatformAttribute>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ComputeGalleryPlatformAttribute>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ComputeGalleryPlatformAttribute>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ComputeGalleryPlatformAttribute>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to