Share via


UpgradePreference Struct

Definition

Upgrade Preference

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UpgradePreferenceTypeConverter))]
public struct UpgradePreference : IEquatable<Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UpgradePreference>, System.Management.Automation.IArgumentCompleter
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Functions.Support.UpgradePreferenceTypeConverter))>]
type UpgradePreference = struct
    interface IArgumentCompleter
Public Structure UpgradePreference
Implements IArgumentCompleter, IEquatable(Of UpgradePreference)
Inheritance
UpgradePreference
Attributes
Implements

Fields

Early

This App Service Environment will be upgraded before others in the same region that have Upgrade Preference 'Late'

Late

This App Service Environment will be upgraded after others in the same region that have Upgrade Preference 'Early'

Manual

ASEv3 only. Once an upgrade is available, this App Service Environment will wait 10 days for the upgrade to be manually initiated. After 10 days the upgrade will begin automatically

None

No preference on when this App Service Environment will be upgraded

Methods

CompleteArgument(String, String, String, CommandAst, IDictionary)

Implementations of this function are called by PowerShell to complete arguments.

Equals(Object)

Compares values of enum type UpgradePreference (override for Object)

Equals(UpgradePreference)

Compares values of enum type UpgradePreference

GetHashCode()

Returns hashCode for enum UpgradePreference

ToString()

Returns string representation for UpgradePreference

Operators

Equality(UpgradePreference, UpgradePreference)

Overriding == operator for enum UpgradePreference

Implicit(String to UpgradePreference)

Implicit operator to convert string to UpgradePreference

Implicit(UpgradePreference to String)

Implicit operator to convert UpgradePreference to string

Inequality(UpgradePreference, UpgradePreference)

Overriding != operator for enum UpgradePreference

Applies to