Share via


CosmosDBForPostgreSqlMaintenanceWindow Class

Definition

Schedule settings for regular cluster updates.

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

Constructors

Name Description
CosmosDBForPostgreSqlMaintenanceWindow()

Initializes a new instance of CosmosDBForPostgreSqlMaintenanceWindow.

Properties

Name Description
CustomWindow

Indicates whether custom maintenance window is enabled or not.

DayOfWeek

Preferred day of the week for maintenance window.

StartHour

Start hour within preferred day of the week for maintenance window.

StartMinute

Start minute within the start hour for maintenance window.

Methods

Name Description
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<CosmosDBForPostgreSqlMaintenanceWindow>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<CosmosDBForPostgreSqlMaintenanceWindow>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CosmosDBForPostgreSqlMaintenanceWindow>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CosmosDBForPostgreSqlMaintenanceWindow>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<CosmosDBForPostgreSqlMaintenanceWindow>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to