Share via


LocationData Class

Definition

Metadata pertaining to the geographic location of the resource.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LocationDataTypeConverter))]
public class LocationData : Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILocationData
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.LocationDataTypeConverter))>]
type LocationData = class
    interface ILocationData
    interface IJsonSerializable
Public Class LocationData
Implements ILocationData
Inheritance
LocationData
Attributes
Implements

Constructors

LocationData()

Creates an new LocationData instance.

Properties

City

The city or locality where the resource is located.

CountryOrRegion

The country or region where the resource is located

District

The district, state, or province where the resource is located.

Name

A canonical name for the geographic or physical location.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of LocationData.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of LocationData.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ConnectedMachine.Models.ILocationData.

FromJsonString(String)

Creates a new instance of LocationData, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of LocationData into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to