Oracle Cloud Infrastructure v2.33.0 published on Thursday, May 1, 2025 by Pulumi
oci.Apm.getApmDomain
Explore with Pulumi AI
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
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testApmDomain = oci.Apm.getApmDomain({
    apmDomainId: testApmDomainOciApmApmDomain.id,
});
import pulumi
import pulumi_oci as oci
test_apm_domain = oci.Apm.get_apm_domain(apm_domain_id=test_apm_domain_oci_apm_apm_domain["id"])
package main
import (
	"github.com/pulumi/pulumi-oci/sdk/v2/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: testApmDomainOciApmApmDomain.Id,
		}, 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 testApmDomain = Oci.Apm.GetApmDomain.Invoke(new()
    {
        ApmDomainId = testApmDomainOciApmApmDomain.Id,
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Apm.ApmFunctions;
import com.pulumi.oci.Apm.inputs.GetApmDomainArgs;
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 testApmDomain = ApmFunctions.getApmDomain(GetApmDomainArgs.builder()
            .apmDomainId(testApmDomainOciApmApmDomain.id())
            .build());
    }
}
variables:
  testApmDomain:
    fn::invoke:
      function: oci:Apm:getApmDomain
      arguments:
        apmDomainId: ${testApmDomainOciApmApmDomain.id}
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 LookupApmDomain(ctx *Context, args *LookupApmDomainArgs, opts ...InvokeOption) (*LookupApmDomainResult, error)
func LookupApmDomainOutput(ctx *Context, args *LookupApmDomainOutputArgs, opts ...InvokeOption) LookupApmDomainResultOutput> Note: This function is named LookupApmDomain 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)
public static Output<GetApmDomainResult> getApmDomain(GetApmDomainArgs args, InvokeOptions options)
fn::invoke:
  function: oci:Apm/getApmDomain:getApmDomain
  arguments:
    # arguments dictionaryThe following arguments are supported:
- ApmDomain stringId 
- The OCID of the APM domain
- ApmDomain stringId 
- The OCID of the APM domain
- apmDomain StringId 
- The OCID of the APM domain
- apmDomain stringId 
- The OCID of the APM domain
- apm_domain_ strid 
- The OCID of the APM domain
- apmDomain StringId 
- The OCID of the APM domain
getApmDomain Result
The following output properties are available:
- ApmDomain stringId 
- CompartmentId string
- The OCID of the compartment corresponding to the APM domain.
- DataUpload stringEndpoint 
- The endpoint where the APM agents upload their observations and metrics.
- Dictionary<string, string>
- 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.
- Dictionary<string, string>
- 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.
- IsFree boolTier 
- 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.
- ApmDomain stringId 
- CompartmentId string
- The OCID of the compartment corresponding to the APM domain.
- DataUpload stringEndpoint 
- The endpoint where the APM agents upload their observations and metrics.
- map[string]string
- 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.
- map[string]string
- 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.
- IsFree boolTier 
- 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.
- apmDomain StringId 
- compartmentId String
- The OCID of the compartment corresponding to the APM domain.
- dataUpload StringEndpoint 
- The endpoint where the APM agents upload their observations and metrics.
- Map<String,String>
- 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.
- Map<String,String>
- 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.
- isFree BooleanTier 
- 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.
- apmDomain stringId 
- compartmentId string
- The OCID of the compartment corresponding to the APM domain.
- dataUpload stringEndpoint 
- The endpoint where the APM agents upload their observations and metrics.
- {[key: string]: string}
- 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.
- {[key: string]: string}
- 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.
- isFree booleanTier 
- 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_ strid 
- compartment_id str
- The OCID of the compartment corresponding to the APM domain.
- data_upload_ strendpoint 
- The endpoint where the APM agents upload their observations and metrics.
- Mapping[str, str]
- 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.
- Mapping[str, str]
- 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_ booltier 
- 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.
- apmDomain StringId 
- compartmentId String
- The OCID of the compartment corresponding to the APM domain.
- dataUpload StringEndpoint 
- The endpoint where the APM agents upload their observations and metrics.
- Map<String>
- 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.
- Map<String>
- 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.
- isFree BooleanTier 
- 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
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the ociTerraform Provider.