Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi
oci.ApmSynthetics.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 Public Vantage Points in Oracle Cloud Infrastructure 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 testPublicVantagePoints = oci.ApmSynthetics.getVantagePoints({
apmDomainId: testApmDomain.id,
displayName: publicVantagePointDisplayName,
name: publicVantagePointName,
});
import pulumi
import pulumi_oci as oci
test_public_vantage_points = oci.ApmSynthetics.get_vantage_points(apm_domain_id=test_apm_domain["id"],
display_name=public_vantage_point_display_name,
name=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: testApmDomain.Id,
DisplayName: pulumi.StringRef(publicVantagePointDisplayName),
Name: pulumi.StringRef(publicVantagePointName),
}, 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 testPublicVantagePoints = Oci.ApmSynthetics.GetVantagePoints.Invoke(new()
{
ApmDomainId = testApmDomain.Id,
DisplayName = publicVantagePointDisplayName,
Name = publicVantagePointName,
});
});
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(testApmDomain.id())
.displayName(publicVantagePointDisplayName)
.name(publicVantagePointName)
.build());
}
}
variables:
testPublicVantagePoints:
fn::invoke:
Function: oci:ApmSynthetics:getVantagePoints
Arguments:
apmDomainId: ${testApmDomain.id}
displayName: ${publicVantagePointDisplayName}
name: ${publicVantagePointName}
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:
- Apm
Domain stringId - The APM domain ID the request is intended for.
- Display
Name string - A filter to return only the resources that match the entire display name.
- Filters
List<Get
Vantage Points Filter> - Name string
- A filter to return only the resources that match the entire name.
- Apm
Domain stringId - The APM domain ID the request is intended for.
- Display
Name string - A filter to return only the resources that match the entire display name.
- Filters
[]Get
Vantage Points Filter - Name string
- A filter to return only the resources that match the entire name.
- apm
Domain StringId - The APM domain ID the request is intended for.
- display
Name String - A filter to return only the resources that match the entire display name.
- filters
List<Get
Vantage Points Filter> - name String
- A filter to return only the resources that match the entire name.
- apm
Domain stringId - The APM domain ID the request is intended for.
- display
Name string - A filter to return only the resources that match the entire display name.
- filters
Get
Vantage Points Filter[] - name string
- A filter to return only the resources that match the entire name.
- apm_
domain_ strid - 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
Sequence[apmsynthetics.
Get Vantage Points Filter] - name str
- A filter to return only the resources that match the entire name.
- apm
Domain StringId - The APM domain ID the request is intended for.
- display
Name 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:
- Apm
Domain stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Public
Vantage List<GetPoint Collections Vantage Points Public Vantage Point Collection> - The list of public_vantage_point_collection.
- Display
Name string - Unique name that can be edited. The name should not contain any confidential information.
- Filters
List<Get
Vantage Points Filter> - Name string
- Unique permanent name of the vantage point.
- Apm
Domain stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Public
Vantage []GetPoint Collections Vantage Points Public Vantage Point Collection - The list of public_vantage_point_collection.
- Display
Name string - Unique name that can be edited. The name should not contain any confidential information.
- Filters
[]Get
Vantage Points Filter - Name string
- Unique permanent name of the vantage point.
- apm
Domain StringId - id String
- The provider-assigned unique ID for this managed resource.
- public
Vantage List<GetPoint Collections Vantage Points Public Vantage Point Collection> - The list of public_vantage_point_collection.
- display
Name String - Unique name that can be edited. The name should not contain any confidential information.
- filters
List<Get
Vantage Points Filter> - name String
- Unique permanent name of the vantage point.
- apm
Domain stringId - id string
- The provider-assigned unique ID for this managed resource.
- public
Vantage GetPoint Collections Vantage Points Public Vantage Point Collection[] - The list of public_vantage_point_collection.
- display
Name string - Unique name that can be edited. The name should not contain any confidential information.
- filters
Get
Vantage Points Filter[] - name string
- Unique permanent name of the vantage point.
- apm_
domain_ strid - id str
- The provider-assigned unique ID for this managed resource.
- public_
vantage_ Sequence[apmsynthetics.point_ collections Get Vantage Points Public Vantage Point Collection] - 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
Sequence[apmsynthetics.
Get Vantage Points Filter] - name str
- Unique permanent name of the vantage point.
- apm
Domain StringId - id String
- The provider-assigned unique ID for this managed resource.
- public
Vantage List<Property Map>Point Collections - The list of public_vantage_point_collection.
- display
Name 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
GetVantagePointsPublicVantagePointCollection
- Items
List<Get
Vantage Points Public Vantage Point Collection Item> - List of PublicVantagePointSummary items.
- Items
[]Get
Vantage Points Public Vantage Point Collection Item - List of PublicVantagePointSummary items.
- items
List<Get
Vantage Points Public Vantage Point Collection Item> - List of PublicVantagePointSummary items.
- items
Get
Vantage Points Public Vantage Point Collection Item[] - List of PublicVantagePointSummary items.
- items
Sequence[apmsynthetics.
Get Vantage Points Public Vantage Point Collection Item] - List of PublicVantagePointSummary items.
- items List<Property Map>
- List of PublicVantagePointSummary items.
GetVantagePointsPublicVantagePointCollectionItem
- Display
Name string - A filter to return only the resources that match the entire display name.
- Geos
List<Get
Vantage Points Public Vantage Point Collection Item Geo> - Geographic summary of a vantage point.
- Name string
- A filter to return only the resources that match the entire name.
- Display
Name string - A filter to return only the resources that match the entire display name.
- Geos
[]Get
Vantage Points Public Vantage Point Collection Item Geo - Geographic summary of a vantage point.
- Name string
- A filter to return only the resources that match the entire name.
- display
Name String - A filter to return only the resources that match the entire display name.
- geos
List<Get
Vantage Points Public Vantage Point Collection Item Geo> - Geographic summary of a vantage point.
- name String
- A filter to return only the resources that match the entire name.
- display
Name string - A filter to return only the resources that match the entire display name.
- geos
Get
Vantage Points Public Vantage Point Collection Item Geo[] - 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
Sequence[apmsynthetics.
Get Vantage Points Public Vantage Point Collection Item Geo] - Geographic summary of a vantage point.
- name str
- A filter to return only the resources that match the entire name.
- display
Name 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
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
Oracle Cloud Infrastructure v1.41.0 published on Wednesday, Jun 19, 2024 by Pulumi