GeoLocation interface
The geo-location context attached to the ip entity
Properties
asn | Autonomous System Number NOTE: This property will not be serialized. It can only be populated by the server. |
city | City name NOTE: This property will not be serialized. It can only be populated by the server. |
country |
The country code according to ISO 3166 format NOTE: This property will not be serialized. It can only be populated by the server. |
country |
Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name NOTE: This property will not be serialized. It can only be populated by the server. |
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. NOTE: This property will not be serialized. It can only be populated by the server. |
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. NOTE: This property will not be serialized. It can only be populated by the server. |
state | State name NOTE: This property will not be serialized. It can only be populated by the server. |
Property Details
asn
Autonomous System Number NOTE: This property will not be serialized. It can only be populated by the server.
asn?: number
Property Value
number
city
City name NOTE: This property will not be serialized. It can only be populated by the server.
city?: string
Property Value
string
countryCode
The country code according to ISO 3166 format NOTE: This property will not be serialized. It can only be populated by the server.
countryCode?: string
Property Value
string
countryName
Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name NOTE: This property will not be serialized. It can only be populated by the server.
countryName?: string
Property Value
string
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. NOTE: This property will not be serialized. It can only be populated by the server.
latitude?: number
Property Value
number
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. NOTE: This property will not be serialized. It can only be populated by the server.
longitude?: number
Property Value
number
state
State name NOTE: This property will not be serialized. It can only be populated by the server.
state?: string
Property Value
string
Azure SDK for JavaScript