Location Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides information about an Azure data center location.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.Api202101.LocationTypeConverter))]
public class Location : Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.Api202101.ILocation
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.Api202101.LocationTypeConverter))>]
type Location = class
interface ILocation
interface IJsonSerializable
Public Class Location
Implements ILocation
- Inheritance
-
Location
- Attributes
- Implements
Constructors
Location() |
Creates an new Location instance. |
Properties
AdditionalShippingInformation |
Additional shipping information for customer, specific to datacenter to which customer should send their disks. |
AlternateLocation |
A list of location IDs that should be used to ship shipping drives to for jobs created against the current location. If the current location is active, it will be part of the list. If it is temporarily closed due to maintenance, this list may contain other locations. |
City |
The city name to use when shipping the drives to the Azure data center. |
CountryOrRegion |
The country or region to use when shipping the drives to the Azure data center. |
Id |
Specifies the resource identifier of the location. |
Name |
Specifies the name of the location. Use List Locations to get all supported locations. |
Phone |
The phone number for the Azure data center. |
PostalCode |
The postal code to use when shipping the drives to the Azure data center. |
RecipientName |
The recipient name to use when shipping the drives to the Azure data center. |
StateOrProvince |
The state or province to use when shipping the drives to the Azure data center. |
StreetAddress1 |
The first line of the street address to use when shipping the drives to the Azure data center. |
StreetAddress2 |
The second line of the street address to use when shipping the drives to the Azure data center. |
SupportedCarrier |
A list of carriers that are supported at this location. |
Type |
Specifies the type of the location. |
Methods
DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of Location. |
DeserializeFromPSObject(PSObject) | |
FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ImportExport.Models.Api202101.ILocation. |
FromJsonString(String) |
Creates a new instance of Location, deserializing the content from a json string. |
ToJson(JsonObject, SerializationMode) | |
ToJsonString() |
Serializes this instance to a json string. |