Share via


CreateMode Struct

Definition

The mode to create a new server.

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

Fields

Create
Default
GeoRestore
PointInTimeRestore
Replica
Update

Methods

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

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

Equals(CreateMode)

Compares values of enum type CreateMode

Equals(Object)

Compares values of enum type CreateMode (override for Object)

GetHashCode()

Returns hashCode for enum CreateMode

ToString()

Returns string representation for CreateMode

Operators

Equality(CreateMode, CreateMode)

Overriding == operator for enum CreateMode

Implicit(CreateMode to String)

Implicit operator to convert CreateMode to string

Implicit(String to CreateMode)

Implicit operator to convert string to CreateMode

Inequality(CreateMode, CreateMode)

Overriding != operator for enum CreateMode

Applies to