ExceptionWindow 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 date-specific exception to the recurring maintenance windows.
[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ExceptionWindowTypeConverter))]
public class ExceptionWindow : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IExceptionWindow
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.ExceptionWindowTypeConverter))>]
type ExceptionWindow = class
interface IExceptionWindow
interface IJsonSerializable
Public Class ExceptionWindow
Implements IExceptionWindow
- Inheritance
-
ExceptionWindow
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| ExceptionWindow() |
Creates an new ExceptionWindow instance. |
Properties
| Name | Description |
|---|---|
| Action |
Whether the exception blocks or allows upgrades. |
| Date |
The UTC date on which the exception starts. |
| DurationMinute |
The exception duration in minutes. Allow exceptions must be between 480 and 1440 minutes in 60-minute increments. Block exceptions must be 1440 minutes. |
| StartTimeOfDay |
The UTC time of day at which the exception starts, represented as an ISO 8601 duration since midnight. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of ExceptionWindow. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of ExceptionWindow. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IExceptionWindow. |
| FromJsonString(String) |
Creates a new instance of ExceptionWindow, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of ExceptionWindow into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |