Share via


ApiRevisionContract Class

Definition

Summary of revision metadata.

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

Properties

ApiId

Identifier of the API Revision.

ApiRevision

Revision number of API.

CreatedOn

The time the API Revision was created. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

Description

Description of the API Revision.

IsCurrent

Indicates if API revision is accessible via the gateway.

IsOnline

Indicates if API revision is the current api revision.

PrivateUriString

Gateway URL for accessing the non-current API Revision.

UpdatedOn

The time the API Revision were updated. The date conforms to the following format: yyyy-MM-ddTHH:mm:ssZ as specified by the ISO 8601 standard.

Explicit Interface Implementations

IJsonModel<ApiRevisionContract>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ApiRevisionContract>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ApiRevisionContract>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ApiRevisionContract>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ApiRevisionContract>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to