Oracle Cloud Infrastructure v3.7.0 published on Saturday, Sep 13, 2025 by Pulumi
oci.ApmTraces.getAttributeAutoActivateStatus
Explore with Pulumi AI
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:
- Apm
Domain stringId - The APM Domain ID for the intended request.
- Data
Key stringType - Data key type for which auto-activate needs to be turned on or off.
- Apm
Domain stringId - The APM Domain ID for the intended request.
- Data
Key stringType - Data key type for which auto-activate needs to be turned on or off.
- apm
Domain StringId - The APM Domain ID for the intended request.
- data
Key StringType - Data key type for which auto-activate needs to be turned on or off.
- apm
Domain stringId - The APM Domain ID for the intended request.
- data
Key stringType - Data key type for which auto-activate needs to be turned on or off.
- apm_
domain_ strid - The APM Domain ID for the intended request.
- data_
key_ strtype - Data key type for which auto-activate needs to be turned on or off.
- apm
Domain StringId - The APM Domain ID for the intended request.
- data
Key StringType - Data key type for which auto-activate needs to be turned on or off.
getAttributeAutoActivateStatus Result
The following output properties are available:
- Apm
Domain stringId - Data
Key string - Data key type for which auto-activate needs needs to be turned on or off.
- Data
Key stringType - 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 stringId - Data
Key string - Data key type for which auto-activate needs needs to be turned on or off.
- Data
Key stringType - 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 StringId - data
Key String - Data key type for which auto-activate needs needs to be turned on or off.
- data
Key StringType - 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 stringId - data
Key string - Data key type for which auto-activate needs needs to be turned on or off.
- data
Key stringType - 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_ strid - data_
key str - Data key type for which auto-activate needs needs to be turned on or off.
- data_
key_ strtype - 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.
- apm
Domain StringId - data
Key String - Data key type for which auto-activate needs needs to be turned on or off.
- data
Key StringType - 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.