Language

UpgradePreferencesProperties Class

Definition

Upgrade preference properties for an Event Hubs Dedicated cluster.

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.UpgradePreferencesPropertiesTypeConverter))]
public class UpgradePreferencesProperties : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IUpgradePreferencesProperties
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.UpgradePreferencesPropertiesTypeConverter))>]
type UpgradePreferencesProperties = class
    interface IUpgradePreferencesProperties
    interface IJsonSerializable
Public Class UpgradePreferencesProperties
Implements IUpgradePreferencesProperties
Inheritance
UpgradePreferencesProperties
Attributes
Implements

Constructors

Name Description
UpgradePreferencesProperties()

Creates an new UpgradePreferencesProperties instance.

Properties

Name Description
ExceptionWindow

Date-specific exceptions to the recurring maintenance windows.

MaintenanceWindow

Recurring weekly maintenance windows in UTC. At least one window must be supplied when preferences are created or updated. A maximum of two windows can be configured, and their combined duration must be at least 16 hours per week.

UpgradeStatusCompletesAt

The estimated UTC time when the current upgrade will complete.

UpgradeStatusInProgress

Whether an upgrade-now override is currently active.

UpgradeStatusPendingUpgrade

Whether at least one deferred upgrade is waiting for the cluster.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of UpgradePreferencesProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UpgradePreferencesProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IUpgradePreferencesProperties.

FromJsonString(String)

Creates a new instance of UpgradePreferencesProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of UpgradePreferencesProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to