Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs
dynatrace.SpanContextPropagation
Explore with Pulumi AI
Create SpanContextPropagation Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SpanContextPropagation(name: string, args: SpanContextPropagationArgs, opts?: CustomResourceOptions);
@overload
def SpanContextPropagation(resource_name: str,
args: SpanContextPropagationArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SpanContextPropagation(resource_name: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
matches: Optional[SpanContextPropagationMatchesArgs] = None,
name: Optional[str] = None)
func NewSpanContextPropagation(ctx *Context, name string, args SpanContextPropagationArgs, opts ...ResourceOption) (*SpanContextPropagation, error)
public SpanContextPropagation(string name, SpanContextPropagationArgs args, CustomResourceOptions? opts = null)
public SpanContextPropagation(String name, SpanContextPropagationArgs args)
public SpanContextPropagation(String name, SpanContextPropagationArgs args, CustomResourceOptions options)
type: dynatrace:SpanContextPropagation
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 SpanContextPropagationArgs
- 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 SpanContextPropagationArgs
- 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 SpanContextPropagationArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SpanContextPropagationArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SpanContextPropagationArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Example
The following reference example uses placeholder values for all input properties.
var spanContextPropagationResource = new Dynatrace.SpanContextPropagation("spanContextPropagationResource", new()
{
Action = "string",
Matches = new Dynatrace.Inputs.SpanContextPropagationMatchesArgs
{
Matches = new[]
{
new Dynatrace.Inputs.SpanContextPropagationMatchesMatchArgs
{
Comparison = "string",
Source = "string",
CaseSensitive = false,
Key = "string",
Value = "string",
},
},
},
Name = "string",
});
example, err := dynatrace.NewSpanContextPropagation(ctx, "spanContextPropagationResource", &dynatrace.SpanContextPropagationArgs{
Action: pulumi.String("string"),
Matches: &dynatrace.SpanContextPropagationMatchesArgs{
Matches: dynatrace.SpanContextPropagationMatchesMatchArray{
&dynatrace.SpanContextPropagationMatchesMatchArgs{
Comparison: pulumi.String("string"),
Source: pulumi.String("string"),
CaseSensitive: pulumi.Bool(false),
Key: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
Name: pulumi.String("string"),
})
var spanContextPropagationResource = new SpanContextPropagation("spanContextPropagationResource", SpanContextPropagationArgs.builder()
.action("string")
.matches(SpanContextPropagationMatchesArgs.builder()
.matches(SpanContextPropagationMatchesMatchArgs.builder()
.comparison("string")
.source("string")
.caseSensitive(false)
.key("string")
.value("string")
.build())
.build())
.name("string")
.build());
span_context_propagation_resource = dynatrace.SpanContextPropagation("spanContextPropagationResource",
action="string",
matches=dynatrace.SpanContextPropagationMatchesArgs(
matches=[dynatrace.SpanContextPropagationMatchesMatchArgs(
comparison="string",
source="string",
case_sensitive=False,
key="string",
value="string",
)],
),
name="string")
const spanContextPropagationResource = new dynatrace.SpanContextPropagation("spanContextPropagationResource", {
action: "string",
matches: {
matches: [{
comparison: "string",
source: "string",
caseSensitive: false,
key: "string",
value: "string",
}],
},
name: "string",
});
type: dynatrace:SpanContextPropagation
properties:
action: string
matches:
matches:
- caseSensitive: false
comparison: string
key: string
source: string
value: string
name: string
SpanContextPropagation 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 SpanContextPropagation resource accepts the following input properties:
- Action string
- Whether to create an entry point or not
- Matches
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Span Context Propagation Matches - Matching strategies for the Span
- Name string
- The name of the rule
- Action string
- Whether to create an entry point or not
- Matches
Span
Context Propagation Matches Args - Matching strategies for the Span
- Name string
- The name of the rule
- action String
- Whether to create an entry point or not
- matches
Span
Context Propagation Matches - Matching strategies for the Span
- name String
- The name of the rule
- action string
- Whether to create an entry point or not
- matches
Span
Context Propagation Matches - Matching strategies for the Span
- name string
- The name of the rule
- action str
- Whether to create an entry point or not
- matches
Span
Context Propagation Matches Args - Matching strategies for the Span
- name str
- The name of the rule
- action String
- Whether to create an entry point or not
- matches Property Map
- Matching strategies for the Span
- name String
- The name of the rule
Outputs
All input properties are implicitly available as output properties. Additionally, the SpanContextPropagation resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing SpanContextPropagation Resource
Get an existing SpanContextPropagation 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?: SpanContextPropagationState, opts?: CustomResourceOptions): SpanContextPropagation
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
action: Optional[str] = None,
matches: Optional[SpanContextPropagationMatchesArgs] = None,
name: Optional[str] = None) -> SpanContextPropagation
func GetSpanContextPropagation(ctx *Context, name string, id IDInput, state *SpanContextPropagationState, opts ...ResourceOption) (*SpanContextPropagation, error)
public static SpanContextPropagation Get(string name, Input<string> id, SpanContextPropagationState? state, CustomResourceOptions? opts = null)
public static SpanContextPropagation get(String name, Output<String> id, SpanContextPropagationState 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.
- Action string
- Whether to create an entry point or not
- Matches
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Span Context Propagation Matches - Matching strategies for the Span
- Name string
- The name of the rule
- Action string
- Whether to create an entry point or not
- Matches
Span
Context Propagation Matches Args - Matching strategies for the Span
- Name string
- The name of the rule
- action String
- Whether to create an entry point or not
- matches
Span
Context Propagation Matches - Matching strategies for the Span
- name String
- The name of the rule
- action string
- Whether to create an entry point or not
- matches
Span
Context Propagation Matches - Matching strategies for the Span
- name string
- The name of the rule
- action str
- Whether to create an entry point or not
- matches
Span
Context Propagation Matches Args - Matching strategies for the Span
- name str
- The name of the rule
- action String
- Whether to create an entry point or not
- matches Property Map
- Matching strategies for the Span
- name String
- The name of the rule
Supporting Types
SpanContextPropagationMatches, SpanContextPropagationMatchesArgs
- Matches
List<Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Span Context Propagation Matches Match> - Matching strategies for the Span
- Matches
[]Span
Context Propagation Matches Match - Matching strategies for the Span
- matches
List<Span
Context Propagation Matches Match> - Matching strategies for the Span
- matches
Span
Context Propagation Matches Match[] - Matching strategies for the Span
- matches
Sequence[Span
Context Propagation Matches Match] - Matching strategies for the Span
- matches List<Property Map>
- Matching strategies for the Span
SpanContextPropagationMatchesMatch, SpanContextPropagationMatchesMatchArgs
- Comparison string
- Source string
- Case
Sensitive bool - Key string
- Value string
- Comparison string
- Source string
- Case
Sensitive bool - Key string
- Value string
- comparison String
- source String
- case
Sensitive Boolean - key String
- value String
- comparison string
- source string
- case
Sensitive boolean - key string
- value string
- comparison str
- source str
- case_
sensitive bool - key str
- value str
- comparison String
- source String
- case
Sensitive Boolean - key String
- value String
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.