Partilhar via


ArmSecurityInsightsModelFactory.SecurityInsightsIPEntityGeoLocation Method

Definition

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

asn
Nullable<Int32>

Autonomous System Number.

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.

latitude
Nullable<Double>

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.

longitude
Nullable<Double>

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