Dela via


Location Struct

Definition

Location in which the Resources needs to be reserved. It cannot be changed after the resource has been created.

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

Fields

Australiaeast
Australiasoutheast
Brazilsouth
Canadacentral
Canadaeast
Centralindia
Centralus
Eastasia
Eastus
Eastus2
Japaneast
Japanwest
Northcentralus
Northeurope
Southcentralus
Southeastasia
Southindia
Uksouth
Ukwest
Westcentralus
Westeurope
Westindia
Westus
Westus2

Methods

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

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

Equals(Location)

Compares values of enum type Location

Equals(Object)

Compares values of enum type Location (override for Object)

GetHashCode()

Returns hashCode for enum Location

ToString()

Returns string representation for Location

Operators

Equality(Location, Location)

Overriding == operator for enum Location

Implicit(Location to String)

Implicit operator to convert Location to string

Implicit(String to Location)

Implicit operator to convert string to Location

Inequality(Location, Location)

Overriding != operator for enum Location

Applies to