ArmSecurityInsightsModelFactory.SecurityInsightsIPEntityGeoLocation Method
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.
Initializes a new instance of SecurityInsightsIPEntityGeoLocation.
public static Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsIPEntityGeoLocation SecurityInsightsIPEntityGeoLocation (int? asn = default, string city = default, string countryCode = default, string countryName = default, double? latitude = default, double? longitude = default, string state = default);
static member SecurityInsightsIPEntityGeoLocation : Nullable<int> * string * string * string * Nullable<double> * Nullable<double> * string -> Azure.ResourceManager.SecurityInsights.Models.SecurityInsightsIPEntityGeoLocation
Public Shared Function SecurityInsightsIPEntityGeoLocation (Optional asn As Nullable(Of Integer) = Nothing, Optional city As String = Nothing, Optional countryCode As String = Nothing, Optional countryName As String = Nothing, Optional latitude As Nullable(Of Double) = Nothing, Optional longitude As Nullable(Of Double) = Nothing, Optional state As String = Nothing) As SecurityInsightsIPEntityGeoLocation
Parameters
- city
- String
City name.
- countryCode
- String
The country code according to ISO 3166 format.
- countryName
- String
Country name according to ISO 3166 Alpha 2: the lowercase of the English Short Name.
The latitude of the identified location, expressed as a floating point number with range of - 90 to 90. Latitude and longitude are derived from the city or postal code.
The longitude of the identified location, expressed as a floating point number with range of -180 to 180. Latitude and longitude are derived from the city or postal code.
- state
- String
State name.
Returns
A new SecurityInsightsIPEntityGeoLocation instance for mocking.
Applies to
Azure SDK for .NET