1. Packages
  2. Dynatrace
  3. API Docs
  4. BusinessEventsSecurityContext
Dynatrace v0.12.0 published on Tuesday, Jul 16, 2024 by Pulumiverse

dynatrace.BusinessEventsSecurityContext

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.12.0 published on Tuesday, Jul 16, 2024 by Pulumiverse

    Create BusinessEventsSecurityContext Resource

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

    Constructor syntax

    new BusinessEventsSecurityContext(name: string, args: BusinessEventsSecurityContextArgs, opts?: CustomResourceOptions);
    @overload
    def BusinessEventsSecurityContext(resource_name: str,
                                      args: BusinessEventsSecurityContextArgs,
                                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def BusinessEventsSecurityContext(resource_name: str,
                                      opts: Optional[ResourceOptions] = None,
                                      security_context_rule: Optional[BusinessEventsSecurityContextSecurityContextRuleArgs] = None,
                                      insert_after: Optional[str] = None)
    func NewBusinessEventsSecurityContext(ctx *Context, name string, args BusinessEventsSecurityContextArgs, opts ...ResourceOption) (*BusinessEventsSecurityContext, error)
    public BusinessEventsSecurityContext(string name, BusinessEventsSecurityContextArgs args, CustomResourceOptions? opts = null)
    public BusinessEventsSecurityContext(String name, BusinessEventsSecurityContextArgs args)
    public BusinessEventsSecurityContext(String name, BusinessEventsSecurityContextArgs args, CustomResourceOptions options)
    
    type: dynatrace:BusinessEventsSecurityContext
    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 BusinessEventsSecurityContextArgs
    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 BusinessEventsSecurityContextArgs
    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 BusinessEventsSecurityContextArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BusinessEventsSecurityContextArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BusinessEventsSecurityContextArgs
    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 businessEventsSecurityContextResource = new Dynatrace.BusinessEventsSecurityContext("businessEventsSecurityContextResource", new()
    {
        SecurityContextRule = new Dynatrace.Inputs.BusinessEventsSecurityContextSecurityContextRuleArgs
        {
            Query = "string",
            RuleName = "string",
            ValueSource = "string",
            Value = "string",
            ValueSourceField = "string",
        },
        InsertAfter = "string",
    });
    
    example, err := dynatrace.NewBusinessEventsSecurityContext(ctx, "businessEventsSecurityContextResource", &dynatrace.BusinessEventsSecurityContextArgs{
    	SecurityContextRule: &dynatrace.BusinessEventsSecurityContextSecurityContextRuleArgs{
    		Query:            pulumi.String("string"),
    		RuleName:         pulumi.String("string"),
    		ValueSource:      pulumi.String("string"),
    		Value:            pulumi.String("string"),
    		ValueSourceField: pulumi.String("string"),
    	},
    	InsertAfter: pulumi.String("string"),
    })
    
    var businessEventsSecurityContextResource = new BusinessEventsSecurityContext("businessEventsSecurityContextResource", BusinessEventsSecurityContextArgs.builder()
        .securityContextRule(BusinessEventsSecurityContextSecurityContextRuleArgs.builder()
            .query("string")
            .ruleName("string")
            .valueSource("string")
            .value("string")
            .valueSourceField("string")
            .build())
        .insertAfter("string")
        .build());
    
    business_events_security_context_resource = dynatrace.BusinessEventsSecurityContext("businessEventsSecurityContextResource",
        security_context_rule=dynatrace.BusinessEventsSecurityContextSecurityContextRuleArgs(
            query="string",
            rule_name="string",
            value_source="string",
            value="string",
            value_source_field="string",
        ),
        insert_after="string")
    
    const businessEventsSecurityContextResource = new dynatrace.BusinessEventsSecurityContext("businessEventsSecurityContextResource", {
        securityContextRule: {
            query: "string",
            ruleName: "string",
            valueSource: "string",
            value: "string",
            valueSourceField: "string",
        },
        insertAfter: "string",
    });
    
    type: dynatrace:BusinessEventsSecurityContext
    properties:
        insertAfter: string
        securityContextRule:
            query: string
            ruleName: string
            value: string
            valueSource: string
            valueSourceField: string
    

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

    SecurityContextRule Pulumiverse.Dynatrace.Inputs.BusinessEventsSecurityContextSecurityContextRule
    no documentation available
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    SecurityContextRule BusinessEventsSecurityContextSecurityContextRuleArgs
    no documentation available
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    securityContextRule BusinessEventsSecurityContextSecurityContextRule
    no documentation available
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    securityContextRule BusinessEventsSecurityContextSecurityContextRule
    no documentation available
    insertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    security_context_rule BusinessEventsSecurityContextSecurityContextRuleArgs
    no documentation available
    insert_after str
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    securityContextRule Property Map
    no documentation available
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BusinessEventsSecurityContext 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 BusinessEventsSecurityContext Resource

    Get an existing BusinessEventsSecurityContext 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?: BusinessEventsSecurityContextState, opts?: CustomResourceOptions): BusinessEventsSecurityContext
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            insert_after: Optional[str] = None,
            security_context_rule: Optional[BusinessEventsSecurityContextSecurityContextRuleArgs] = None) -> BusinessEventsSecurityContext
    func GetBusinessEventsSecurityContext(ctx *Context, name string, id IDInput, state *BusinessEventsSecurityContextState, opts ...ResourceOption) (*BusinessEventsSecurityContext, error)
    public static BusinessEventsSecurityContext Get(string name, Input<string> id, BusinessEventsSecurityContextState? state, CustomResourceOptions? opts = null)
    public static BusinessEventsSecurityContext get(String name, Output<String> id, BusinessEventsSecurityContextState 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:
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    SecurityContextRule Pulumiverse.Dynatrace.Inputs.BusinessEventsSecurityContextSecurityContextRule
    no documentation available
    InsertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    SecurityContextRule BusinessEventsSecurityContextSecurityContextRuleArgs
    no documentation available
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    securityContextRule BusinessEventsSecurityContextSecurityContextRule
    no documentation available
    insertAfter string
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    securityContextRule BusinessEventsSecurityContextSecurityContextRule
    no documentation available
    insert_after str
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    security_context_rule BusinessEventsSecurityContextSecurityContextRuleArgs
    no documentation available
    insertAfter String
    Because this resource allows for ordering you may specify the ID of the resource instance that comes before this instance regarding order. If not specified when creating the setting will be added to the end of the list. If not specified during update the order will remain untouched
    securityContextRule Property Map
    no documentation available

    Supporting Types

    BusinessEventsSecurityContextSecurityContextRule, BusinessEventsSecurityContextSecurityContextRuleArgs

    Query string
    Matcher
    RuleName string
    Rule name
    ValueSource string
    Possible Values: FIELD, LITERAL
    Value string
    Literal value to be set
    ValueSourceField string
    Name of field used to copy value
    Query string
    Matcher
    RuleName string
    Rule name
    ValueSource string
    Possible Values: FIELD, LITERAL
    Value string
    Literal value to be set
    ValueSourceField string
    Name of field used to copy value
    query String
    Matcher
    ruleName String
    Rule name
    valueSource String
    Possible Values: FIELD, LITERAL
    value String
    Literal value to be set
    valueSourceField String
    Name of field used to copy value
    query string
    Matcher
    ruleName string
    Rule name
    valueSource string
    Possible Values: FIELD, LITERAL
    value string
    Literal value to be set
    valueSourceField string
    Name of field used to copy value
    query str
    Matcher
    rule_name str
    Rule name
    value_source str
    Possible Values: FIELD, LITERAL
    value str
    Literal value to be set
    value_source_field str
    Name of field used to copy value
    query String
    Matcher
    ruleName String
    Rule name
    valueSource String
    Possible Values: FIELD, LITERAL
    value String
    Literal value to be set
    valueSourceField String
    Name of field used to copy value

    Package Details

    Repository
    dynatrace pulumiverse/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.12.0 published on Tuesday, Jul 16, 2024 by Pulumiverse