Language

UpgradePreferences Class

Definition

Upgrade preferences for an Event Hubs Dedicated cluster.

[Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat]
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.UpgradePreferencesTypeConverter))]
public class UpgradePreferences : Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.IUpgradePreferences, Microsoft.Azure.PowerShell.Cmdlets.EventHub.Runtime.IValidates
[<Microsoft.Azure.PowerShell.Cmdlets.EventHub.DoNotFormat>]
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.EventHub.Models.UpgradePreferencesTypeConverter))>]
type UpgradePreferences = class
    interface IUpgradePreferences
    interface IJsonSerializable
    interface IProxyResource
    interface IResource
    interface IValidates
Public Class UpgradePreferences
Implements IUpgradePreferences, IValidates
Inheritance
UpgradePreferences
Attributes
Implements

Constructors

Name Description
UpgradePreferences()

Creates an new UpgradePreferences instance.

Properties

Name Description
ExceptionWindow

Date-specific exceptions to the recurring maintenance windows.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

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.

Name

The name of the resource

ResourceGroupName

Gets the resource group name

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

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 UpgradePreferences.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of UpgradePreferences.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of UpgradePreferences into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to