Sdílet prostřednictvím


DevTestLabAnnouncement Class

Definition

Properties of a lab's announcement banner.

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

Constructors

DevTestLabAnnouncement()

Initializes a new instance of DevTestLabAnnouncement.

Properties

Enabled

Is the lab announcement active/enabled at this time?.

ExpireOn

The time at which the announcement expires (null for never).

IsExpired

Has this announcement expired?.

Markdown

The markdown text (if any) that this lab displays in the UI. If left empty/null, nothing will be shown.

ProvisioningState

The provisioning status of the resource.

Title

The plain text title for the lab announcement.

UniqueIdentifier

The unique immutable identifier of a resource (Guid).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<DevTestLabAnnouncement>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DevTestLabAnnouncement>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DevTestLabAnnouncement>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DevTestLabAnnouncement>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DevTestLabAnnouncement>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to