Oracle Cloud Infrastructure

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

ApmDomain

This resource provides the Apm Domain resource in Oracle Cloud Infrastructure Apm service.

Creates a new APM domain.

Example Usage

using Pulumi;
using Oci = Pulumi.Oci;

class MyStack : Stack
{
    public MyStack()
    {
        var testApmDomain = new Oci.Apm.ApmDomain("testApmDomain", new Oci.Apm.ApmDomainArgs
        {
            CompartmentId = @var.Compartment_id,
            DisplayName = @var.Apm_domain_display_name,
            DefinedTags = 
            {
                { "foo-namespace.bar-key", "value" },
            },
            Description = @var.Apm_domain_description,
            FreeformTags = 
            {
                { "bar-key", "value" },
            },
            IsFreeTier = @var.Apm_domain_is_free_tier,
        });
    }

}
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.NewApmDomain(ctx, "testApmDomain", &Apm.ApmDomainArgs{
			CompartmentId: pulumi.Any(_var.Compartment_id),
			DisplayName:   pulumi.Any(_var.Apm_domain_display_name),
			DefinedTags: pulumi.AnyMap{
				"foo-namespace.bar-key": pulumi.Any("value"),
			},
			Description: pulumi.Any(_var.Apm_domain_description),
			FreeformTags: pulumi.AnyMap{
				"bar-key": pulumi.Any("value"),
			},
			IsFreeTier: pulumi.Any(_var.Apm_domain_is_free_tier),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

Coming soon!

import pulumi
import pulumi_oci as oci

test_apm_domain = oci.apm.ApmDomain("testApmDomain",
    compartment_id=var["compartment_id"],
    display_name=var["apm_domain_display_name"],
    defined_tags={
        "foo-namespace.bar-key": "value",
    },
    description=var["apm_domain_description"],
    freeform_tags={
        "bar-key": "value",
    },
    is_free_tier=var["apm_domain_is_free_tier"])
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";

const testApmDomain = new oci.apm.ApmDomain("testApmDomain", {
    compartmentId: _var.compartment_id,
    displayName: _var.apm_domain_display_name,
    definedTags: {
        "foo-namespace.bar-key": "value",
    },
    description: _var.apm_domain_description,
    freeformTags: {
        "bar-key": "value",
    },
    isFreeTier: _var.apm_domain_is_free_tier,
});

Coming soon!

Create a ApmDomain Resource

new ApmDomain(name: string, args: ApmDomainArgs, opts?: CustomResourceOptions);
@overload
def ApmDomain(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              compartment_id: Optional[str] = None,
              defined_tags: Optional[Mapping[str, Any]] = None,
              description: Optional[str] = None,
              display_name: Optional[str] = None,
              freeform_tags: Optional[Mapping[str, Any]] = None,
              is_free_tier: Optional[bool] = None)
@overload
def ApmDomain(resource_name: str,
              args: ApmDomainArgs,
              opts: Optional[ResourceOptions] = None)
func NewApmDomain(ctx *Context, name string, args ApmDomainArgs, opts ...ResourceOption) (*ApmDomain, error)
public ApmDomain(string name, ApmDomainArgs args, CustomResourceOptions? opts = null)
public ApmDomain(String name, ApmDomainArgs args)
public ApmDomain(String name, ApmDomainArgs args, CustomResourceOptions options)
type: oci:Apm:ApmDomain
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args ApmDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args ApmDomainArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args ApmDomainArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args ApmDomainArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args ApmDomainArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

ApmDomain Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The ApmDomain resource accepts the following input properties:

CompartmentId string

(Updatable) The OCID of the compartment corresponding to the APM domain.

DisplayName string

(Updatable) Display name of the APM domain.

DefinedTags Dictionary<string, object>

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

Description string

(Updatable) Description of the APM domain.

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

IsFreeTier bool

Indicates whether this is an "Always Free" resource. The default value is false.

CompartmentId string

(Updatable) The OCID of the compartment corresponding to the APM domain.

DisplayName string

(Updatable) Display name of the APM domain.

DefinedTags map[string]interface{}

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

Description string

(Updatable) Description of the APM domain.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

IsFreeTier bool

Indicates whether this is an "Always Free" resource. The default value is false.

compartmentId String

(Updatable) The OCID of the compartment corresponding to the APM domain.

displayName String

(Updatable) Display name of the APM domain.

definedTags Map<String,Object>

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

description String

(Updatable) Description of the APM domain.

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

isFreeTier Boolean

Indicates whether this is an "Always Free" resource. The default value is false.

compartmentId string

(Updatable) The OCID of the compartment corresponding to the APM domain.

displayName string

(Updatable) Display name of the APM domain.

definedTags {[key: string]: any}

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

description string

(Updatable) Description of the APM domain.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

isFreeTier boolean

Indicates whether this is an "Always Free" resource. The default value is false.

compartment_id str

(Updatable) The OCID of the compartment corresponding to the APM domain.

display_name str

(Updatable) Display name of the APM domain.

defined_tags Mapping[str, Any]

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

description str

(Updatable) Description of the APM domain.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

is_free_tier bool

Indicates whether this is an "Always Free" resource. The default value is false.

compartmentId String

(Updatable) The OCID of the compartment corresponding to the APM domain.

displayName String

(Updatable) Display name of the APM domain.

definedTags Map<Any>

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

description String

(Updatable) Description of the APM domain.

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

isFreeTier Boolean

Indicates whether this is an "Always Free" resource. The default value is false.

Outputs

All input properties are implicitly available as output properties. Additionally, the ApmDomain resource produces the following output properties:

DataUploadEndpoint string

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

Id string

The provider-assigned unique ID for this managed 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.

DataUploadEndpoint string

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

Id string

The provider-assigned unique ID for this managed 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.

dataUploadEndpoint String

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

id String

The provider-assigned unique ID for this managed 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.

dataUploadEndpoint string

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

id string

The provider-assigned unique ID for this managed 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.

data_upload_endpoint str

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

id str

The provider-assigned unique ID for this managed 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.

dataUploadEndpoint String

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

id String

The provider-assigned unique ID for this managed 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.

Look up an Existing ApmDomain Resource

Get an existing ApmDomain resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: ApmDomainState, opts?: CustomResourceOptions): ApmDomain
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        compartment_id: Optional[str] = None,
        data_upload_endpoint: Optional[str] = None,
        defined_tags: Optional[Mapping[str, Any]] = None,
        description: Optional[str] = None,
        display_name: Optional[str] = None,
        freeform_tags: Optional[Mapping[str, Any]] = None,
        is_free_tier: Optional[bool] = None,
        state: Optional[str] = None,
        time_created: Optional[str] = None,
        time_updated: Optional[str] = None) -> ApmDomain
func GetApmDomain(ctx *Context, name string, id IDInput, state *ApmDomainState, opts ...ResourceOption) (*ApmDomain, error)
public static ApmDomain Get(string name, Input<string> id, ApmDomainState? state, CustomResourceOptions? opts = null)
public static ApmDomain get(String name, Output<String> id, ApmDomainState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
The following state arguments are supported:
CompartmentId string

(Updatable) 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>

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

Description string

(Updatable) Description of the APM domain.

DisplayName string

(Updatable) Display name of the APM domain.

FreeformTags Dictionary<string, object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

IsFreeTier bool

Indicates whether this is an "Always Free" resource. The default value is false.

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.

CompartmentId string

(Updatable) 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{}

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

Description string

(Updatable) Description of the APM domain.

DisplayName string

(Updatable) Display name of the APM domain.

FreeformTags map[string]interface{}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

IsFreeTier bool

Indicates whether this is an "Always Free" resource. The default value is false.

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.

compartmentId String

(Updatable) 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>

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

description String

(Updatable) Description of the APM domain.

displayName String

(Updatable) Display name of the APM domain.

freeformTags Map<String,Object>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

isFreeTier Boolean

Indicates whether this is an "Always Free" resource. The default value is false.

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.

compartmentId string

(Updatable) 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}

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

description string

(Updatable) Description of the APM domain.

displayName string

(Updatable) Display name of the APM domain.

freeformTags {[key: string]: any}

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

isFreeTier boolean

Indicates whether this is an "Always Free" resource. The default value is false.

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.

compartment_id str

(Updatable) 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]

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

description str

(Updatable) Description of the APM domain.

display_name str

(Updatable) Display name of the APM domain.

freeform_tags Mapping[str, Any]

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

is_free_tier bool

Indicates whether this is an "Always Free" resource. The default value is false.

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.

compartmentId String

(Updatable) 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>

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

description String

(Updatable) Description of the APM domain.

displayName String

(Updatable) Display name of the APM domain.

freeformTags Map<Any>

(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}

isFreeTier Boolean

Indicates whether this is an "Always Free" resource. The default value is false.

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.

Import

ApmDomains can be imported using the id, e.g.

 $ pulumi import oci:Apm/apmDomain:ApmDomain test_apm_domain "id"

Package Details

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

This Pulumi package is based on the oci Terraform Provider.