MaintenanceWindowOptionData Class

Definition

A class representing the MaintenanceWindowOption data model. Maintenance window options.

public class MaintenanceWindowOptionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Sql.MaintenanceWindowOptionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Sql.MaintenanceWindowOptionData>
type MaintenanceWindowOptionData = class
    inherit ResourceData
    interface IJsonModel<MaintenanceWindowOptionData>
    interface IPersistableModel<MaintenanceWindowOptionData>
Public Class MaintenanceWindowOptionData
Inherits ResourceData
Implements IJsonModel(Of MaintenanceWindowOptionData), IPersistableModel(Of MaintenanceWindowOptionData)
Inheritance
MaintenanceWindowOptionData
Implements

Constructors

MaintenanceWindowOptionData()

Initializes a new instance of MaintenanceWindowOptionData.

Properties

AllowMultipleMaintenanceWindowsPerCycle

Whether we allow multiple maintenance windows per cycle.

DefaultDurationInMinutes

Default duration for maintenance window.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
IsEnabled

Whether maintenance windows are enabled for the database.

MaintenanceWindowCycles

Available maintenance cycles e.g. {Saturday, 0, 4860}, {Wednesday, 0, 2460}.

MinCycles

Minimum number of maintenance windows cycles to be set on the database.

MinDurationInMinutes

Minimum duration of maintenance window.

Name

The name of the resource.

(Inherited from ResourceData)
ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
TimeGranularityInMinutes

Time granularity in minutes for maintenance windows.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<MaintenanceWindowOptionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<MaintenanceWindowOptionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<MaintenanceWindowOptionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<MaintenanceWindowOptionData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<MaintenanceWindowOptionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to