MaintenanceWindow Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A recurring weekly maintenance window in UTC.
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.MaintenanceWindowTypeConverter))]
public class MaintenanceWindow : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IMaintenanceWindow
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.MaintenanceWindowTypeConverter))>]
type MaintenanceWindow = class
interface IMaintenanceWindow
interface IJsonSerializable
Public Class MaintenanceWindow
Implements IMaintenanceWindow
- Inheritance
-
MaintenanceWindow
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| MaintenanceWindow() |
Creates an new MaintenanceWindow instance. |
Properties
| Name | Description |
|---|---|
| DayOfWeek |
The UTC day of the week on which the maintenance window starts. |
| DurationMinute |
The maintenance window duration in minutes. The value must be between 480 and 1440 in 60-minute increments. |
| StartTimeOfDay |
The UTC time of day at which the maintenance window starts, represented as an ISO 8601 duration since midnight. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of MaintenanceWindow. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of MaintenanceWindow. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IMaintenanceWindow. |
| FromJsonString(String) |
Creates a new instance of MaintenanceWindow, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of MaintenanceWindow into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |