1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. HealthChecks
  5. getVantagePoints
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

oci.HealthChecks.getVantagePoints

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi

    This data source provides the list of Vantage Points in Oracle Cloud Infrastructure Health Checks service.

    Gets information about all vantage points available to the user.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testVantagePoints = oci.HealthChecks.getVantagePoints({
        displayName: vantagePointDisplayName,
        name: vantagePointName,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_vantage_points = oci.HealthChecks.get_vantage_points(display_name=vantage_point_display_name,
        name=vantage_point_name)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v2/go/oci/HealthChecks"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := HealthChecks.GetVantagePoints(ctx, &healthchecks.GetVantagePointsArgs{
    			DisplayName: pulumi.StringRef(vantagePointDisplayName),
    			Name:        pulumi.StringRef(vantagePointName),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Oci = Pulumi.Oci;
    
    return await Deployment.RunAsync(() => 
    {
        var testVantagePoints = Oci.HealthChecks.GetVantagePoints.Invoke(new()
        {
            DisplayName = vantagePointDisplayName,
            Name = vantagePointName,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.HealthChecks.HealthChecksFunctions;
    import com.pulumi.oci.HealthChecks.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 testVantagePoints = HealthChecksFunctions.getVantagePoints(GetVantagePointsArgs.builder()
                .displayName(vantagePointDisplayName)
                .name(vantagePointName)
                .build());
    
        }
    }
    
    variables:
      testVantagePoints:
        fn::invoke:
          Function: oci:HealthChecks:getVantagePoints
          Arguments:
            displayName: ${vantagePointDisplayName}
            name: ${vantagePointName}
    

    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(display_name: Optional[str] = None,
                           filters: Optional[Sequence[_healthchecks.GetVantagePointsFilter]] = None,
                           name: Optional[str] = None,
                           opts: Optional[InvokeOptions] = None) -> GetVantagePointsResult
    def get_vantage_points_output(display_name: Optional[pulumi.Input[str]] = None,
                           filters: Optional[pulumi.Input[Sequence[pulumi.Input[_healthchecks.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:HealthChecks/getVantagePoints:getVantagePoints
      arguments:
        # arguments dictionary

    The following arguments are supported:

    DisplayName string
    Filters results that exactly match the displayName field.
    Filters List<GetVantagePointsFilter>
    Name string
    Filters results that exactly match the name field.
    DisplayName string
    Filters results that exactly match the displayName field.
    Filters []GetVantagePointsFilter
    Name string
    Filters results that exactly match the name field.
    displayName String
    Filters results that exactly match the displayName field.
    filters List<GetVantagePointsFilter>
    name String
    Filters results that exactly match the name field.
    displayName string
    Filters results that exactly match the displayName field.
    filters GetVantagePointsFilter[]
    name string
    Filters results that exactly match the name field.
    display_name str
    Filters results that exactly match the displayName field.
    filters Sequence[healthchecks.GetVantagePointsFilter]
    name str
    Filters results that exactly match the name field.
    displayName String
    Filters results that exactly match the displayName field.
    filters List<Property Map>
    name String
    Filters results that exactly match the name field.

    getVantagePoints Result

    The following output properties are available:

    HealthChecksVantagePoints List<GetVantagePointsHealthChecksVantagePoint>
    The list of health_checks_vantage_points.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The display name for the vantage point. Display names are determined by the best information available and may change over time.
    Filters List<GetVantagePointsFilter>
    Name string
    The unique, permanent name for the vantage point.
    HealthChecksVantagePoints []GetVantagePointsHealthChecksVantagePoint
    The list of health_checks_vantage_points.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    The display name for the vantage point. Display names are determined by the best information available and may change over time.
    Filters []GetVantagePointsFilter
    Name string
    The unique, permanent name for the vantage point.
    healthChecksVantagePoints List<GetVantagePointsVantagePoint>
    The list of health_checks_vantage_points.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    The display name for the vantage point. Display names are determined by the best information available and may change over time.
    filters List<GetVantagePointsFilter>
    name String
    The unique, permanent name for the vantage point.
    healthChecksVantagePoints GetVantagePointsHealthChecksVantagePoint[]
    The list of health_checks_vantage_points.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    The display name for the vantage point. Display names are determined by the best information available and may change over time.
    filters GetVantagePointsFilter[]
    name string
    The unique, permanent name for the vantage point.
    health_checks_vantage_points Sequence[healthchecks.GetVantagePointsHealthChecksVantagePoint]
    The list of health_checks_vantage_points.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    The display name for the vantage point. Display names are determined by the best information available and may change over time.
    filters Sequence[healthchecks.GetVantagePointsFilter]
    name str
    The unique, permanent name for the vantage point.
    healthChecksVantagePoints List<Property Map>
    The list of health_checks_vantage_points.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    The display name for the vantage point. Display names are determined by the best information available and may change over time.
    filters List<Property Map>
    name String
    The unique, permanent name for the vantage point.

    Supporting Types

    GetVantagePointsFilter

    Name string
    Filters results that exactly match the name field.
    Values List<string>
    Regex bool
    Name string
    Filters results that exactly match the name field.
    Values []string
    Regex bool
    name String
    Filters results that exactly match the name field.
    values List<String>
    regex Boolean
    name string
    Filters results that exactly match the name field.
    values string[]
    regex boolean
    name str
    Filters results that exactly match the name field.
    values Sequence[str]
    regex bool
    name String
    Filters results that exactly match the name field.
    values List<String>
    regex Boolean

    GetVantagePointsHealthChecksVantagePoint

    DisplayName string
    Filters results that exactly match the displayName field.
    Geos List<GetVantagePointsHealthChecksVantagePointGeo>
    Geographic information about a vantage point.
    Name string
    Filters results that exactly match the name field.
    ProviderName string
    The organization on whose infrastructure this vantage point resides. Provider names are not unique, as Oracle Cloud Infrastructure maintains many vantage points in each major provider.
    Routings List<GetVantagePointsHealthChecksVantagePointRouting>
    An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet.
    DisplayName string
    Filters results that exactly match the displayName field.
    Geos []GetVantagePointsHealthChecksVantagePointGeo
    Geographic information about a vantage point.
    Name string
    Filters results that exactly match the name field.
    ProviderName string
    The organization on whose infrastructure this vantage point resides. Provider names are not unique, as Oracle Cloud Infrastructure maintains many vantage points in each major provider.
    Routings []GetVantagePointsHealthChecksVantagePointRouting
    An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet.
    displayName String
    Filters results that exactly match the displayName field.
    geos List<GetVantagePointsVantagePointGeo>
    Geographic information about a vantage point.
    name String
    Filters results that exactly match the name field.
    providerName String
    The organization on whose infrastructure this vantage point resides. Provider names are not unique, as Oracle Cloud Infrastructure maintains many vantage points in each major provider.
    routings List<GetVantagePointsVantagePointRouting>
    An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet.
    displayName string
    Filters results that exactly match the displayName field.
    geos GetVantagePointsHealthChecksVantagePointGeo[]
    Geographic information about a vantage point.
    name string
    Filters results that exactly match the name field.
    providerName string
    The organization on whose infrastructure this vantage point resides. Provider names are not unique, as Oracle Cloud Infrastructure maintains many vantage points in each major provider.
    routings GetVantagePointsHealthChecksVantagePointRouting[]
    An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet.
    display_name str
    Filters results that exactly match the displayName field.
    geos Sequence[healthchecks.GetVantagePointsHealthChecksVantagePointGeo]
    Geographic information about a vantage point.
    name str
    Filters results that exactly match the name field.
    provider_name str
    The organization on whose infrastructure this vantage point resides. Provider names are not unique, as Oracle Cloud Infrastructure maintains many vantage points in each major provider.
    routings Sequence[healthchecks.GetVantagePointsHealthChecksVantagePointRouting]
    An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet.
    displayName String
    Filters results that exactly match the displayName field.
    geos List<Property Map>
    Geographic information about a vantage point.
    name String
    Filters results that exactly match the name field.
    providerName String
    The organization on whose infrastructure this vantage point resides. Provider names are not unique, as Oracle Cloud Infrastructure maintains many vantage points in each major provider.
    routings List<Property Map>
    An array of objects that describe how traffic to this vantage point is routed, including which prefixes and ASNs connect it to the internet.

    GetVantagePointsHealthChecksVantagePointGeo

    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.
    GeoKey string
    An opaque identifier for the geographic location of the vantage point.
    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.
    GeoKey string
    An opaque identifier for the geographic location of the vantage point.
    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.
    geoKey String
    An opaque identifier for the geographic location of the vantage point.
    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.
    geoKey string
    An opaque identifier for the geographic location of the vantage point.
    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.
    geo_key str
    An opaque identifier for the geographic location of the vantage point.
    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.
    geoKey String
    An opaque identifier for the geographic location of the vantage point.
    latitude Number
    Degrees north of the Equator.
    longitude Number
    Degrees east of the prime meridian.

    GetVantagePointsHealthChecksVantagePointRouting

    AsLabel string
    The registry label for asn, usually the name of the organization that owns the ASN. May be omitted or null.
    Asn int
    The Autonomous System Number (ASN) identifying the organization responsible for routing packets to prefix.
    Prefix string
    An IP prefix (CIDR syntax) that is less specific than address, through which address is routed.
    Weight int
    An integer between 0 and 100 used to select between multiple origin ASNs when routing to prefix. Most prefixes have exactly one origin ASN, in which case weight will be 100.
    AsLabel string
    The registry label for asn, usually the name of the organization that owns the ASN. May be omitted or null.
    Asn int
    The Autonomous System Number (ASN) identifying the organization responsible for routing packets to prefix.
    Prefix string
    An IP prefix (CIDR syntax) that is less specific than address, through which address is routed.
    Weight int
    An integer between 0 and 100 used to select between multiple origin ASNs when routing to prefix. Most prefixes have exactly one origin ASN, in which case weight will be 100.
    asLabel String
    The registry label for asn, usually the name of the organization that owns the ASN. May be omitted or null.
    asn Integer
    The Autonomous System Number (ASN) identifying the organization responsible for routing packets to prefix.
    prefix String
    An IP prefix (CIDR syntax) that is less specific than address, through which address is routed.
    weight Integer
    An integer between 0 and 100 used to select between multiple origin ASNs when routing to prefix. Most prefixes have exactly one origin ASN, in which case weight will be 100.
    asLabel string
    The registry label for asn, usually the name of the organization that owns the ASN. May be omitted or null.
    asn number
    The Autonomous System Number (ASN) identifying the organization responsible for routing packets to prefix.
    prefix string
    An IP prefix (CIDR syntax) that is less specific than address, through which address is routed.
    weight number
    An integer between 0 and 100 used to select between multiple origin ASNs when routing to prefix. Most prefixes have exactly one origin ASN, in which case weight will be 100.
    as_label str
    The registry label for asn, usually the name of the organization that owns the ASN. May be omitted or null.
    asn int
    The Autonomous System Number (ASN) identifying the organization responsible for routing packets to prefix.
    prefix str
    An IP prefix (CIDR syntax) that is less specific than address, through which address is routed.
    weight int
    An integer between 0 and 100 used to select between multiple origin ASNs when routing to prefix. Most prefixes have exactly one origin ASN, in which case weight will be 100.
    asLabel String
    The registry label for asn, usually the name of the organization that owns the ASN. May be omitted or null.
    asn Number
    The Autonomous System Number (ASN) identifying the organization responsible for routing packets to prefix.
    prefix String
    An IP prefix (CIDR syntax) that is less specific than address, through which address is routed.
    weight Number
    An integer between 0 and 100 used to select between multiple origin ASNs when routing to prefix. Most prefixes have exactly one origin ASN, in which case weight will be 100.

    Package Details

    Repository
    oci pulumi/pulumi-oci
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the oci Terraform Provider.
    oci logo
    Oracle Cloud Infrastructure v2.17.0 published on Friday, Nov 15, 2024 by Pulumi