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
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 = 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
})
}
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(oci_apm_apm_domain.test_apm_domain().id())
.build());
}
}
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,
});
variables:
testApmDomain:
fn::invoke:
Function: oci:Apm:getApmDomain
Arguments:
apmDomainId: ${oci_apm_apm_domain.test_apm_domain.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 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:
- Apm
Domain stringId The OCID of the APM domain
- Apm
Domain stringId The OCID of the APM domain
- apm
Domain StringId The OCID of the APM domain
- apm
Domain stringId The OCID of the APM domain
- apm_
domain_ strid The OCID of the APM domain
- apm
Domain StringId The OCID of the APM domain
getApmDomain Result
The following output properties are available:
- Apm
Domain stringId - Compartment
Id string The OCID of the compartment corresponding to the APM domain.
- Data
Upload stringEndpoint The endpoint where the APM agents upload their observations and metrics.
- 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.
- Display
Name string Display name of the APM domain, which can be updated.
- 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.
- Is
Free boolTier Indicates if this is an Always Free resource.
- State string
The current lifecycle state of the APM domain.
- Time
Created string The time the APM domain was created, expressed in RFC 3339 timestamp format.
- Time
Updated string The time the APM domain was updated, expressed in RFC 3339 timestamp format.
- Apm
Domain stringId - Compartment
Id string The OCID of the compartment corresponding to the APM domain.
- Data
Upload stringEndpoint The endpoint where the APM agents upload their observations and metrics.
- 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.
- Display
Name string Display name of the APM domain, which can be updated.
- 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.
- Is
Free boolTier Indicates if this is an Always Free resource.
- State string
The current lifecycle state of the APM domain.
- Time
Created string The time the APM domain was created, expressed in RFC 3339 timestamp format.
- Time
Updated string The time the APM domain was updated, expressed in RFC 3339 timestamp format.
- apm
Domain StringId - compartment
Id String The OCID of the compartment corresponding to the APM domain.
- data
Upload StringEndpoint The endpoint where the APM agents upload their observations and metrics.
- 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.
- display
Name String Display name of the APM domain, which can be updated.
- 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.
- is
Free BooleanTier Indicates if this is an Always Free resource.
- state String
The current lifecycle state of the APM domain.
- time
Created String The time the APM domain was created, expressed in RFC 3339 timestamp format.
- time
Updated String The time the APM domain was updated, expressed in RFC 3339 timestamp format.
- apm
Domain stringId - compartment
Id string The OCID of the compartment corresponding to the APM domain.
- data
Upload stringEndpoint The endpoint where the APM agents upload their observations and metrics.
- {[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.
- display
Name string Display name of the APM domain, which can be updated.
- {[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.
- is
Free booleanTier Indicates if this is an Always Free resource.
- state string
The current lifecycle state of the APM domain.
- time
Created string The time the APM domain was created, expressed in RFC 3339 timestamp format.
- time
Updated 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, 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.
- 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_ 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.
- apm
Domain StringId - compartment
Id String The OCID of the compartment corresponding to the APM domain.
- data
Upload StringEndpoint The endpoint where the APM agents upload their observations and metrics.
- 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.
- display
Name String Display name of the APM domain, which can be updated.
- 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.
- is
Free BooleanTier Indicates if this is an Always Free resource.
- state String
The current lifecycle state of the APM domain.
- time
Created String The time the APM domain was created, expressed in RFC 3339 timestamp format.
- time
Updated 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
oci
Terraform Provider.