1. Packages
  2. Control Plane (cpln)
  3. API Docs
  4. OrgTracing
Control Plane v0.0.27 published on Saturday, May 25, 2024 by pulumiverse

cpln.OrgTracing

Explore with Pulumi AI

cpln logo
Control Plane v0.0.27 published on Saturday, May 25, 2024 by pulumiverse

    Create OrgTracing Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new OrgTracing(name: string, args?: OrgTracingArgs, opts?: CustomResourceOptions);
    @overload
    def OrgTracing(resource_name: str,
                   args: Optional[OrgTracingArgs] = None,
                   opts: Optional[ResourceOptions] = None)
    
    @overload
    def OrgTracing(resource_name: str,
                   opts: Optional[ResourceOptions] = None,
                   controlplane_tracing: Optional[OrgTracingControlplaneTracingArgs] = None,
                   lightstep_tracing: Optional[OrgTracingLightstepTracingArgs] = None,
                   otel_tracing: Optional[OrgTracingOtelTracingArgs] = None)
    func NewOrgTracing(ctx *Context, name string, args *OrgTracingArgs, opts ...ResourceOption) (*OrgTracing, error)
    public OrgTracing(string name, OrgTracingArgs? args = null, CustomResourceOptions? opts = null)
    public OrgTracing(String name, OrgTracingArgs args)
    public OrgTracing(String name, OrgTracingArgs args, CustomResourceOptions options)
    
    type: cpln:OrgTracing
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args OrgTracingArgs
    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 OrgTracingArgs
    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 OrgTracingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args OrgTracingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args OrgTracingArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var orgTracingResource = new Cpln.OrgTracing("orgTracingResource", new()
    {
        ControlplaneTracing = new Cpln.Inputs.OrgTracingControlplaneTracingArgs
        {
            Sampling = 0,
            CustomTags = 
            {
                { "string", "string" },
            },
        },
        LightstepTracing = new Cpln.Inputs.OrgTracingLightstepTracingArgs
        {
            Endpoint = "string",
            Sampling = 0,
            Credentials = "string",
            CustomTags = 
            {
                { "string", "string" },
            },
        },
        OtelTracing = new Cpln.Inputs.OrgTracingOtelTracingArgs
        {
            Endpoint = "string",
            Sampling = 0,
            CustomTags = 
            {
                { "string", "string" },
            },
        },
    });
    
    example, err := cpln.NewOrgTracing(ctx, "orgTracingResource", &cpln.OrgTracingArgs{
    	ControlplaneTracing: &cpln.OrgTracingControlplaneTracingArgs{
    		Sampling: pulumi.Int(0),
    		CustomTags: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	LightstepTracing: &cpln.OrgTracingLightstepTracingArgs{
    		Endpoint:    pulumi.String("string"),
    		Sampling:    pulumi.Int(0),
    		Credentials: pulumi.String("string"),
    		CustomTags: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    	OtelTracing: &cpln.OrgTracingOtelTracingArgs{
    		Endpoint: pulumi.String("string"),
    		Sampling: pulumi.Int(0),
    		CustomTags: pulumi.StringMap{
    			"string": pulumi.String("string"),
    		},
    	},
    })
    
    var orgTracingResource = new OrgTracing("orgTracingResource", OrgTracingArgs.builder()
        .controlplaneTracing(OrgTracingControlplaneTracingArgs.builder()
            .sampling(0)
            .customTags(Map.of("string", "string"))
            .build())
        .lightstepTracing(OrgTracingLightstepTracingArgs.builder()
            .endpoint("string")
            .sampling(0)
            .credentials("string")
            .customTags(Map.of("string", "string"))
            .build())
        .otelTracing(OrgTracingOtelTracingArgs.builder()
            .endpoint("string")
            .sampling(0)
            .customTags(Map.of("string", "string"))
            .build())
        .build());
    
    org_tracing_resource = cpln.OrgTracing("orgTracingResource",
        controlplane_tracing=cpln.OrgTracingControlplaneTracingArgs(
            sampling=0,
            custom_tags={
                "string": "string",
            },
        ),
        lightstep_tracing=cpln.OrgTracingLightstepTracingArgs(
            endpoint="string",
            sampling=0,
            credentials="string",
            custom_tags={
                "string": "string",
            },
        ),
        otel_tracing=cpln.OrgTracingOtelTracingArgs(
            endpoint="string",
            sampling=0,
            custom_tags={
                "string": "string",
            },
        ))
    
    const orgTracingResource = new cpln.OrgTracing("orgTracingResource", {
        controlplaneTracing: {
            sampling: 0,
            customTags: {
                string: "string",
            },
        },
        lightstepTracing: {
            endpoint: "string",
            sampling: 0,
            credentials: "string",
            customTags: {
                string: "string",
            },
        },
        otelTracing: {
            endpoint: "string",
            sampling: 0,
            customTags: {
                string: "string",
            },
        },
    });
    
    type: cpln:OrgTracing
    properties:
        controlplaneTracing:
            customTags:
                string: string
            sampling: 0
        lightstepTracing:
            credentials: string
            customTags:
                string: string
            endpoint: string
            sampling: 0
        otelTracing:
            customTags:
                string: string
            endpoint: string
            sampling: 0
    

    OrgTracing 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 OrgTracing resource accepts the following input properties:

    Outputs

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

    CplnId string
    The ID, in GUID format, of the org.
    Description string
    The description of org.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the org.
    Tags Dictionary<string, string>
    Key-value map of the org's tags.
    CplnId string
    The ID, in GUID format, of the org.
    Description string
    The description of org.
    Id string
    The provider-assigned unique ID for this managed resource.
    Name string
    The name of the org.
    Tags map[string]string
    Key-value map of the org's tags.
    cplnId String
    The ID, in GUID format, of the org.
    description String
    The description of org.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the org.
    tags Map<String,String>
    Key-value map of the org's tags.
    cplnId string
    The ID, in GUID format, of the org.
    description string
    The description of org.
    id string
    The provider-assigned unique ID for this managed resource.
    name string
    The name of the org.
    tags {[key: string]: string}
    Key-value map of the org's tags.
    cpln_id str
    The ID, in GUID format, of the org.
    description str
    The description of org.
    id str
    The provider-assigned unique ID for this managed resource.
    name str
    The name of the org.
    tags Mapping[str, str]
    Key-value map of the org's tags.
    cplnId String
    The ID, in GUID format, of the org.
    description String
    The description of org.
    id String
    The provider-assigned unique ID for this managed resource.
    name String
    The name of the org.
    tags Map<String>
    Key-value map of the org's tags.

    Look up Existing OrgTracing Resource

    Get an existing OrgTracing 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?: OrgTracingState, opts?: CustomResourceOptions): OrgTracing
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            controlplane_tracing: Optional[OrgTracingControlplaneTracingArgs] = None,
            cpln_id: Optional[str] = None,
            description: Optional[str] = None,
            lightstep_tracing: Optional[OrgTracingLightstepTracingArgs] = None,
            name: Optional[str] = None,
            otel_tracing: Optional[OrgTracingOtelTracingArgs] = None,
            tags: Optional[Mapping[str, str]] = None) -> OrgTracing
    func GetOrgTracing(ctx *Context, name string, id IDInput, state *OrgTracingState, opts ...ResourceOption) (*OrgTracing, error)
    public static OrgTracing Get(string name, Input<string> id, OrgTracingState? state, CustomResourceOptions? opts = null)
    public static OrgTracing get(String name, Output<String> id, OrgTracingState 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:
    ControlplaneTracing Pulumiverse.Cpln.Inputs.OrgTracingControlplaneTracing
    CplnId string
    The ID, in GUID format, of the org.
    Description string
    The description of org.
    LightstepTracing Pulumiverse.Cpln.Inputs.OrgTracingLightstepTracing
    Name string
    The name of the org.
    OtelTracing Pulumiverse.Cpln.Inputs.OrgTracingOtelTracing
    Tags Dictionary<string, string>
    Key-value map of the org's tags.
    ControlplaneTracing OrgTracingControlplaneTracingArgs
    CplnId string
    The ID, in GUID format, of the org.
    Description string
    The description of org.
    LightstepTracing OrgTracingLightstepTracingArgs
    Name string
    The name of the org.
    OtelTracing OrgTracingOtelTracingArgs
    Tags map[string]string
    Key-value map of the org's tags.
    controlplaneTracing OrgTracingControlplaneTracing
    cplnId String
    The ID, in GUID format, of the org.
    description String
    The description of org.
    lightstepTracing OrgTracingLightstepTracing
    name String
    The name of the org.
    otelTracing OrgTracingOtelTracing
    tags Map<String,String>
    Key-value map of the org's tags.
    controlplaneTracing OrgTracingControlplaneTracing
    cplnId string
    The ID, in GUID format, of the org.
    description string
    The description of org.
    lightstepTracing OrgTracingLightstepTracing
    name string
    The name of the org.
    otelTracing OrgTracingOtelTracing
    tags {[key: string]: string}
    Key-value map of the org's tags.
    controlplane_tracing OrgTracingControlplaneTracingArgs
    cpln_id str
    The ID, in GUID format, of the org.
    description str
    The description of org.
    lightstep_tracing OrgTracingLightstepTracingArgs
    name str
    The name of the org.
    otel_tracing OrgTracingOtelTracingArgs
    tags Mapping[str, str]
    Key-value map of the org's tags.
    controlplaneTracing Property Map
    cplnId String
    The ID, in GUID format, of the org.
    description String
    The description of org.
    lightstepTracing Property Map
    name String
    The name of the org.
    otelTracing Property Map
    tags Map<String>
    Key-value map of the org's tags.

    Supporting Types

    OrgTracingControlplaneTracing, OrgTracingControlplaneTracingArgs

    Sampling int
    CustomTags Dictionary<string, string>
    Sampling int
    CustomTags map[string]string
    sampling Integer
    customTags Map<String,String>
    sampling number
    customTags {[key: string]: string}
    sampling int
    custom_tags Mapping[str, str]
    sampling Number
    customTags Map<String>

    OrgTracingLightstepTracing, OrgTracingLightstepTracingArgs

    Endpoint string
    Sampling int
    Credentials string
    CustomTags Dictionary<string, string>
    Endpoint string
    Sampling int
    Credentials string
    CustomTags map[string]string
    endpoint String
    sampling Integer
    credentials String
    customTags Map<String,String>
    endpoint string
    sampling number
    credentials string
    customTags {[key: string]: string}
    endpoint str
    sampling int
    credentials str
    custom_tags Mapping[str, str]
    endpoint String
    sampling Number
    credentials String
    customTags Map<String>

    OrgTracingOtelTracing, OrgTracingOtelTracingArgs

    Endpoint string
    Sampling int
    CustomTags Dictionary<string, string>
    Endpoint string
    Sampling int
    CustomTags map[string]string
    endpoint String
    sampling Integer
    customTags Map<String,String>
    endpoint string
    sampling number
    customTags {[key: string]: string}
    endpoint str
    sampling int
    custom_tags Mapping[str, str]
    endpoint String
    sampling Number
    customTags Map<String>

    Package Details

    Repository
    cpln pulumiverse/pulumi-cpln
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the cpln Terraform Provider.
    cpln logo
    Control Plane v0.0.27 published on Saturday, May 25, 2024 by pulumiverse