Control Plane v0.0.27 published on Saturday, May 25, 2024 by pulumiverse
cpln.OrgTracing
Explore with Pulumi AI
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:
- Cpln
Id 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.
- Dictionary<string, string>
- Key-value map of the org's tags.
- Cpln
Id 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.
- map[string]string
- Key-value map of the org's tags.
- cpln
Id 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.
- Map<String,String>
- Key-value map of the org's tags.
- cpln
Id 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.
- {[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.
- Mapping[str, str]
- Key-value map of the org's tags.
- cpln
Id 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.
- 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.
- Controlplane
Tracing Pulumiverse.Cpln. Inputs. Org Tracing Controlplane Tracing - Cpln
Id string - The ID, in GUID format, of the org.
- Description string
- The description of org.
- Lightstep
Tracing Pulumiverse.Cpln. Inputs. Org Tracing Lightstep Tracing - Name string
- The name of the org.
- Otel
Tracing Pulumiverse.Cpln. Inputs. Org Tracing Otel Tracing - Dictionary<string, string>
- Key-value map of the org's tags.
- Controlplane
Tracing OrgTracing Controlplane Tracing Args - Cpln
Id string - The ID, in GUID format, of the org.
- Description string
- The description of org.
- Lightstep
Tracing OrgTracing Lightstep Tracing Args - Name string
- The name of the org.
- Otel
Tracing OrgTracing Otel Tracing Args - map[string]string
- Key-value map of the org's tags.
- controlplane
Tracing OrgTracing Controlplane Tracing - cpln
Id String - The ID, in GUID format, of the org.
- description String
- The description of org.
- lightstep
Tracing OrgTracing Lightstep Tracing - name String
- The name of the org.
- otel
Tracing OrgTracing Otel Tracing - Map<String,String>
- Key-value map of the org's tags.
- controlplane
Tracing OrgTracing Controlplane Tracing - cpln
Id string - The ID, in GUID format, of the org.
- description string
- The description of org.
- lightstep
Tracing OrgTracing Lightstep Tracing - name string
- The name of the org.
- otel
Tracing OrgTracing Otel Tracing - {[key: string]: string}
- Key-value map of the org's tags.
- controlplane_
tracing OrgTracing Controlplane Tracing Args - cpln_
id str - The ID, in GUID format, of the org.
- description str
- The description of org.
- lightstep_
tracing OrgTracing Lightstep Tracing Args - name str
- The name of the org.
- otel_
tracing OrgTracing Otel Tracing Args - Mapping[str, str]
- Key-value map of the org's tags.
- controlplane
Tracing Property Map - cpln
Id String - The ID, in GUID format, of the org.
- description String
- The description of org.
- lightstep
Tracing Property Map - name String
- The name of the org.
- otel
Tracing Property Map - Map<String>
- Key-value map of the org's tags.
Supporting Types
OrgTracingControlplaneTracing, OrgTracingControlplaneTracingArgs
- Sampling int
- Dictionary<string, string>
- Sampling int
- map[string]string
- sampling Integer
- Map<String,String>
- sampling number
- {[key: string]: string}
- sampling int
- Mapping[str, str]
- sampling Number
- Map<String>
OrgTracingLightstepTracing, OrgTracingLightstepTracingArgs
- Endpoint string
- Sampling int
- Credentials string
- Dictionary<string, string>
- Endpoint string
- Sampling int
- Credentials string
- map[string]string
- endpoint String
- sampling Integer
- credentials String
- Map<String,String>
- endpoint string
- sampling number
- credentials string
- {[key: string]: string}
- endpoint str
- sampling int
- credentials str
- Mapping[str, str]
- endpoint String
- sampling Number
- credentials String
- Map<String>
OrgTracingOtelTracing, OrgTracingOtelTracingArgs
Package Details
- Repository
- cpln pulumiverse/pulumi-cpln
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cpln
Terraform Provider.