1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ApmSynthetics
  5. getVantagePoint
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

oci.ApmSynthetics.getVantagePoint

Explore with Pulumi AI

Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi

This data source provides details about a specific Public Vantage Point resource in Oracle Cloud Infrastructure APM Availability Monitoring service (aka APM Synthetics Service).

Returns a list of public vantage points.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPublicVantagePoint = oci.ApmSynthetics.getVantagePoint({
    apmDomainId: testApmDomain.id,
    displayName: publicVantagePointDisplayName,
    name: publicVantagePointName,
});
Copy
import pulumi
import pulumi_oci as oci

test_public_vantage_point = oci.ApmSynthetics.get_vantage_point(apm_domain_id=test_apm_domain["id"],
    display_name=public_vantage_point_display_name,
    name=public_vantage_point_name)
Copy
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/apmsynthetics"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := apmsynthetics.GetVantagePoint(ctx, &apmsynthetics.GetVantagePointArgs{
			ApmDomainId: testApmDomain.Id,
			DisplayName: pulumi.StringRef(publicVantagePointDisplayName),
			Name:        pulumi.StringRef(publicVantagePointName),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testPublicVantagePoint = Oci.ApmSynthetics.GetVantagePoint.Invoke(new()
    {
        ApmDomainId = testApmDomain.Id,
        DisplayName = publicVantagePointDisplayName,
        Name = publicVantagePointName,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.ApmSynthetics.ApmSyntheticsFunctions;
import com.pulumi.oci.ApmSynthetics.inputs.GetVantagePointArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;

public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }

    public static void stack(Context ctx) {
        final var testPublicVantagePoint = ApmSyntheticsFunctions.getVantagePoint(GetVantagePointArgs.builder()
            .apmDomainId(testApmDomain.id())
            .displayName(publicVantagePointDisplayName)
            .name(publicVantagePointName)
            .build());

    }
}
Copy
variables:
  testPublicVantagePoint:
    fn::invoke:
      function: oci:ApmSynthetics:getVantagePoint
      arguments:
        apmDomainId: ${testApmDomain.id}
        displayName: ${publicVantagePointDisplayName}
        name: ${publicVantagePointName}
Copy

Using getVantagePoint

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getVantagePoint(args: GetVantagePointArgs, opts?: InvokeOptions): Promise<GetVantagePointResult>
function getVantagePointOutput(args: GetVantagePointOutputArgs, opts?: InvokeOptions): Output<GetVantagePointResult>
Copy
def get_vantage_point(apm_domain_id: Optional[str] = None,
                      display_name: Optional[str] = None,
                      name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> GetVantagePointResult
def get_vantage_point_output(apm_domain_id: Optional[pulumi.Input[str]] = None,
                      display_name: Optional[pulumi.Input[str]] = None,
                      name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[GetVantagePointResult]
Copy
func GetVantagePoint(ctx *Context, args *GetVantagePointArgs, opts ...InvokeOption) (*GetVantagePointResult, error)
func GetVantagePointOutput(ctx *Context, args *GetVantagePointOutputArgs, opts ...InvokeOption) GetVantagePointResultOutput
Copy

> Note: This function is named GetVantagePoint in the Go SDK.

public static class GetVantagePoint 
{
    public static Task<GetVantagePointResult> InvokeAsync(GetVantagePointArgs args, InvokeOptions? opts = null)
    public static Output<GetVantagePointResult> Invoke(GetVantagePointInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVantagePointResult> getVantagePoint(GetVantagePointArgs args, InvokeOptions options)
public static Output<GetVantagePointResult> getVantagePoint(GetVantagePointArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: oci:ApmSynthetics/getVantagePoint:getVantagePoint
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

ApmDomainId This property is required. string
The APM domain ID the request is intended for.
DisplayName string
A filter to return only the resources that match the entire display name.
Name string
A filter to return only the resources that match the entire name.
ApmDomainId This property is required. string
The APM domain ID the request is intended for.
DisplayName string
A filter to return only the resources that match the entire display name.
Name string
A filter to return only the resources that match the entire name.
apmDomainId This property is required. String
The APM domain ID the request is intended for.
displayName String
A filter to return only the resources that match the entire display name.
name String
A filter to return only the resources that match the entire name.
apmDomainId This property is required. string
The APM domain ID the request is intended for.
displayName string
A filter to return only the resources that match the entire display name.
name string
A filter to return only the resources that match the entire name.
apm_domain_id This property is required. str
The APM domain ID the request is intended for.
display_name str
A filter to return only the resources that match the entire display name.
name str
A filter to return only the resources that match the entire name.
apmDomainId This property is required. String
The APM domain ID the request is intended for.
displayName String
A filter to return only the resources that match the entire display name.
name String
A filter to return only the resources that match the entire name.

getVantagePoint Result

The following output properties are available:

ApmDomainId string
Id string
The provider-assigned unique ID for this managed resource.
Items List<GetVantagePointItem>
List of PublicVantagePointSummary items.
DisplayName string
Unique name that can be edited. The name should not contain any confidential information.
Name string
Unique permanent name of the vantage point.
ApmDomainId string
Id string
The provider-assigned unique ID for this managed resource.
Items []GetVantagePointItem
List of PublicVantagePointSummary items.
DisplayName string
Unique name that can be edited. The name should not contain any confidential information.
Name string
Unique permanent name of the vantage point.
apmDomainId String
id String
The provider-assigned unique ID for this managed resource.
items List<GetVantagePointItem>
List of PublicVantagePointSummary items.
displayName String
Unique name that can be edited. The name should not contain any confidential information.
name String
Unique permanent name of the vantage point.
apmDomainId string
id string
The provider-assigned unique ID for this managed resource.
items GetVantagePointItem[]
List of PublicVantagePointSummary items.
displayName string
Unique name that can be edited. The name should not contain any confidential information.
name string
Unique permanent name of the vantage point.
apm_domain_id str
id str
The provider-assigned unique ID for this managed resource.
items Sequence[apmsynthetics.GetVantagePointItem]
List of PublicVantagePointSummary items.
display_name str
Unique name that can be edited. The name should not contain any confidential information.
name str
Unique permanent name of the vantage point.
apmDomainId String
id String
The provider-assigned unique ID for this managed resource.
items List<Property Map>
List of PublicVantagePointSummary items.
displayName String
Unique name that can be edited. The name should not contain any confidential information.
name String
Unique permanent name of the vantage point.

Supporting Types

GetVantagePointItem

DisplayName This property is required. string
A filter to return only the resources that match the entire display name.
Geos This property is required. List<GetVantagePointItemGeo>
Geographic summary of a vantage point.
Name This property is required. string
A filter to return only the resources that match the entire name.
DisplayName This property is required. string
A filter to return only the resources that match the entire display name.
Geos This property is required. []GetVantagePointItemGeo
Geographic summary of a vantage point.
Name This property is required. string
A filter to return only the resources that match the entire name.
displayName This property is required. String
A filter to return only the resources that match the entire display name.
geos This property is required. List<GetVantagePointItemGeo>
Geographic summary of a vantage point.
name This property is required. String
A filter to return only the resources that match the entire name.
displayName This property is required. string
A filter to return only the resources that match the entire display name.
geos This property is required. GetVantagePointItemGeo[]
Geographic summary of a vantage point.
name This property is required. string
A filter to return only the resources that match the entire name.
display_name This property is required. str
A filter to return only the resources that match the entire display name.
geos This property is required. Sequence[apmsynthetics.GetVantagePointItemGeo]
Geographic summary of a vantage point.
name This property is required. str
A filter to return only the resources that match the entire name.
displayName This property is required. String
A filter to return only the resources that match the entire display name.
geos This property is required. List<Property Map>
Geographic summary of a vantage point.
name This property is required. String
A filter to return only the resources that match the entire name.

GetVantagePointItemGeo

AdminDivCode This property is required. string
The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.
CityName This property is required. string
Common English-language name for the city.
CountryCode This property is required. string
The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
CountryName This property is required. string
The common English-language name for the country.
Latitude This property is required. double
Degrees north of the Equator.
Longitude This property is required. double
Degrees east of the prime meridian.
AdminDivCode This property is required. string
The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.
CityName This property is required. string
Common English-language name for the city.
CountryCode This property is required. string
The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
CountryName This property is required. string
The common English-language name for the country.
Latitude This property is required. float64
Degrees north of the Equator.
Longitude This property is required. float64
Degrees east of the prime meridian.
adminDivCode This property is required. String
The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.
cityName This property is required. String
Common English-language name for the city.
countryCode This property is required. String
The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
countryName This property is required. String
The common English-language name for the country.
latitude This property is required. Double
Degrees north of the Equator.
longitude This property is required. Double
Degrees east of the prime meridian.
adminDivCode This property is required. string
The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.
cityName This property is required. string
Common English-language name for the city.
countryCode This property is required. string
The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
countryName This property is required. string
The common English-language name for the country.
latitude This property is required. number
Degrees north of the Equator.
longitude This property is required. number
Degrees east of the prime meridian.
admin_div_code This property is required. str
The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.
city_name This property is required. str
Common English-language name for the city.
country_code This property is required. str
The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
country_name This property is required. str
The common English-language name for the country.
latitude This property is required. float
Degrees north of the Equator.
longitude This property is required. float
Degrees east of the prime meridian.
adminDivCode This property is required. String
The ISO 3166-2 code for this location's first-level administrative division, either a US state or Canadian province. Only included for locations in the US or Canada. For a list of codes, see Country Codes.
cityName This property is required. String
Common English-language name for the city.
countryCode This property is required. String
The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
countryName This property is required. String
The common English-language name for the country.
latitude This property is required. Number
Degrees north of the Equator.
longitude This property is required. Number
Degrees east of the prime meridian.

Package Details

Repository
oci pulumi/pulumi-oci
License
Apache-2.0
Notes
This Pulumi package is based on the oci Terraform Provider.
Oracle Cloud Infrastructure v2.28.0 published on Thursday, Mar 27, 2025 by Pulumi