dynatrace.RumIpLocations
Explore with Pulumi AI
Create RumIpLocations Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new RumIpLocations(name: string, args: RumIpLocationsArgs, opts?: CustomResourceOptions);
@overload
def RumIpLocations(resource_name: str,
args: RumIpLocationsArgs,
opts: Optional[ResourceOptions] = None)
@overload
def RumIpLocations(resource_name: str,
opts: Optional[ResourceOptions] = None,
country_code: Optional[str] = None,
ip: Optional[str] = None,
city: Optional[str] = None,
ip_to: Optional[str] = None,
latitude: Optional[float] = None,
longitude: Optional[float] = None,
region_code: Optional[str] = None)
func NewRumIpLocations(ctx *Context, name string, args RumIpLocationsArgs, opts ...ResourceOption) (*RumIpLocations, error)
public RumIpLocations(string name, RumIpLocationsArgs args, CustomResourceOptions? opts = null)
public RumIpLocations(String name, RumIpLocationsArgs args)
public RumIpLocations(String name, RumIpLocationsArgs args, CustomResourceOptions options)
type: dynatrace:RumIpLocations
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args RumIpLocationsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args RumIpLocationsArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args RumIpLocationsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args RumIpLocationsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args RumIpLocationsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var rumIpLocationsResource = new Dynatrace.RumIpLocations("rumIpLocationsResource", new()
{
CountryCode = "string",
Ip = "string",
City = "string",
IpTo = "string",
Latitude = 0,
Longitude = 0,
RegionCode = "string",
});
example, err := dynatrace.NewRumIpLocations(ctx, "rumIpLocationsResource", &dynatrace.RumIpLocationsArgs{
CountryCode: pulumi.String("string"),
Ip: pulumi.String("string"),
City: pulumi.String("string"),
IpTo: pulumi.String("string"),
Latitude: pulumi.Float64(0),
Longitude: pulumi.Float64(0),
RegionCode: pulumi.String("string"),
})
var rumIpLocationsResource = new RumIpLocations("rumIpLocationsResource", RumIpLocationsArgs.builder()
.countryCode("string")
.ip("string")
.city("string")
.ipTo("string")
.latitude(0)
.longitude(0)
.regionCode("string")
.build());
rum_ip_locations_resource = dynatrace.RumIpLocations("rumIpLocationsResource",
country_code="string",
ip="string",
city="string",
ip_to="string",
latitude=0,
longitude=0,
region_code="string")
const rumIpLocationsResource = new dynatrace.RumIpLocations("rumIpLocationsResource", {
countryCode: "string",
ip: "string",
city: "string",
ipTo: "string",
latitude: 0,
longitude: 0,
regionCode: "string",
});
type: dynatrace:RumIpLocations
properties:
city: string
countryCode: string
ip: string
ipTo: string
latitude: 0
longitude: 0
regionCode: string
RumIpLocations Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The RumIpLocations resource accepts the following input properties:
- Country
Code string - The country code of the location.
- Ip string
- Single IP or IP range start address
- City string
- The city name of the location.
- Ip
To string - IP range end
- Latitude double
- Latitude
- Longitude double
- Longitude
- Region
Code string - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- Country
Code string - The country code of the location.
- Ip string
- Single IP or IP range start address
- City string
- The city name of the location.
- Ip
To string - IP range end
- Latitude float64
- Latitude
- Longitude float64
- Longitude
- Region
Code string - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- country
Code String - The country code of the location.
- ip String
- Single IP or IP range start address
- city String
- The city name of the location.
- ip
To String - IP range end
- latitude Double
- Latitude
- longitude Double
- Longitude
- region
Code String - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- country
Code string - The country code of the location.
- ip string
- Single IP or IP range start address
- city string
- The city name of the location.
- ip
To string - IP range end
- latitude number
- Latitude
- longitude number
- Longitude
- region
Code string - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- country_
code str - The country code of the location.
- ip str
- Single IP or IP range start address
- city str
- The city name of the location.
- ip_
to str - IP range end
- latitude float
- Latitude
- longitude float
- Longitude
- region_
code str - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- country
Code String - The country code of the location.
- ip String
- Single IP or IP range start address
- city String
- The city name of the location.
- ip
To String - IP range end
- latitude Number
- Latitude
- longitude Number
- Longitude
- region
Code String - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
Outputs
All input properties are implicitly available as output properties. Additionally, the RumIpLocations resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing RumIpLocations Resource
Get an existing RumIpLocations resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: RumIpLocationsState, opts?: CustomResourceOptions): RumIpLocations
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
city: Optional[str] = None,
country_code: Optional[str] = None,
ip: Optional[str] = None,
ip_to: Optional[str] = None,
latitude: Optional[float] = None,
longitude: Optional[float] = None,
region_code: Optional[str] = None) -> RumIpLocations
func GetRumIpLocations(ctx *Context, name string, id IDInput, state *RumIpLocationsState, opts ...ResourceOption) (*RumIpLocations, error)
public static RumIpLocations Get(string name, Input<string> id, RumIpLocationsState? state, CustomResourceOptions? opts = null)
public static RumIpLocations get(String name, Output<String> id, RumIpLocationsState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- City string
- The city name of the location.
- Country
Code string - The country code of the location.
- Ip string
- Single IP or IP range start address
- Ip
To string - IP range end
- Latitude double
- Latitude
- Longitude double
- Longitude
- Region
Code string - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- City string
- The city name of the location.
- Country
Code string - The country code of the location.
- Ip string
- Single IP or IP range start address
- Ip
To string - IP range end
- Latitude float64
- Latitude
- Longitude float64
- Longitude
- Region
Code string - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- city String
- The city name of the location.
- country
Code String - The country code of the location.
- ip String
- Single IP or IP range start address
- ip
To String - IP range end
- latitude Double
- Latitude
- longitude Double
- Longitude
- region
Code String - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- city string
- The city name of the location.
- country
Code string - The country code of the location.
- ip string
- Single IP or IP range start address
- ip
To string - IP range end
- latitude number
- Latitude
- longitude number
- Longitude
- region
Code string - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- city str
- The city name of the location.
- country_
code str - The country code of the location.
- ip str
- Single IP or IP range start address
- ip_
to str - IP range end
- latitude float
- Latitude
- longitude float
- Longitude
- region_
code str - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
- city String
- The city name of the location.
- country
Code String - The country code of the location.
- ip String
- Single IP or IP range start address
- ip
To String - IP range end
- latitude Number
- Latitude
- longitude Number
- Longitude
- region
Code String - The region code of the location. For the USA or Canada
use ISO 3166-2 state codes without
US-
orCA-
prefix. For the rest of the world use FIPS 10-4 codes without country prefix.
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.