Oracle Cloud Infrastructure

Pulumi Official
Package maintained by Pulumi
v0.1.1 published on Tuesday, May 3, 2022 by Pulumi

getApmDomain

This data source provides details about a specific Apm Domain resource in Oracle Cloud Infrastructure Apm service.

Gets the details of the APM domain specified by OCID.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testApmDomain = Output.Create(Oci.Apm.GetApmDomain.InvokeAsync(new Oci.Apm.GetApmDomainArgs
        {
            ApmDomainId = oci_apm_apm_domain.Test_apm_domain.Id,
        }));
    }

}
package main

import (
	"github.com/pulumi/pulumi-oci/sdk/go/oci/Apm"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := Apm.GetApmDomain(ctx, &apm.GetApmDomainArgs{
			ApmDomainId: oci_apm_apm_domain.Test_apm_domain.Id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_apm_domain = oci.Apm.get_apm_domain(apm_domain_id=oci_apm_apm_domain["test_apm_domain"]["id"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testApmDomain = oci.Apm.getApmDomain({
    apmDomainId: oci_apm_apm_domain.test_apm_domain.id,
});

Coming soon!

Using getApmDomain

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 getApmDomain(args: GetApmDomainArgs, opts?: InvokeOptions): Promise<GetApmDomainResult>
function getApmDomainOutput(args: GetApmDomainOutputArgs, opts?: InvokeOptions): Output<GetApmDomainResult>
def get_apm_domain(apm_domain_id: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetApmDomainResult
def get_apm_domain_output(apm_domain_id: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetApmDomainResult]
func GetApmDomain(ctx *Context, args *GetApmDomainArgs, opts ...InvokeOption) (*GetApmDomainResult, error)
func GetApmDomainOutput(ctx *Context, args *GetApmDomainOutputArgs, opts ...InvokeOption) GetApmDomainResultOutput

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

public static class GetApmDomain 
{
    public static Task<GetApmDomainResult> InvokeAsync(GetApmDomainArgs args, InvokeOptions? opts = null)
    public static Output<GetApmDomainResult> Invoke(GetApmDomainInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetApmDomainResult> getApmDomain(GetApmDomainArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
  Function: oci:Apm/getApmDomain:getApmDomain
  Arguments:
    # Arguments dictionary

The following arguments are supported:

ApmDomainId string

The OCID of the APM domain

ApmDomainId string

The OCID of the APM domain

apmDomainId String

The OCID of the APM domain

apmDomainId string

The OCID of the APM domain

apm_domain_id str

The OCID of the APM domain

apmDomainId String

The OCID of the APM domain

getApmDomain Result

The following output properties are available:

ApmDomainId string
CompartmentId string

The OCID of the compartment corresponding to the APM domain.

DataUploadEndpoint string

The endpoint where the APM agents upload their observations and metrics.

DefinedTags Dictionary<string, object>

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

Description string

Description of the APM domain.

DisplayName string

Display name of the APM domain, which can be updated.

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

Unique identifier that is immutable on creation.

IsFreeTier bool

Indicates if this is an Always Free resource.

State string

The current lifecycle state of the APM domain.

TimeCreated string

The time the APM domain was created, expressed in RFC 3339 timestamp format.

TimeUpdated string

The time the APM domain was updated, expressed in RFC 3339 timestamp format.

ApmDomainId string
CompartmentId string

The OCID of the compartment corresponding to the APM domain.

DataUploadEndpoint string

The endpoint where the APM agents upload their observations and metrics.

DefinedTags map[string]interface{}

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

Description string

Description of the APM domain.

DisplayName string

Display name of the APM domain, which can be updated.

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

Unique identifier that is immutable on creation.

IsFreeTier bool

Indicates if this is an Always Free resource.

State string

The current lifecycle state of the APM domain.

TimeCreated string

The time the APM domain was created, expressed in RFC 3339 timestamp format.

TimeUpdated string

The time the APM domain was updated, expressed in RFC 3339 timestamp format.

apmDomainId String
compartmentId String

The OCID of the compartment corresponding to the APM domain.

dataUploadEndpoint String

The endpoint where the APM agents upload their observations and metrics.

definedTags Map<String,Object>

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

description String

Description of the APM domain.

displayName String

Display name of the APM domain, which can be updated.

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

Unique identifier that is immutable on creation.

isFreeTier Boolean

Indicates if this is an Always Free resource.

state String

The current lifecycle state of the APM domain.

timeCreated String

The time the APM domain was created, expressed in RFC 3339 timestamp format.

timeUpdated String

The time the APM domain was updated, expressed in RFC 3339 timestamp format.

apmDomainId string
compartmentId string

The OCID of the compartment corresponding to the APM domain.

dataUploadEndpoint string

The endpoint where the APM agents upload their observations and metrics.

definedTags {[key: string]: any}

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

description string

Description of the APM domain.

displayName string

Display name of the APM domain, which can be updated.

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

Unique identifier that is immutable on creation.

isFreeTier boolean

Indicates if this is an Always Free resource.

state string

The current lifecycle state of the APM domain.

timeCreated string

The time the APM domain was created, expressed in RFC 3339 timestamp format.

timeUpdated string

The time the APM domain was updated, expressed in RFC 3339 timestamp format.

apm_domain_id str
compartment_id str

The OCID of the compartment corresponding to the APM domain.

data_upload_endpoint str

The endpoint where the APM agents upload their observations and metrics.

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"}

description str

Description of the APM domain.

display_name str

Display name of the APM domain, which can be updated.

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

Unique identifier that is immutable on creation.

is_free_tier bool

Indicates if this is an Always Free resource.

state str

The current lifecycle state of the APM domain.

time_created str

The time the APM domain was created, expressed in RFC 3339 timestamp format.

time_updated str

The time the APM domain was updated, expressed in RFC 3339 timestamp format.

apmDomainId String
compartmentId String

The OCID of the compartment corresponding to the APM domain.

dataUploadEndpoint String

The endpoint where the APM agents upload their observations and metrics.

definedTags Map<Any>

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

description String

Description of the APM domain.

displayName String

Display name of the APM domain, which can be updated.

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

Unique identifier that is immutable on creation.

isFreeTier Boolean

Indicates if this is an Always Free resource.

state String

The current lifecycle state of the APM domain.

timeCreated String

The time the APM domain was created, expressed in RFC 3339 timestamp format.

timeUpdated String

The time the APM domain was updated, expressed in RFC 3339 timestamp format.

Package Details

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

This Pulumi package is based on the oci Terraform Provider.