1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ApmSynthetics
  5. getDedicatedVantagePoints
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

oci.ApmSynthetics.getDedicatedVantagePoints

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi

    This data source provides the list of Dedicated Vantage Points in Oracle Cloud Infrastructure Apm Synthetics service.

    Returns a list of dedicated vantage points.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testDedicatedVantagePoints = oci.ApmSynthetics.getDedicatedVantagePoints({
        apmDomainId: oci_apm_apm_domain.test_apm_domain.id,
        displayName: _var.dedicated_vantage_point_display_name,
        name: _var.dedicated_vantage_point_name,
        status: _var.dedicated_vantage_point_status,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_dedicated_vantage_points = oci.ApmSynthetics.get_dedicated_vantage_points(apm_domain_id=oci_apm_apm_domain["test_apm_domain"]["id"],
        display_name=var["dedicated_vantage_point_display_name"],
        name=var["dedicated_vantage_point_name"],
        status=var["dedicated_vantage_point_status"])
    
    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.GetDedicatedVantagePoints(ctx, &apmsynthetics.GetDedicatedVantagePointsArgs{
    			ApmDomainId: oci_apm_apm_domain.Test_apm_domain.Id,
    			DisplayName: pulumi.StringRef(_var.Dedicated_vantage_point_display_name),
    			Name:        pulumi.StringRef(_var.Dedicated_vantage_point_name),
    			Status:      pulumi.StringRef(_var.Dedicated_vantage_point_status),
    		}, 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 testDedicatedVantagePoints = Oci.ApmSynthetics.GetDedicatedVantagePoints.Invoke(new()
        {
            ApmDomainId = oci_apm_apm_domain.Test_apm_domain.Id,
            DisplayName = @var.Dedicated_vantage_point_display_name,
            Name = @var.Dedicated_vantage_point_name,
            Status = @var.Dedicated_vantage_point_status,
        });
    
    });
    
    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.GetDedicatedVantagePointsArgs;
    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 testDedicatedVantagePoints = ApmSyntheticsFunctions.getDedicatedVantagePoints(GetDedicatedVantagePointsArgs.builder()
                .apmDomainId(oci_apm_apm_domain.test_apm_domain().id())
                .displayName(var_.dedicated_vantage_point_display_name())
                .name(var_.dedicated_vantage_point_name())
                .status(var_.dedicated_vantage_point_status())
                .build());
    
        }
    }
    
    variables:
      testDedicatedVantagePoints:
        fn::invoke:
          Function: oci:ApmSynthetics:getDedicatedVantagePoints
          Arguments:
            apmDomainId: ${oci_apm_apm_domain.test_apm_domain.id}
            displayName: ${var.dedicated_vantage_point_display_name}
            name: ${var.dedicated_vantage_point_name}
            status: ${var.dedicated_vantage_point_status}
    

    Using getDedicatedVantagePoints

    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 getDedicatedVantagePoints(args: GetDedicatedVantagePointsArgs, opts?: InvokeOptions): Promise<GetDedicatedVantagePointsResult>
    function getDedicatedVantagePointsOutput(args: GetDedicatedVantagePointsOutputArgs, opts?: InvokeOptions): Output<GetDedicatedVantagePointsResult>
    def get_dedicated_vantage_points(apm_domain_id: Optional[str] = None,
                                     display_name: Optional[str] = None,
                                     filters: Optional[Sequence[_apmsynthetics.GetDedicatedVantagePointsFilter]] = None,
                                     name: Optional[str] = None,
                                     status: Optional[str] = None,
                                     opts: Optional[InvokeOptions] = None) -> GetDedicatedVantagePointsResult
    def get_dedicated_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.GetDedicatedVantagePointsFilterArgs]]]] = None,
                                     name: Optional[pulumi.Input[str]] = None,
                                     status: Optional[pulumi.Input[str]] = None,
                                     opts: Optional[InvokeOptions] = None) -> Output[GetDedicatedVantagePointsResult]
    func GetDedicatedVantagePoints(ctx *Context, args *GetDedicatedVantagePointsArgs, opts ...InvokeOption) (*GetDedicatedVantagePointsResult, error)
    func GetDedicatedVantagePointsOutput(ctx *Context, args *GetDedicatedVantagePointsOutputArgs, opts ...InvokeOption) GetDedicatedVantagePointsResultOutput

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

    public static class GetDedicatedVantagePoints 
    {
        public static Task<GetDedicatedVantagePointsResult> InvokeAsync(GetDedicatedVantagePointsArgs args, InvokeOptions? opts = null)
        public static Output<GetDedicatedVantagePointsResult> Invoke(GetDedicatedVantagePointsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDedicatedVantagePointsResult> getDedicatedVantagePoints(GetDedicatedVantagePointsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: oci:ApmSynthetics/getDedicatedVantagePoints:getDedicatedVantagePoints
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApmDomainId string
    The APM domain ID the request is intended for.
    DisplayName string
    A filter to return only the resources that match the entire display name.
    Filters List<GetDedicatedVantagePointsFilter>
    Name string
    A filter to return only the resources that match the entire name.
    Status string
    A filter to return only the dedicated vantage points that match a given status.
    ApmDomainId string
    The APM domain ID the request is intended for.
    DisplayName string
    A filter to return only the resources that match the entire display name.
    Filters []GetDedicatedVantagePointsFilter
    Name string
    A filter to return only the resources that match the entire name.
    Status string
    A filter to return only the dedicated vantage points that match a given status.
    apmDomainId String
    The APM domain ID the request is intended for.
    displayName String
    A filter to return only the resources that match the entire display name.
    filters List<GetDedicatedVantagePointsFilter>
    name String
    A filter to return only the resources that match the entire name.
    status String
    A filter to return only the dedicated vantage points that match a given status.
    apmDomainId string
    The APM domain ID the request is intended for.
    displayName string
    A filter to return only the resources that match the entire display name.
    filters GetDedicatedVantagePointsFilter[]
    name string
    A filter to return only the resources that match the entire name.
    status string
    A filter to return only the dedicated vantage points that match a given status.
    apm_domain_id str
    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.GetDedicatedVantagePointsFilter]
    name str
    A filter to return only the resources that match the entire name.
    status str
    A filter to return only the dedicated vantage points that match a given status.
    apmDomainId String
    The APM domain ID the request is intended for.
    displayName 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.
    status String
    A filter to return only the dedicated vantage points that match a given status.

    getDedicatedVantagePoints Result

    The following output properties are available:

    ApmDomainId string
    DedicatedVantagePointCollections List<GetDedicatedVantagePointsDedicatedVantagePointCollection>
    The list of dedicated_vantage_point_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.
    Filters List<GetDedicatedVantagePointsFilter>
    Name string
    Unique permanent name of the dedicated vantage point. This is the same as the displayName.
    Status string
    Status of the dedicated vantage point.
    ApmDomainId string
    DedicatedVantagePointCollections []GetDedicatedVantagePointsDedicatedVantagePointCollection
    The list of dedicated_vantage_point_collection.
    Id string
    The provider-assigned unique ID for this managed resource.
    DisplayName string
    Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.
    Filters []GetDedicatedVantagePointsFilter
    Name string
    Unique permanent name of the dedicated vantage point. This is the same as the displayName.
    Status string
    Status of the dedicated vantage point.
    apmDomainId String
    dedicatedVantagePointCollections List<GetDedicatedVantagePointsDedicatedVantagePointCollection>
    The list of dedicated_vantage_point_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.
    filters List<GetDedicatedVantagePointsFilter>
    name String
    Unique permanent name of the dedicated vantage point. This is the same as the displayName.
    status String
    Status of the dedicated vantage point.
    apmDomainId string
    dedicatedVantagePointCollections GetDedicatedVantagePointsDedicatedVantagePointCollection[]
    The list of dedicated_vantage_point_collection.
    id string
    The provider-assigned unique ID for this managed resource.
    displayName string
    Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.
    filters GetDedicatedVantagePointsFilter[]
    name string
    Unique permanent name of the dedicated vantage point. This is the same as the displayName.
    status string
    Status of the dedicated vantage point.
    apm_domain_id str
    dedicated_vantage_point_collections Sequence[apmsynthetics.GetDedicatedVantagePointsDedicatedVantagePointCollection]
    The list of dedicated_vantage_point_collection.
    id str
    The provider-assigned unique ID for this managed resource.
    display_name str
    Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.
    filters Sequence[apmsynthetics.GetDedicatedVantagePointsFilter]
    name str
    Unique permanent name of the dedicated vantage point. This is the same as the displayName.
    status str
    Status of the dedicated vantage point.
    apmDomainId String
    dedicatedVantagePointCollections List<Property Map>
    The list of dedicated_vantage_point_collection.
    id String
    The provider-assigned unique ID for this managed resource.
    displayName String
    Unique dedicated vantage point name that cannot be edited. The name should not contain any confidential information.
    filters List<Property Map>
    name String
    Unique permanent name of the dedicated vantage point. This is the same as the displayName.
    status String
    Status of the dedicated vantage point.

    Supporting Types

    GetDedicatedVantagePointsDedicatedVantagePointCollection

    GetDedicatedVantagePointsDedicatedVantagePointCollectionItem

    ApmDomainId string
    The APM domain ID the request is intended for.
    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
    A filter to return only the resources that match the entire display name.
    DvpStackDetails List<GetDedicatedVantagePointsDedicatedVantagePointCollectionItemDvpStackDetail>
    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<GetDedicatedVantagePointsDedicatedVantagePointCollectionItemMonitorStatusCountMap>
    Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }
    Name string
    A filter to return only the resources that match the entire name.
    Region string
    Name of the region.
    Status string
    A filter to return only the dedicated vantage points that match a given status.
    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
    The APM domain ID the request is intended for.
    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
    A filter to return only the resources that match the entire display name.
    DvpStackDetails []GetDedicatedVantagePointsDedicatedVantagePointCollectionItemDvpStackDetail
    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 []GetDedicatedVantagePointsDedicatedVantagePointCollectionItemMonitorStatusCountMap
    Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }
    Name string
    A filter to return only the resources that match the entire name.
    Region string
    Name of the region.
    Status string
    A filter to return only the dedicated vantage points that match a given status.
    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
    The APM domain ID the request is intended for.
    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
    A filter to return only the resources that match the entire display name.
    dvpStackDetails List<GetDedicatedVantagePointsDedicatedVantagePointCollectionItemDvpStackDetail>
    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<GetDedicatedVantagePointsDedicatedVantagePointCollectionItemMonitorStatusCountMap>
    Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }
    name String
    A filter to return only the resources that match the entire name.
    region String
    Name of the region.
    status String
    A filter to return only the dedicated vantage points that match a given status.
    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
    The APM domain ID the request is intended for.
    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
    A filter to return only the resources that match the entire display name.
    dvpStackDetails GetDedicatedVantagePointsDedicatedVantagePointCollectionItemDvpStackDetail[]
    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 GetDedicatedVantagePointsDedicatedVantagePointCollectionItemMonitorStatusCountMap[]
    Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }
    name string
    A filter to return only the resources that match the entire name.
    region string
    Name of the region.
    status string
    A filter to return only the dedicated vantage points that match a given status.
    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
    The APM domain ID the request is intended for.
    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
    A filter to return only the resources that match the entire display name.
    dvp_stack_details Sequence[apmsynthetics.GetDedicatedVantagePointsDedicatedVantagePointCollectionItemDvpStackDetail]
    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 Sequence[apmsynthetics.GetDedicatedVantagePointsDedicatedVantagePointCollectionItemMonitorStatusCountMap]
    Details of the monitor count per state. Example: { "total" : 5, "enabled" : 3 , "disabled" : 2, "invalid" : 0 }
    name str
    A filter to return only the resources that match the entire name.
    region str
    Name of the region.
    status str
    A filter to return only the dedicated vantage points that match a given status.
    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
    The APM domain ID the request is intended for.
    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
    A filter to return only the resources that match the entire display name.
    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
    A filter to return only the resources that match the entire name.
    region String
    Name of the region.
    status String
    A filter to return only the dedicated vantage points that match a given status.
    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

    GetDedicatedVantagePointsDedicatedVantagePointCollectionItemDvpStackDetail

    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.

    GetDedicatedVantagePointsDedicatedVantagePointCollectionItemMonitorStatusCountMap

    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.

    GetDedicatedVantagePointsFilter

    Name string
    A filter to return only the resources that match the entire name.
    Values List<string>
    Regex bool
    Name string
    A filter to return only the resources that match the entire name.
    Values []string
    Regex bool
    name String
    A filter to return only the resources that match the entire name.
    values List<String>
    regex Boolean
    name string
    A filter to return only the resources that match the entire name.
    values string[]
    regex boolean
    name str
    A filter to return only the resources that match the entire name.
    values Sequence[str]
    regex bool
    name String
    A filter to return only the resources that match the entire name.
    values List<String>
    regex Boolean

    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 v1.32.0 published on Thursday, Apr 18, 2024 by Pulumi