Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.HealthChecks.getVantagePoints
Explore with Pulumi AI
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 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/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:
- Display
Name string - Filters results that exactly match the
displayName
field. - Filters
List<Get
Vantage Points Filter> - Name string
- Filters results that exactly match the
name
field.
- Display
Name string - Filters results that exactly match the
displayName
field. - Filters
[]Get
Vantage Points Filter - Name string
- Filters results that exactly match the
name
field.
- display
Name String - Filters results that exactly match the
displayName
field. - filters
List<Get
Vantage Points Filter> - name String
- Filters results that exactly match the
name
field.
- display
Name string - Filters results that exactly match the
displayName
field. - filters
Get
Vantage Points Filter[] - name string
- Filters results that exactly match the
name
field.
- display_
name str - Filters results that exactly match the
displayName
field. - filters
Sequence[healthchecks.
Get Vantage Points Filter] - name str
- Filters results that exactly match the
name
field.
- display
Name 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:
- Health
Checks List<GetVantage Points Vantage Points Health Checks Vantage Point> - The list of health_checks_vantage_points.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - The display name for the vantage point. Display names are determined by the best information available and may change over time.
- Filters
List<Get
Vantage Points Filter> - Name string
- The unique, permanent name for the vantage point.
- Health
Checks []GetVantage Points Vantage Points Health Checks Vantage Point - The list of health_checks_vantage_points.
- Id string
- The provider-assigned unique ID for this managed resource.
- Display
Name string - The display name for the vantage point. Display names are determined by the best information available and may change over time.
- Filters
[]Get
Vantage Points Filter - Name string
- The unique, permanent name for the vantage point.
- health
Checks List<GetVantage Points Vantage Points Vantage Point> - The list of health_checks_vantage_points.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name String - The display name for the vantage point. Display names are determined by the best information available and may change over time.
- filters
List<Get
Vantage Points Filter> - name String
- The unique, permanent name for the vantage point.
- health
Checks GetVantage Points Vantage Points Health Checks Vantage Point[] - The list of health_checks_vantage_points.
- id string
- The provider-assigned unique ID for this managed resource.
- display
Name string - The display name for the vantage point. Display names are determined by the best information available and may change over time.
- filters
Get
Vantage Points Filter[] - name string
- The unique, permanent name for the vantage point.
- health_
checks_ Sequence[healthchecks.vantage_ points Get Vantage Points Health Checks Vantage Point] - 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.
Get Vantage Points Filter] - name str
- The unique, permanent name for the vantage point.
- health
Checks List<Property Map>Vantage Points - The list of health_checks_vantage_points.
- id String
- The provider-assigned unique ID for this managed resource.
- display
Name 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
GetVantagePointsHealthChecksVantagePoint
- Display
Name string - Filters results that exactly match the
displayName
field. - Geos
List<Get
Vantage Points Health Checks Vantage Point Geo> - Geographic information about a vantage point.
- Name string
- Filters results that exactly match the
name
field. - Provider
Name 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<Get
Vantage Points Health Checks Vantage Point Routing> - 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 string - Filters results that exactly match the
displayName
field. - Geos
[]Get
Vantage Points Health Checks Vantage Point Geo - Geographic information about a vantage point.
- Name string
- Filters results that exactly match the
name
field. - Provider
Name 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
[]Get
Vantage Points Health Checks Vantage Point Routing - 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 String - Filters results that exactly match the
displayName
field. - geos
List<Get
Vantage Points Vantage Point Geo> - Geographic information about a vantage point.
- name String
- Filters results that exactly match the
name
field. - provider
Name 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<Get
Vantage Points Vantage Point Routing> - 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 string - Filters results that exactly match the
displayName
field. - geos
Get
Vantage Points Health Checks Vantage Point Geo[] - Geographic information about a vantage point.
- name string
- Filters results that exactly match the
name
field. - provider
Name 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
Get
Vantage Points Health Checks Vantage Point Routing[] - 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.
Get Vantage Points Health Checks Vantage Point Geo] - 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.
Get Vantage Points Health Checks Vantage Point Routing] - 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 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. - provider
Name 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
- Admin
Div stringCode - 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 string - Common English-language name for the city.
- Country
Code string - The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
- Country
Name string - The common English-language name for the country.
- Geo
Key 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.
- Admin
Div stringCode - 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 string - Common English-language name for the city.
- Country
Code string - The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
- Country
Name string - The common English-language name for the country.
- Geo
Key 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.
- admin
Div StringCode - 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 String - Common English-language name for the city.
- country
Code String - The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
- country
Name String - The common English-language name for the country.
- geo
Key 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.
- admin
Div stringCode - 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 string - Common English-language name for the city.
- country
Code string - The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
- country
Name string - The common English-language name for the country.
- geo
Key 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_ strcode - 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.
- admin
Div StringCode - 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 String - Common English-language name for the city.
- country
Code String - The ISO 3166-1 alpha-2 country code. For a list of codes, see Country Codes.
- country
Name String - The common English-language name for the country.
- geo
Key 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
- As
Label 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 whichaddress
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 caseweight
will be 100.
- As
Label 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 whichaddress
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 caseweight
will be 100.
- as
Label 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 whichaddress
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 caseweight
will be 100.
- as
Label 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 whichaddress
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 caseweight
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 whichaddress
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 caseweight
will be 100.
- as
Label 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 whichaddress
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 caseweight
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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi