Share via


IGeoLocation Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.GeoLocationTypeConverter))]
public interface IGeoLocation : Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.SecurityInsights.Models.Api20210901Preview.GeoLocationTypeConverter))>]
type IGeoLocation = interface
    interface IJsonSerializable
Public Interface IGeoLocation
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

Asn

Autonomous System Number

City

City name

CountryCode

The country code according to ISO 3166 format

CountryName

Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name

Latitude

The longitude of the identified location, expressed as a floating point number with range of -180 to 180, with positive numbers representing East and negative numbers representing West. Latitude and longitude are derived from the city or postal code.

Longitude

The latitude of the identified location, expressed as a floating point number with range of - 90 to 90, with positive numbers representing North and negative numbers representing South. Latitude and longitude are derived from the city or postal code.

State

State name

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to