Udostępnij za pośrednictwem


RegionContract Class

Definition

Region profile.

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

Properties

IsDeleted

whether Region is deleted.

IsMasterRegion

whether Region is the master region.

Name

Region name.

Explicit Interface Implementations

IJsonModel<RegionContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<RegionContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<RegionContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<RegionContract>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<RegionContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to