Share via


DefaultGateway Struct

Definition

The indicator of whether this is the default gateway. Only one of the attached networks (including the CloudServicesNetwork attachment) for a single machine may be specified as True.

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

Fields

False
True

Methods

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

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

Equals(DefaultGateway)

Compares values of enum type DefaultGateway

Equals(Object)

Compares values of enum type DefaultGateway (override for Object)

GetHashCode()

Returns hashCode for enum DefaultGateway

ToString()

Returns string representation for DefaultGateway

Operators

Equality(DefaultGateway, DefaultGateway)

Overriding == operator for enum DefaultGateway

Implicit(DefaultGateway to String)

Implicit operator to convert DefaultGateway to string

Implicit(String to DefaultGateway)

Implicit operator to convert string to DefaultGateway

Inequality(DefaultGateway, DefaultGateway)

Overriding != operator for enum DefaultGateway

Applies to