oci logo
Oracle Cloud Infrastructure v0.20.0, May 31 23

oci.ApmSynthetics.getVantagePoint

Explore with Pulumi AI

This data source provides details about a specific Public Vantage Point resource in Oracle Cloud Infrastructure Apm Synthetics service.

Returns a list of public vantage points.

Example Usage

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 = oci_apm_synthetics_apm_domain.Test_apm_domain.Id,
        DisplayName = @var.Public_vantage_point_display_name,
        Name = @var.Public_vantage_point_name,
    });

});
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/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: oci_apm_synthetics_apm_domain.Test_apm_domain.Id,
			DisplayName: pulumi.StringRef(_var.Public_vantage_point_display_name),
			Name:        pulumi.StringRef(_var.Public_vantage_point_name),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}
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(oci_apm_synthetics_apm_domain.test_apm_domain().id())
            .displayName(var_.public_vantage_point_display_name())
            .name(var_.public_vantage_point_name())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_public_vantage_point = oci.ApmSynthetics.get_vantage_point(apm_domain_id=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    display_name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference),
    name=%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testPublicVantagePoint = oci.ApmSynthetics.getVantagePoint({
    apmDomainId: oci_apm_synthetics_apm_domain.test_apm_domain.id,
    displayName: _var.public_vantage_point_display_name,
    name: _var.public_vantage_point_name,
});
variables:
  testPublicVantagePoint:
    fn::invoke:
      Function: oci:ApmSynthetics:getVantagePoint
      Arguments:
        apmDomainId: ${oci_apm_synthetics_apm_domain.test_apm_domain.id}
        displayName: ${var.public_vantage_point_display_name}
        name: ${var.public_vantage_point_name}

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>
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]
func GetVantagePoint(ctx *Context, args *GetVantagePointArgs, opts ...InvokeOption) (*GetVantagePointResult, error)
func GetVantagePointOutput(ctx *Context, args *GetVantagePointOutputArgs, opts ...InvokeOption) GetVantagePointResultOutput

> 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)
}
public static CompletableFuture<GetVantagePointResult> getVantagePoint(GetVantagePointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:ApmSynthetics/getVantagePoint:getVantagePoint
  arguments:
    # arguments dictionary

The following arguments are supported:

ApmDomainId 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 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 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 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 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 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 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 string

A filter to return only the resources that match the entire display name.

Geos List<GetVantagePointItemGeo>

Geographic summary of a vantage point.

Name string

A filter to return only the resources that match the entire name.

DisplayName string

A filter to return only the resources that match the entire display name.

Geos []GetVantagePointItemGeo

Geographic summary of a vantage point.

Name string

A filter to return only the resources that match the entire name.

displayName String

A filter to return only the resources that match the entire display name.

geos List<GetVantagePointItemGeo>

Geographic summary of a vantage point.

name String

A filter to return only the resources that match the entire name.

displayName string

A filter to return only the resources that match the entire display name.

geos GetVantagePointItemGeo[]

Geographic summary of a vantage point.

name string

A filter to return only the resources that match the entire name.

display_name str

A filter to return only the resources that match the entire display name.

geos GetVantagePointItemGeo]

Geographic summary of a vantage point.

name str

A filter to return only the resources that match the entire name.

displayName String

A filter to return only the resources that match the entire display name.

geos List<Property Map>

Geographic summary of a vantage point.

name String

A filter to return only the resources that match the entire name.

GetVantagePointItemGeo

AdminDivCode 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 string

Common English-language name for the city.

CountryCode string

The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

CountryName string

The common English-language name for the country.

Latitude double

Degrees north of the Equator.

Longitude double

Degrees east of the prime meridian.

AdminDivCode 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 string

Common English-language name for the city.

CountryCode string

The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

CountryName string

The common English-language name for the country.

Latitude float64

Degrees north of the Equator.

Longitude float64

Degrees east of the prime meridian.

adminDivCode 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 String

Common English-language name for the city.

countryCode String

The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

countryName String

The common English-language name for the country.

latitude Double

Degrees north of the Equator.

longitude Double

Degrees east of the prime meridian.

adminDivCode 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 string

Common English-language name for the city.

countryCode string

The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

countryName string

The common English-language name for the country.

latitude number

Degrees north of the Equator.

longitude number

Degrees east of the prime meridian.

admin_div_code 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 str

Common English-language name for the city.

country_code str

The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

country_name str

The common English-language name for the country.

latitude float

Degrees north of the Equator.

longitude float

Degrees east of the prime meridian.

adminDivCode 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 String

Common English-language name for the city.

countryCode String

The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.

countryName String

The common English-language name for the country.

latitude Number

Degrees north of the Equator.

longitude 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.