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

oci.ApmSynthetics.getVantagePoints

Explore with Pulumi AI

This data source provides the list of Public Vantage Points 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 testPublicVantagePoints = Oci.ApmSynthetics.GetVantagePoints.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.GetVantagePoints(ctx, &apmsynthetics.GetVantagePointsArgs{
			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.GetVantagePointsArgs;
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 testPublicVantagePoints = ApmSyntheticsFunctions.getVantagePoints(GetVantagePointsArgs.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_points = oci.ApmSynthetics.get_vantage_points(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 testPublicVantagePoints = oci.ApmSynthetics.getVantagePoints({
    apmDomainId: oci_apm_synthetics_apm_domain.test_apm_domain.id,
    displayName: _var.public_vantage_point_display_name,
    name: _var.public_vantage_point_name,
});
variables:
  testPublicVantagePoints:
    fn::invoke:
      Function: oci:ApmSynthetics:getVantagePoints
      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 getVantagePoints

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 getVantagePoints(args: GetVantagePointsArgs, opts?: InvokeOptions): Promise<GetVantagePointsResult>
function getVantagePointsOutput(args: GetVantagePointsOutputArgs, opts?: InvokeOptions): Output<GetVantagePointsResult>
def get_vantage_points(apm_domain_id: Optional[str] = None,
                       display_name: Optional[str] = None,
                       filters: Optional[Sequence[_apmsynthetics.GetVantagePointsFilter]] = None,
                       name: Optional[str] = None,
                       opts: Optional[InvokeOptions] = None) -> GetVantagePointsResult
def get_vantage_points_output(apm_domain_id: Optional[pulumi.Input[str]] = None,
                       display_name: Optional[pulumi.Input[str]] = None,
                       filters: Optional[pulumi.Input[Sequence[pulumi.Input[_apmsynthetics.GetVantagePointsFilterArgs]]]] = None,
                       name: Optional[pulumi.Input[str]] = None,
                       opts: Optional[InvokeOptions] = None) -> Output[GetVantagePointsResult]
func GetVantagePoints(ctx *Context, args *GetVantagePointsArgs, opts ...InvokeOption) (*GetVantagePointsResult, error)
func GetVantagePointsOutput(ctx *Context, args *GetVantagePointsOutputArgs, opts ...InvokeOption) GetVantagePointsResultOutput

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

public static class GetVantagePoints 
{
    public static Task<GetVantagePointsResult> InvokeAsync(GetVantagePointsArgs args, InvokeOptions? opts = null)
    public static Output<GetVantagePointsResult> Invoke(GetVantagePointsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetVantagePointsResult> getVantagePoints(GetVantagePointsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: oci:ApmSynthetics/getVantagePoints:getVantagePoints
  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.

Filters List<GetVantagePointsFilter>
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.

Filters []GetVantagePointsFilter
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.

filters List<GetVantagePointsFilter>
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.

filters GetVantagePointsFilter[]
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.

filters GetVantagePointsFilter]
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.

filters List<Property Map>
name String

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

getVantagePoints Result

The following output properties are available:

ApmDomainId string
Id string

The provider-assigned unique ID for this managed resource.

PublicVantagePointCollections List<GetVantagePointsPublicVantagePointCollection>

The list of public_vantage_point_collection.

DisplayName string

Unique name that can be edited. The name should not contain any confidential information.

Filters List<GetVantagePointsFilter>
Name string

Unique permanent name of the vantage point.

ApmDomainId string
Id string

The provider-assigned unique ID for this managed resource.

PublicVantagePointCollections []GetVantagePointsPublicVantagePointCollection

The list of public_vantage_point_collection.

DisplayName string

Unique name that can be edited. The name should not contain any confidential information.

Filters []GetVantagePointsFilter
Name string

Unique permanent name of the vantage point.

apmDomainId String
id String

The provider-assigned unique ID for this managed resource.

publicVantagePointCollections List<GetVantagePointsPublicVantagePointCollection>

The list of public_vantage_point_collection.

displayName String

Unique name that can be edited. The name should not contain any confidential information.

filters List<GetVantagePointsFilter>
name String

Unique permanent name of the vantage point.

apmDomainId string
id string

The provider-assigned unique ID for this managed resource.

publicVantagePointCollections GetVantagePointsPublicVantagePointCollection[]

The list of public_vantage_point_collection.

displayName string

Unique name that can be edited. The name should not contain any confidential information.

filters GetVantagePointsFilter[]
name string

Unique permanent name of the vantage point.

apm_domain_id str
id str

The provider-assigned unique ID for this managed resource.

public_vantage_point_collections GetVantagePointsPublicVantagePointCollection]

The list of public_vantage_point_collection.

display_name str

Unique name that can be edited. The name should not contain any confidential information.

filters GetVantagePointsFilter]
name str

Unique permanent name of the vantage point.

apmDomainId String
id String

The provider-assigned unique ID for this managed resource.

publicVantagePointCollections List<Property Map>

The list of public_vantage_point_collection.

displayName String

Unique name that can be edited. The name should not contain any confidential information.

filters List<Property Map>
name String

Unique permanent name of the vantage point.

Supporting Types

GetVantagePointsFilter

Name string

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

Values List<string>
Regex bool
Name string

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

Values []string
Regex bool
name String

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

values List<String>
regex Boolean
name string

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

values string[]
regex boolean
name str

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

values Sequence[str]
regex bool
name String

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

values List<String>
regex Boolean

GetVantagePointsPublicVantagePointCollection

Items List<GetVantagePointsPublicVantagePointCollectionItem>

List of PublicVantagePointSummary items.

Items []GetVantagePointsPublicVantagePointCollectionItem

List of PublicVantagePointSummary items.

items List<GetVantagePointsPublicVantagePointCollectionItem>

List of PublicVantagePointSummary items.

items GetVantagePointsPublicVantagePointCollectionItem[]

List of PublicVantagePointSummary items.

items GetVantagePointsPublicVantagePointCollectionItem]

List of PublicVantagePointSummary items.

items List<Property Map>

List of PublicVantagePointSummary items.

GetVantagePointsPublicVantagePointCollectionItem

DisplayName string

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

Geos List<GetVantagePointsPublicVantagePointCollectionItemGeo>

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 []GetVantagePointsPublicVantagePointCollectionItemGeo

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<GetVantagePointsPublicVantagePointCollectionItemGeo>

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 GetVantagePointsPublicVantagePointCollectionItemGeo[]

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 GetVantagePointsPublicVantagePointCollectionItemGeo]

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.

GetVantagePointsPublicVantagePointCollectionItemGeo

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.