MaintenanceWindowOptionsInner Class

public final class MaintenanceWindowOptionsInner
extends ProxyResource

Maintenance window options.

Method Summary

Modifier and Type Method and Description
Boolean allowMultipleMaintenanceWindowsPerCycle()

Get the allowMultipleMaintenanceWindowsPerCycle property: Whether we allow multiple maintenance windows per cycle.

Integer defaultDurationInMinutes()

Get the defaultDurationInMinutes property: Default duration for maintenance window.

static MaintenanceWindowOptionsInner fromJson(JsonReader jsonReader)

Reads an instance of MaintenanceWindowOptionsInner from the JsonReader.

String id()

Get the id property: Fully qualified resource Id for the resource.

Boolean isEnabled()

Get the isEnabled property: Whether maintenance windows are enabled for the database.

List<MaintenanceWindowTimeRange> maintenanceWindowCycles()

Get the maintenanceWindowCycles property: Available maintenance cycles e.g.

Integer minCycles()

Get the minCycles property: Minimum number of maintenance windows cycles to be set on the database.

Integer minDurationInMinutes()

Get the minDurationInMinutes property: Minimum duration of maintenance window.

String name()

Get the name property: The name of the resource.

SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Integer timeGranularityInMinutes()

Get the timeGranularityInMinutes property: Time granularity in minutes for maintenance windows.

JsonWriter toJson(JsonWriter jsonWriter)
String type()

Get the type property: The type of the resource.

void validate()

Validates the instance.

Methods inherited from ProxyResource

Methods inherited from java.lang.Object

Method Details

allowMultipleMaintenanceWindowsPerCycle

public Boolean allowMultipleMaintenanceWindowsPerCycle()

Get the allowMultipleMaintenanceWindowsPerCycle property: Whether we allow multiple maintenance windows per cycle.

Returns:

the allowMultipleMaintenanceWindowsPerCycle value.

defaultDurationInMinutes

public Integer defaultDurationInMinutes()

Get the defaultDurationInMinutes property: Default duration for maintenance window.

Returns:

the defaultDurationInMinutes value.

fromJson

public static MaintenanceWindowOptionsInner fromJson(JsonReader jsonReader)

Reads an instance of MaintenanceWindowOptionsInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MaintenanceWindowOptionsInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If the deserialized JSON object was missing any required properties.

id

public String id()

Get the id property: Fully qualified resource Id for the resource.

Overrides:

MaintenanceWindowOptionsInner.id()

Returns:

the id value.

isEnabled

public Boolean isEnabled()

Get the isEnabled property: Whether maintenance windows are enabled for the database.

Returns:

the isEnabled value.

maintenanceWindowCycles

public List<MaintenanceWindowTimeRange> maintenanceWindowCycles()

Get the maintenanceWindowCycles property: Available maintenance cycles e.g. {Saturday, 0, 48*60}, {Wednesday, 0, 24*60}.

Returns:

the maintenanceWindowCycles value.

minCycles

public Integer minCycles()

Get the minCycles property: Minimum number of maintenance windows cycles to be set on the database.

Returns:

the minCycles value.

minDurationInMinutes

public Integer minDurationInMinutes()

Get the minDurationInMinutes property: Minimum duration of maintenance window.

Returns:

the minDurationInMinutes value.

name

public String name()

Get the name property: The name of the resource.

Overrides:

MaintenanceWindowOptionsInner.name()

Returns:

the name value.

systemData

public SystemData systemData()

Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.

Returns:

the systemData value.

timeGranularityInMinutes

public Integer timeGranularityInMinutes()

Get the timeGranularityInMinutes property: Time granularity in minutes for maintenance windows.

Returns:

the timeGranularityInMinutes value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MaintenanceWindowOptionsInner.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

type

public String type()

Get the type property: The type of the resource.

Overrides:

MaintenanceWindowOptionsInner.type()

Returns:

the type value.

validate

public void validate()

Validates the instance.

Applies to