1. Packages
  2. Oracle Cloud Infrastructure
  3. API Docs
  4. ApmTraces
  5. getAttributeAutoActivateStatus
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

oci.ApmTraces.getAttributeAutoActivateStatus

Explore with Pulumi AI

oci logo
Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi

    This data source provides details about a specific Attribute Auto Activate Status resource in Oracle Cloud Infrastructure Apm Traces service.

    Get autoactivation status for a private data key or public data key in the APM Domain.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as oci from "@pulumi/oci";
    
    const testAttributeAutoActivateStatus = oci.ApmTraces.getAttributeAutoActivateStatus({
        apmDomainId: testApmDomain.id,
        dataKeyType: attributeAutoActivateStatusDataKeyType,
    });
    
    import pulumi
    import pulumi_oci as oci
    
    test_attribute_auto_activate_status = oci.ApmTraces.get_attribute_auto_activate_status(apm_domain_id=test_apm_domain["id"],
        data_key_type=attribute_auto_activate_status_data_key_type)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-oci/sdk/v3/go/oci/apmtraces"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := apmtraces.GetAttributeAutoActivateStatus(ctx, &apmtraces.GetAttributeAutoActivateStatusArgs{
    			ApmDomainId: testApmDomain.Id,
    			DataKeyType: attributeAutoActivateStatusDataKeyType,
    		}, 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 testAttributeAutoActivateStatus = Oci.ApmTraces.GetAttributeAutoActivateStatus.Invoke(new()
        {
            ApmDomainId = testApmDomain.Id,
            DataKeyType = attributeAutoActivateStatusDataKeyType,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.oci.ApmTraces.ApmTracesFunctions;
    import com.pulumi.oci.ApmTraces.inputs.GetAttributeAutoActivateStatusArgs;
    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 testAttributeAutoActivateStatus = ApmTracesFunctions.getAttributeAutoActivateStatus(GetAttributeAutoActivateStatusArgs.builder()
                .apmDomainId(testApmDomain.id())
                .dataKeyType(attributeAutoActivateStatusDataKeyType)
                .build());
    
        }
    }
    
    variables:
      testAttributeAutoActivateStatus:
        fn::invoke:
          function: oci:ApmTraces:getAttributeAutoActivateStatus
          arguments:
            apmDomainId: ${testApmDomain.id}
            dataKeyType: ${attributeAutoActivateStatusDataKeyType}
    

    Using getAttributeAutoActivateStatus

    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 getAttributeAutoActivateStatus(args: GetAttributeAutoActivateStatusArgs, opts?: InvokeOptions): Promise<GetAttributeAutoActivateStatusResult>
    function getAttributeAutoActivateStatusOutput(args: GetAttributeAutoActivateStatusOutputArgs, opts?: InvokeOptions): Output<GetAttributeAutoActivateStatusResult>
    def get_attribute_auto_activate_status(apm_domain_id: Optional[str] = None,
                                           data_key_type: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> GetAttributeAutoActivateStatusResult
    def get_attribute_auto_activate_status_output(apm_domain_id: Optional[pulumi.Input[str]] = None,
                                           data_key_type: Optional[pulumi.Input[str]] = None,
                                           opts: Optional[InvokeOptions] = None) -> Output[GetAttributeAutoActivateStatusResult]
    func GetAttributeAutoActivateStatus(ctx *Context, args *GetAttributeAutoActivateStatusArgs, opts ...InvokeOption) (*GetAttributeAutoActivateStatusResult, error)
    func GetAttributeAutoActivateStatusOutput(ctx *Context, args *GetAttributeAutoActivateStatusOutputArgs, opts ...InvokeOption) GetAttributeAutoActivateStatusResultOutput

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

    public static class GetAttributeAutoActivateStatus 
    {
        public static Task<GetAttributeAutoActivateStatusResult> InvokeAsync(GetAttributeAutoActivateStatusArgs args, InvokeOptions? opts = null)
        public static Output<GetAttributeAutoActivateStatusResult> Invoke(GetAttributeAutoActivateStatusInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAttributeAutoActivateStatusResult> getAttributeAutoActivateStatus(GetAttributeAutoActivateStatusArgs args, InvokeOptions options)
    public static Output<GetAttributeAutoActivateStatusResult> getAttributeAutoActivateStatus(GetAttributeAutoActivateStatusArgs args, InvokeOptions options)
    
    fn::invoke:
      function: oci:ApmTraces/getAttributeAutoActivateStatus:getAttributeAutoActivateStatus
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ApmDomainId string
    The APM Domain ID for the intended request.
    DataKeyType string
    Data key type for which auto-activate needs to be turned on or off.
    ApmDomainId string
    The APM Domain ID for the intended request.
    DataKeyType string
    Data key type for which auto-activate needs to be turned on or off.
    apmDomainId String
    The APM Domain ID for the intended request.
    dataKeyType String
    Data key type for which auto-activate needs to be turned on or off.
    apmDomainId string
    The APM Domain ID for the intended request.
    dataKeyType string
    Data key type for which auto-activate needs to be turned on or off.
    apm_domain_id str
    The APM Domain ID for the intended request.
    data_key_type str
    Data key type for which auto-activate needs to be turned on or off.
    apmDomainId String
    The APM Domain ID for the intended request.
    dataKeyType String
    Data key type for which auto-activate needs to be turned on or off.

    getAttributeAutoActivateStatus Result

    The following output properties are available:

    ApmDomainId string
    DataKey string
    Data key type for which auto-activate needs needs to be turned on or off.
    DataKeyType string
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    State of autoactivation in this APM Domain. If "ON" auto-activate is set to true, if "OFF" auto-activate is set to false.
    ApmDomainId string
    DataKey string
    Data key type for which auto-activate needs needs to be turned on or off.
    DataKeyType string
    Id string
    The provider-assigned unique ID for this managed resource.
    State string
    State of autoactivation in this APM Domain. If "ON" auto-activate is set to true, if "OFF" auto-activate is set to false.
    apmDomainId String
    dataKey String
    Data key type for which auto-activate needs needs to be turned on or off.
    dataKeyType String
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    State of autoactivation in this APM Domain. If "ON" auto-activate is set to true, if "OFF" auto-activate is set to false.
    apmDomainId string
    dataKey string
    Data key type for which auto-activate needs needs to be turned on or off.
    dataKeyType string
    id string
    The provider-assigned unique ID for this managed resource.
    state string
    State of autoactivation in this APM Domain. If "ON" auto-activate is set to true, if "OFF" auto-activate is set to false.
    apm_domain_id str
    data_key str
    Data key type for which auto-activate needs needs to be turned on or off.
    data_key_type str
    id str
    The provider-assigned unique ID for this managed resource.
    state str
    State of autoactivation in this APM Domain. If "ON" auto-activate is set to true, if "OFF" auto-activate is set to false.
    apmDomainId String
    dataKey String
    Data key type for which auto-activate needs needs to be turned on or off.
    dataKeyType String
    id String
    The provider-assigned unique ID for this managed resource.
    state String
    State of autoactivation in this APM Domain. If "ON" auto-activate is set to true, if "OFF" auto-activate is set to false.

    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 v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi