1. Packages
  2. Dynatrace
  3. API Docs
  4. HttpMonitorCookies
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

dynatrace.HttpMonitorCookies

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs

    Create HttpMonitorCookies Resource

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

    Constructor syntax

    new HttpMonitorCookies(name: string, args: HttpMonitorCookiesArgs, opts?: CustomResourceOptions);
    @overload
    def HttpMonitorCookies(resource_name: str,
                           args: HttpMonitorCookiesArgs,
                           opts: Optional[ResourceOptions] = None)
    
    @overload
    def HttpMonitorCookies(resource_name: str,
                           opts: Optional[ResourceOptions] = None,
                           enabled: Optional[bool] = None,
                           scope: Optional[str] = None,
                           cookies: Optional[HttpMonitorCookiesCookiesArgs] = None)
    func NewHttpMonitorCookies(ctx *Context, name string, args HttpMonitorCookiesArgs, opts ...ResourceOption) (*HttpMonitorCookies, error)
    public HttpMonitorCookies(string name, HttpMonitorCookiesArgs args, CustomResourceOptions? opts = null)
    public HttpMonitorCookies(String name, HttpMonitorCookiesArgs args)
    public HttpMonitorCookies(String name, HttpMonitorCookiesArgs args, CustomResourceOptions options)
    
    type: dynatrace:HttpMonitorCookies
    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 HttpMonitorCookiesArgs
    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 HttpMonitorCookiesArgs
    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 HttpMonitorCookiesArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args HttpMonitorCookiesArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args HttpMonitorCookiesArgs
    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 httpMonitorCookiesResource = new Dynatrace.HttpMonitorCookies("httpMonitorCookiesResource", new()
    {
        Enabled = false,
        Scope = "string",
        Cookies = new Dynatrace.Inputs.HttpMonitorCookiesCookiesArgs
        {
            Cookies = new[]
            {
                new Dynatrace.Inputs.HttpMonitorCookiesCookiesCookieArgs
                {
                    Domain = "string",
                    Name = "string",
                    Value = "string",
                    Path = "string",
                },
            },
        },
    });
    
    example, err := dynatrace.NewHttpMonitorCookies(ctx, "httpMonitorCookiesResource", &dynatrace.HttpMonitorCookiesArgs{
    	Enabled: pulumi.Bool(false),
    	Scope:   pulumi.String("string"),
    	Cookies: &dynatrace.HttpMonitorCookiesCookiesArgs{
    		Cookies: dynatrace.HttpMonitorCookiesCookiesCookieArray{
    			&dynatrace.HttpMonitorCookiesCookiesCookieArgs{
    				Domain: pulumi.String("string"),
    				Name:   pulumi.String("string"),
    				Value:  pulumi.String("string"),
    				Path:   pulumi.String("string"),
    			},
    		},
    	},
    })
    
    var httpMonitorCookiesResource = new HttpMonitorCookies("httpMonitorCookiesResource", HttpMonitorCookiesArgs.builder()        
        .enabled(false)
        .scope("string")
        .cookies(HttpMonitorCookiesCookiesArgs.builder()
            .cookies(HttpMonitorCookiesCookiesCookieArgs.builder()
                .domain("string")
                .name("string")
                .value("string")
                .path("string")
                .build())
            .build())
        .build());
    
    http_monitor_cookies_resource = dynatrace.HttpMonitorCookies("httpMonitorCookiesResource",
        enabled=False,
        scope="string",
        cookies=dynatrace.HttpMonitorCookiesCookiesArgs(
            cookies=[dynatrace.HttpMonitorCookiesCookiesCookieArgs(
                domain="string",
                name="string",
                value="string",
                path="string",
            )],
        ))
    
    const httpMonitorCookiesResource = new dynatrace.HttpMonitorCookies("httpMonitorCookiesResource", {
        enabled: false,
        scope: "string",
        cookies: {
            cookies: [{
                domain: "string",
                name: "string",
                value: "string",
                path: "string",
            }],
        },
    });
    
    type: dynatrace:HttpMonitorCookies
    properties:
        cookies:
            cookies:
                - domain: string
                  name: string
                  path: string
                  value: string
        enabled: false
        scope: string
    

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

    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (HTTP_CHECK)
    Cookies Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorCookiesCookies
    no documentation available
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (HTTP_CHECK)
    Cookies HttpMonitorCookiesCookiesArgs
    no documentation available
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (HTTP_CHECK)
    cookies HttpMonitorCookiesCookies
    no documentation available
    enabled boolean
    This setting is enabled (true) or disabled (false)
    scope string
    The scope of this setting (HTTP_CHECK)
    cookies HttpMonitorCookiesCookies
    no documentation available
    enabled bool
    This setting is enabled (true) or disabled (false)
    scope str
    The scope of this setting (HTTP_CHECK)
    cookies HttpMonitorCookiesCookiesArgs
    no documentation available
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (HTTP_CHECK)
    cookies Property Map
    no documentation available

    Outputs

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

    Get an existing HttpMonitorCookies 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?: HttpMonitorCookiesState, opts?: CustomResourceOptions): HttpMonitorCookies
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cookies: Optional[HttpMonitorCookiesCookiesArgs] = None,
            enabled: Optional[bool] = None,
            scope: Optional[str] = None) -> HttpMonitorCookies
    func GetHttpMonitorCookies(ctx *Context, name string, id IDInput, state *HttpMonitorCookiesState, opts ...ResourceOption) (*HttpMonitorCookies, error)
    public static HttpMonitorCookies Get(string name, Input<string> id, HttpMonitorCookiesState? state, CustomResourceOptions? opts = null)
    public static HttpMonitorCookies get(String name, Output<String> id, HttpMonitorCookiesState 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:
    Cookies Lbrlabs.PulumiPackage.Dynatrace.Inputs.HttpMonitorCookiesCookies
    no documentation available
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (HTTP_CHECK)
    Cookies HttpMonitorCookiesCookiesArgs
    no documentation available
    Enabled bool
    This setting is enabled (true) or disabled (false)
    Scope string
    The scope of this setting (HTTP_CHECK)
    cookies HttpMonitorCookiesCookies
    no documentation available
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (HTTP_CHECK)
    cookies HttpMonitorCookiesCookies
    no documentation available
    enabled boolean
    This setting is enabled (true) or disabled (false)
    scope string
    The scope of this setting (HTTP_CHECK)
    cookies HttpMonitorCookiesCookiesArgs
    no documentation available
    enabled bool
    This setting is enabled (true) or disabled (false)
    scope str
    The scope of this setting (HTTP_CHECK)
    cookies Property Map
    no documentation available
    enabled Boolean
    This setting is enabled (true) or disabled (false)
    scope String
    The scope of this setting (HTTP_CHECK)

    Supporting Types

    HttpMonitorCookiesCookies, HttpMonitorCookiesCookiesArgs

    HttpMonitorCookiesCookiesCookie, HttpMonitorCookiesCookiesCookieArgs

    Domain string
    Name string
    Value string
    Path string
    Domain string
    Name string
    Value string
    Path string
    domain String
    name String
    value String
    path String
    domain string
    name string
    value string
    path string
    domain str
    name str
    value str
    path str
    domain String
    name String
    value String
    path String

    Package Details

    Repository
    dynatrace lbrlabs/pulumi-dynatrace
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the dynatrace Terraform Provider.
    dynatrace logo
    Dynatrace v0.1.0 published on Wednesday, May 24, 2023 by Lbrlabs