Oracle Cloud Infrastructure

v0.5.0 published on Monday, Sep 12, 2022 by Pulumi

getDedicatedVantagePoint

This data source provides details about a specific Dedicated Vantage Point resource in Oracle Cloud Infrastructure Apm Synthetics service.

Gets the details of the dedicated vantage point identified by the OCID.

Example Usage

using System.Collections.Generic;
using Pulumi;
using Oci = Pulumi.Oci;

return await Deployment.RunAsync(() => 
{
    var testDedicatedVantagePoint = Oci.ApmSynthetics.GetDedicatedVantagePoint.Invoke(new()
    {
        ApmDomainId = oci_apm_apm_domain.Test_apm_domain.Id,
        DedicatedVantagePointId = oci_apm_synthetics_dedicated_vantage_point.Test_dedicated_vantage_point.Id,
    });

});
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.GetDedicatedVantagePoint(ctx, &apmsynthetics.GetDedicatedVantagePointArgs{
			ApmDomainId:             oci_apm_apm_domain.Test_apm_domain.Id,
			DedicatedVantagePointId: oci_apm_synthetics_dedicated_vantage_point.Test_dedicated_vantage_point.Id,
		}, 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.GetDedicatedVantagePointArgs;
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 testDedicatedVantagePoint = ApmSyntheticsFunctions.getDedicatedVantagePoint(GetDedicatedVantagePointArgs.builder()
            .apmDomainId(oci_apm_apm_domain.test_apm_domain().id())
            .dedicatedVantagePointId(oci_apm_synthetics_dedicated_vantage_point.test_dedicated_vantage_point().id())
            .build());

    }
}
import pulumi
import pulumi_oci as oci

test_dedicated_vantage_point = oci.ApmSynthetics.get_dedicated_vantage_point(apm_domain_id=oci_apm_apm_domain["test_apm_domain"]["id"],
    dedicated_vantage_point_id=oci_apm_synthetics_dedicated_vantage_point["test_dedicated_vantage_point"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testDedicatedVantagePoint = oci.ApmSynthetics.getDedicatedVantagePoint({
    apmDomainId: oci_apm_apm_domain.test_apm_domain.id,
    dedicatedVantagePointId: oci_apm_synthetics_dedicated_vantage_point.test_dedicated_vantage_point.id,
});
variables:
  testDedicatedVantagePoint:
    Fn::Invoke:
      Function: oci:ApmSynthetics:getDedicatedVantagePoint
      Arguments:
        apmDomainId: ${oci_apm_apm_domain.test_apm_domain.id}
        dedicatedVantagePointId: ${oci_apm_synthetics_dedicated_vantage_point.test_dedicated_vantage_point.id}

Using getDedicatedVantagePoint

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 getDedicatedVantagePoint(args: GetDedicatedVantagePointArgs, opts?: InvokeOptions): Promise<GetDedicatedVantagePointResult>
function getDedicatedVantagePointOutput(args: GetDedicatedVantagePointOutputArgs, opts?: InvokeOptions): Output<GetDedicatedVantagePointResult>
def get_dedicated_vantage_point(apm_domain_id: Optional[str] = None,
                                dedicated_vantage_point_id: Optional[str] = None,
                                opts: Optional[InvokeOptions] = None) -> GetDedicatedVantagePointResult
def get_dedicated_vantage_point_output(apm_domain_id: Optional[pulumi.Input[str]] = None,
                                dedicated_vantage_point_id: Optional[pulumi.Input[str]] = None,
                                opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedVantagePointResult]
func GetDedicatedVantagePoint(ctx *Context, args *GetDedicatedVantagePointArgs, opts ...InvokeOption) (*GetDedicatedVantagePointResult, error)
func GetDedicatedVantagePointOutput(ctx *Context, args *GetDedicatedVantagePointOutputArgs, opts ...InvokeOption) GetDedicatedVantagePointResultOutput

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

public static class GetDedicatedVantagePoint 
{
    public static Task<GetDedicatedVantagePointResult> InvokeAsync(GetDedicatedVantagePointArgs args, InvokeOptions? opts = null)
    public static Output<GetDedicatedVantagePointResult> Invoke(GetDedicatedVantagePointInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetDedicatedVantagePointResult> getDedicatedVantagePoint(GetDedicatedVantagePointArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:ApmSynthetics/getDedicatedVantagePoint:getDedicatedVantagePoint
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ApmDomainId string

The APM domain ID the request is intended for.

DedicatedVantagePointId string

The OCID of the dedicated vantage point.

ApmDomainId string

The APM domain ID the request is intended for.

DedicatedVantagePointId string

The OCID of the dedicated vantage point.

apmDomainId String

The APM domain ID the request is intended for.

dedicatedVantagePointId String

The OCID of the dedicated vantage point.

apmDomainId string

The APM domain ID the request is intended for.

dedicatedVantagePointId string

The OCID of the dedicated vantage point.

apm_domain_id str

The APM domain ID the request is intended for.

dedicated_vantage_point_id str

The OCID of the dedicated vantage point.

apmDomainId String

The APM domain ID the request is intended for.

dedicatedVantagePointId String

The OCID of the dedicated vantage point.

getDedicatedVantagePoint Result

The following output properties are available:

ApmDomainId string
DedicatedVantagePointId string
DefinedTags Dictionary<string, object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.

DvpStackDetails List<GetDedicatedVantagePointDvpStackDetail>

Details of a Dedicated Vantage Point (DVP) stack in Resource Manager.

FreeformTags Dictionary<string, object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The OCID of the dedicated vantage point.

MonitorStatusCountMaps List<GetDedicatedVantagePointMonitorStatusCountMap>

Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }

Name string

Unique permanent name of the dedicated vantage point. This is the same as the displayName.

Region string

Name of the region.

Status string

Status of the dedicated vantage point.

TimeCreated string

The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z

TimeUpdated string

The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z

ApmDomainId string
DedicatedVantagePointId string
DefinedTags map[string]interface{}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

DisplayName string

Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.

DvpStackDetails []GetDedicatedVantagePointDvpStackDetail

Details of a Dedicated Vantage Point (DVP) stack in Resource Manager.

FreeformTags map[string]interface{}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

Id string

The OCID of the dedicated vantage point.

MonitorStatusCountMaps []GetDedicatedVantagePointMonitorStatusCountMap

Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }

Name string

Unique permanent name of the dedicated vantage point. This is the same as the displayName.

Region string

Name of the region.

Status string

Status of the dedicated vantage point.

TimeCreated string

The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z

TimeUpdated string

The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z

apmDomainId String
dedicatedVantagePointId String
definedTags Map<String,Object>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.

dvpStackDetails List<GetDedicatedVantagePointDvpStackDetail>

Details of a Dedicated Vantage Point (DVP) stack in Resource Manager.

freeformTags Map<String,Object>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The OCID of the dedicated vantage point.

monitorStatusCountMaps List<GetDedicatedVantagePointMonitorStatusCountMap>

Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }

name String

Unique permanent name of the dedicated vantage point. This is the same as the displayName.

region String

Name of the region.

status String

Status of the dedicated vantage point.

timeCreated String

The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z

timeUpdated String

The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z

apmDomainId string
dedicatedVantagePointId string
definedTags {[key: string]: any}

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName string

Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.

dvpStackDetails GetDedicatedVantagePointDvpStackDetail[]

Details of a Dedicated Vantage Point (DVP) stack in Resource Manager.

freeformTags {[key: string]: any}

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id string

The OCID of the dedicated vantage point.

monitorStatusCountMaps GetDedicatedVantagePointMonitorStatusCountMap[]

Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }

name string

Unique permanent name of the dedicated vantage point. This is the same as the displayName.

region string

Name of the region.

status string

Status of the dedicated vantage point.

timeCreated string

The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z

timeUpdated string

The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z

apm_domain_id str
dedicated_vantage_point_id str
defined_tags Mapping[str, Any]

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

display_name str

Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.

dvp_stack_details GetDedicatedVantagePointDvpStackDetail]

Details of a Dedicated Vantage Point (DVP) stack in Resource Manager.

freeform_tags Mapping[str, Any]

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id str

The OCID of the dedicated vantage point.

monitor_status_count_maps GetDedicatedVantagePointMonitorStatusCountMap]

Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }

name str

Unique permanent name of the dedicated vantage point. This is the same as the displayName.

region str

Name of the region.

status str

Status of the dedicated vantage point.

time_created str

The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z

time_updated str

The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z

apmDomainId String
dedicatedVantagePointId String
definedTags Map<Any>

Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace.bar-key": "value"}

displayName String

Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.

dvpStackDetails List<Property Map>

Details of a Dedicated Vantage Point (DVP) stack in Resource Manager.

freeformTags Map<Any>

Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

id String

The OCID of the dedicated vantage point.

monitorStatusCountMaps List<Property Map>

Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }

name String

Unique permanent name of the dedicated vantage point. This is the same as the displayName.

region String

Name of the region.

status String

Status of the dedicated vantage point.

timeCreated String

The time the resource was created, expressed in RFC 3339 timestamp format. Example: 2020-02-12T22:47:12.613Z

timeUpdated String

The time the resource was updated, expressed in RFC 3339 timestamp format. Example: 2020-02-13T22:47:12.613Z

Supporting Types

GetDedicatedVantagePointDvpStackDetail

DvpStackId string

Stack OCID of the Resource Manager stack for dedicated vantage point.

DvpStackType string

Type of stack.

DvpStreamId string

Stream OCID of the Resource Manager stack for dedicated vantage point.

DvpVersion string

Version of the dedicated vantage point.

DvpStackId string

Stack OCID of the Resource Manager stack for dedicated vantage point.

DvpStackType string

Type of stack.

DvpStreamId string

Stream OCID of the Resource Manager stack for dedicated vantage point.

DvpVersion string

Version of the dedicated vantage point.

dvpStackId String

Stack OCID of the Resource Manager stack for dedicated vantage point.

dvpStackType String

Type of stack.

dvpStreamId String

Stream OCID of the Resource Manager stack for dedicated vantage point.

dvpVersion String

Version of the dedicated vantage point.

dvpStackId string

Stack OCID of the Resource Manager stack for dedicated vantage point.

dvpStackType string

Type of stack.

dvpStreamId string

Stream OCID of the Resource Manager stack for dedicated vantage point.

dvpVersion string

Version of the dedicated vantage point.

dvp_stack_id str

Stack OCID of the Resource Manager stack for dedicated vantage point.

dvp_stack_type str

Type of stack.

dvp_stream_id str

Stream OCID of the Resource Manager stack for dedicated vantage point.

dvp_version str

Version of the dedicated vantage point.

dvpStackId String

Stack OCID of the Resource Manager stack for dedicated vantage point.

dvpStackType String

Type of stack.

dvpStreamId String

Stream OCID of the Resource Manager stack for dedicated vantage point.

dvpVersion String

Version of the dedicated vantage point.

GetDedicatedVantagePointMonitorStatusCountMap

Disabled int

Number of disabled monitors using the script.

Enabled int

Number of enabled monitors using the script.

Invalid int

Number of invalid monitors using the script.

Total int

Total number of monitors using the script.

Disabled int

Number of disabled monitors using the script.

Enabled int

Number of enabled monitors using the script.

Invalid int

Number of invalid monitors using the script.

Total int

Total number of monitors using the script.

disabled Integer

Number of disabled monitors using the script.

enabled Integer

Number of enabled monitors using the script.

invalid Integer

Number of invalid monitors using the script.

total Integer

Total number of monitors using the script.

disabled number

Number of disabled monitors using the script.

enabled number

Number of enabled monitors using the script.

invalid number

Number of invalid monitors using the script.

total number

Total number of monitors using the script.

disabled int

Number of disabled monitors using the script.

enabled int

Number of enabled monitors using the script.

invalid int

Number of invalid monitors using the script.

total int

Total number of monitors using the script.

disabled Number

Number of disabled monitors using the script.

enabled Number

Number of enabled monitors using the script.

invalid Number

Number of invalid monitors using the script.

total Number

Total number of monitors using the script.

Package Details

Repository
https://github.com/pulumi/pulumi-oci
License
Apache-2.0
Notes

This Pulumi package is based on the oci Terraform Provider.