Interface MaintenanceConfiguration
public interface MaintenanceConfiguration
An immutable client-side representation of MaintenanceConfiguration.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the MaintenanceConfiguration definition.static interface
The MaintenanceConfiguration definition stages.static interface
The template for MaintenanceConfiguration update.static interface
The MaintenanceConfiguration update stages. -
Method Summary
Modifier and TypeMethodDescriptionduration()
Gets the duration property: Duration of the maintenance window in HH:mm format.Gets the expirationDateTime property: Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format.Gets the extensionProperties property: Gets or sets extensionProperties of the maintenanceConfiguration.id()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.maintenance.fluent.models.MaintenanceConfigurationInner object.location()
Gets the location property: Gets or sets location of the resource.Gets the maintenanceScope property: Gets or sets maintenanceScope of the configuration.name()
Gets the name property: The name of the resource.Gets the namespace property: Gets or sets namespace of the resource.Gets the recurEvery property: Rate at which a Maintenance window is expected to recur.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.com.azure.core.management.Region
region()
Gets the region of the resource.Gets the name of the resource region.Gets the name of the resource group.Gets the startDateTime property: Effective start date of the maintenance window in YYYY-MM-DD hh:mm format.com.azure.core.management.SystemData
Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.tags()
Gets the tags property: Gets or sets tags of the resource.timeZone()
Gets the timeZone property: Name of the timezone.type()
Gets the type property: The type of the resource.update()
Begins update for the MaintenanceConfiguration resource.Gets the visibility property: Gets or sets the visibility of the configuration.
-
Method Details
-
id
String id()Gets the id property: Fully qualified resource Id for the resource.- Returns:
- the id value.
-
name
String name()Gets the name property: The name of the resource.- Returns:
- the name value.
-
type
String type()Gets the type property: The type of the resource.- Returns:
- the type value.
-
location
String location()Gets the location property: Gets or sets location of the resource.- Returns:
- the location value.
-
tags
Gets the tags property: Gets or sets tags of the resource.- Returns:
- the tags value.
-
systemData
com.azure.core.management.SystemData systemData()Gets the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.- Returns:
- the systemData value.
-
namespace
String namespace()Gets the namespace property: Gets or sets namespace of the resource.- Returns:
- the namespace value.
-
extensionProperties
Gets the extensionProperties property: Gets or sets extensionProperties of the maintenanceConfiguration.- Returns:
- the extensionProperties value.
-
maintenanceScope
MaintenanceScope maintenanceScope()Gets the maintenanceScope property: Gets or sets maintenanceScope of the configuration.- Returns:
- the maintenanceScope value.
-
visibility
Visibility visibility()Gets the visibility property: Gets or sets the visibility of the configuration. The default value is 'Custom'.- Returns:
- the visibility value.
-
startDateTime
String startDateTime()Gets the startDateTime property: Effective start date of the maintenance window in YYYY-MM-DD hh:mm format. The start date can be set to either the current date or future date. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone.- Returns:
- the startDateTime value.
-
expirationDateTime
String expirationDateTime()Gets the expirationDateTime property: Effective expiration date of the maintenance window in YYYY-MM-DD hh:mm format. The window will be created in the time zone provided and adjusted to daylight savings according to that time zone. Expiration date must be set to a future date. If not provided, it will be set to the maximum datetime 9999-12-31 23:59:59.- Returns:
- the expirationDateTime value.
-
duration
String duration()Gets the duration property: Duration of the maintenance window in HH:mm format. If not provided, default value will be used based on maintenance scope provided. Example: 05:00.- Returns:
- the duration value.
-
timeZone
String timeZone()Gets the timeZone property: Name of the timezone. List of timezones can be obtained by executing [System.TimeZoneInfo]::GetSystemTimeZones() in PowerShell. Example: Pacific Standard Time, UTC, W. Europe Standard Time, Korea Standard Time, Cen. Australia Standard Time.- Returns:
- the timeZone value.
-
recurEvery
String recurEvery()Gets the recurEvery property: Rate at which a Maintenance window is expected to recur. The rate can be expressed as daily, weekly, or monthly schedules. Daily schedule are formatted as recurEvery: [Frequency as integer]['Day(s)']. If no frequency is provided, the default frequency is 1. Daily schedule examples are recurEvery: Day, recurEvery: 3Days. Weekly schedule are formatted as recurEvery: [Frequency as integer]['Week(s)'] [Optional comma separated list of weekdays Monday-Sunday]. Weekly schedule examples are recurEvery: 3Weeks, recurEvery: Week Saturday,Sunday. Monthly schedules are formatted as [Frequency as integer]['Month(s)'] [Comma separated list of month days] or [Frequency as integer]['Month(s)'] [Week of Month (First, Second, Third, Fourth, Last)] [Weekday Monday-Sunday]. Monthly schedule examples are recurEvery: Month, recurEvery: 2Months, recurEvery: Month day23,day24, recurEvery: Month Last Sunday, recurEvery: Month Fourth Monday.- Returns:
- the recurEvery value.
-
region
com.azure.core.management.Region region()Gets the region of the resource.- Returns:
- the region of the resource.
-
regionName
String regionName()Gets the name of the resource region.- Returns:
- the name of the resource region.
-
resourceGroupName
String resourceGroupName()Gets the name of the resource group.- Returns:
- the name of the resource group.
-
innerModel
MaintenanceConfigurationInner innerModel()Gets the inner com.azure.resourcemanager.maintenance.fluent.models.MaintenanceConfigurationInner object.- Returns:
- the inner object.
-
update
MaintenanceConfiguration.Update update()Begins update for the MaintenanceConfiguration resource.- Returns:
- the stage of resource update.
-
refresh
MaintenanceConfiguration refresh()Refreshes the resource to sync with Azure.- Returns:
- the refreshed resource.
-
refresh
Refreshes the resource to sync with Azure.- Parameters:
context
- The context to associate with this operation.- Returns:
- the refreshed resource.
-