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.Float64(0),
CustomTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
LightstepTracing: &cpln.OrgTracingLightstepTracingArgs{
Endpoint: pulumi.String("string"),
Sampling: pulumi.Float64(0),
Credentials: pulumi.String("string"),
CustomTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
OtelTracing: &cpln.OrgTracingOtelTracingArgs{
Endpoint: pulumi.String("string"),
Sampling: pulumi.Float64(0),
CustomTags: pulumi.StringMap{
"string": pulumi.String("string"),
},
},
})
var orgTracingResource = new OrgTracing("orgTracingResource", OrgTracingArgs.builder()
.controlplaneTracing(OrgTracingControlplaneTracingArgs.builder()
.sampling(0.0)
.customTags(Map.of("string", "string"))
.build())
.lightstepTracing(OrgTracingLightstepTracingArgs.builder()
.endpoint("string")
.sampling(0.0)
.credentials("string")
.customTags(Map.of("string", "string"))
.build())
.otelTracing(OrgTracingOtelTracingArgs.builder()
.endpoint("string")
.sampling(0.0)
.customTags(Map.of("string", "string"))
.build())
.build());
org_tracing_resource = cpln.OrgTracing("orgTracingResource",
controlplane_tracing={
"sampling": 0,
"custom_tags": {
"string": "string",
},
},
lightstep_tracing={
"endpoint": "string",
"sampling": 0,
"credentials": "string",
"custom_tags": {
"string": "string",
},
},
otel_tracing={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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
- Description of the Org.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the Org.
- Self
Link string - Full link to this resource. Can be referenced by other resources.
- Dictionary<string, string>
- Key-value map of resource tags.
- Cpln
Id string - The ID, in GUID format, of the Org.
- Description string
- Description of the Org.
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Name of the Org.
- Self
Link string - Full link to this resource. Can be referenced by other resources.
- map[string]string
- Key-value map of resource tags.
- cpln
Id String - The ID, in GUID format, of the Org.
- description String
- Description of the Org.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the Org.
- self
Link String - Full link to this resource. Can be referenced by other resources.
- Map<String,String>
- Key-value map of resource tags.
- cpln
Id string - The ID, in GUID format, of the Org.
- description string
- Description of the Org.
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Name of the Org.
- self
Link string - Full link to this resource. Can be referenced by other resources.
- {[key: string]: string}
- Key-value map of resource tags.
- cpln_
id str - The ID, in GUID format, of the Org.
- description str
- Description of the Org.
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Name of the Org.
- self_
link str - Full link to this resource. Can be referenced by other resources.
- Mapping[str, str]
- Key-value map of resource tags.
- cpln
Id String - The ID, in GUID format, of the Org.
- description String
- Description of the Org.
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Name of the Org.
- self
Link String - Full link to this resource. Can be referenced by other resources.
- Map<String>
- Key-value map of resource 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,
self_link: Optional[str] = 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)
resources: _: type: cpln:OrgTracing get: id: ${id}
- 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
- Description of the Org.
- Lightstep
Tracing Pulumiverse.Cpln. Inputs. Org Tracing Lightstep Tracing - Name string
- Name of the Org.
- Otel
Tracing Pulumiverse.Cpln. Inputs. Org Tracing Otel Tracing - Self
Link string - Full link to this resource. Can be referenced by other resources.
- Dictionary<string, string>
- Key-value map of resource tags.
- Controlplane
Tracing OrgTracing Controlplane Tracing Args - Cpln
Id string - The ID, in GUID format, of the Org.
- Description string
- Description of the Org.
- Lightstep
Tracing OrgTracing Lightstep Tracing Args - Name string
- Name of the Org.
- Otel
Tracing OrgTracing Otel Tracing Args - Self
Link string - Full link to this resource. Can be referenced by other resources.
- map[string]string
- Key-value map of resource tags.
- controlplane
Tracing OrgTracing Controlplane Tracing - cpln
Id String - The ID, in GUID format, of the Org.
- description String
- Description of the Org.
- lightstep
Tracing OrgTracing Lightstep Tracing - name String
- Name of the Org.
- otel
Tracing OrgTracing Otel Tracing - self
Link String - Full link to this resource. Can be referenced by other resources.
- Map<String,String>
- Key-value map of resource tags.
- controlplane
Tracing OrgTracing Controlplane Tracing - cpln
Id string - The ID, in GUID format, of the Org.
- description string
- Description of the Org.
- lightstep
Tracing OrgTracing Lightstep Tracing - name string
- Name of the Org.
- otel
Tracing OrgTracing Otel Tracing - self
Link string - Full link to this resource. Can be referenced by other resources.
- {[key: string]: string}
- Key-value map of resource tags.
- controlplane_
tracing OrgTracing Controlplane Tracing Args - cpln_
id str - The ID, in GUID format, of the Org.
- description str
- Description of the Org.
- lightstep_
tracing OrgTracing Lightstep Tracing Args - name str
- Name of the Org.
- otel_
tracing OrgTracing Otel Tracing Args - self_
link str - Full link to this resource. Can be referenced by other resources.
- Mapping[str, str]
- Key-value map of resource tags.
- controlplane
Tracing Property Map - cpln
Id String - The ID, in GUID format, of the Org.
- description String
- Description of the Org.
- lightstep
Tracing Property Map - name String
- Name of the Org.
- otel
Tracing Property Map - self
Link String - Full link to this resource. Can be referenced by other resources.
- Map<String>
- Key-value map of resource tags.
Supporting Types
OrgTracingControlplaneTracing, OrgTracingControlplaneTracingArgs
- Sampling double
- Determines what percentage of requests should be traced.
- Dictionary<string, string>
- Key-value map of custom tags.
- Sampling float64
- Determines what percentage of requests should be traced.
- map[string]string
- Key-value map of custom tags.
- sampling Double
- Determines what percentage of requests should be traced.
- Map<String,String>
- Key-value map of custom tags.
- sampling number
- Determines what percentage of requests should be traced.
- {[key: string]: string}
- Key-value map of custom tags.
- sampling float
- Determines what percentage of requests should be traced.
- Mapping[str, str]
- Key-value map of custom tags.
- sampling Number
- Determines what percentage of requests should be traced.
- Map<String>
- Key-value map of custom tags.
OrgTracingLightstepTracing, OrgTracingLightstepTracingArgs
- Endpoint string
- Tracing Endpoint Workload. Either the canonical endpoint or internal endpoint.
- Sampling double
- Determines what percentage of requests should be traced.
- Credentials string
- Full link to referenced Opaque Secret.
- Dictionary<string, string>
- Key-value map of custom tags.
- Endpoint string
- Tracing Endpoint Workload. Either the canonical endpoint or internal endpoint.
- Sampling float64
- Determines what percentage of requests should be traced.
- Credentials string
- Full link to referenced Opaque Secret.
- map[string]string
- Key-value map of custom tags.
- endpoint String
- Tracing Endpoint Workload. Either the canonical endpoint or internal endpoint.
- sampling Double
- Determines what percentage of requests should be traced.
- credentials String
- Full link to referenced Opaque Secret.
- Map<String,String>
- Key-value map of custom tags.
- endpoint string
- Tracing Endpoint Workload. Either the canonical endpoint or internal endpoint.
- sampling number
- Determines what percentage of requests should be traced.
- credentials string
- Full link to referenced Opaque Secret.
- {[key: string]: string}
- Key-value map of custom tags.
- endpoint str
- Tracing Endpoint Workload. Either the canonical endpoint or internal endpoint.
- sampling float
- Determines what percentage of requests should be traced.
- credentials str
- Full link to referenced Opaque Secret.
- Mapping[str, str]
- Key-value map of custom tags.
- endpoint String
- Tracing Endpoint Workload. Either the canonical endpoint or internal endpoint.
- sampling Number
- Determines what percentage of requests should be traced.
- credentials String
- Full link to referenced Opaque Secret.
- Map<String>
- Key-value map of custom tags.
OrgTracingOtelTracing, OrgTracingOtelTracingArgs
Package Details
- Repository
- cpln pulumiverse/pulumi-cpln
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
cpln
Terraform Provider.