Oracle Cloud Infrastructure v2.11.0 published on Thursday, Sep 19, 2024 by Pulumi
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testPublicVantagePoint = oci.ApmSynthetics.getVantagePoint({
apmDomainId: testApmDomain.id,
displayName: publicVantagePointDisplayName,
name: publicVantagePointName,
});
import pulumi
import pulumi_oci as oci
test_public_vantage_point = oci.ApmSynthetics.get_vantage_point(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/v2/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: 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 testPublicVantagePoint = Oci.ApmSynthetics.GetVantagePoint.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.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(testApmDomain.id())
.displayName(publicVantagePointDisplayName)
.name(publicVantagePointName)
.build());
}
}
variables:
testPublicVantagePoint:
fn::invoke:
Function: oci:ApmSynthetics:getVantagePoint
Arguments:
apmDomainId: ${testApmDomain.id}
displayName: ${publicVantagePointDisplayName}
name: ${publicVantagePointName}
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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- name String
- A filter to return only the resources that match the entire name.
getVantagePoint Result
The following output properties are available:
- Apm
Domain stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Get
Vantage Point Item> - List of PublicVantagePointSummary items.
- Display
Name 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 stringId - Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Vantage Point Item - List of PublicVantagePointSummary items.
- Display
Name 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 StringId - id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Vantage Point Item> - List of PublicVantagePointSummary items.
- display
Name 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 stringId - id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Vantage Point Item[] - List of PublicVantagePointSummary items.
- display
Name 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_ strid - id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[apmsynthetics.
Get Vantage Point Item] - 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.
- apm
Domain StringId - id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- List of PublicVantagePointSummary items.
- display
Name 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
- Display
Name string - A filter to return only the resources that match the entire display name.
- Geos
List<Get
Vantage Point 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 Point 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 Point 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 Point 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 Point 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.
GetVantagePointItemGeo
- 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.