dynatrace.HttpMonitorCookies
Explore with Pulumi AI
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.
Constructor 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={
"cookies": [{
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
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)
- Pulumiverse.
Dynatrace. Inputs. Http Monitor Cookies Cookies - no documentation available
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Scope string
- The scope of this setting (HTTP_CHECK)
- Http
Monitor Cookies Cookies Args - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - scope String
- The scope of this setting (HTTP_CHECK)
- Http
Monitor Cookies Cookies - no documentation available
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - scope string
- The scope of this setting (HTTP_CHECK)
- Http
Monitor Cookies Cookies - no documentation available
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - scope str
- The scope of this setting (HTTP_CHECK)
- Http
Monitor Cookies Cookies Args - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - scope String
- The scope of this setting (HTTP_CHECK)
- 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.
- Pulumiverse.
Dynatrace. Inputs. Http Monitor Cookies Cookies - no documentation available
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Scope string
- The scope of this setting (HTTP_CHECK)
- Http
Monitor Cookies Cookies Args - no documentation available
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - Scope string
- The scope of this setting (HTTP_CHECK)
- Http
Monitor Cookies Cookies - no documentation available
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - scope String
- The scope of this setting (HTTP_CHECK)
- Http
Monitor Cookies Cookies - no documentation available
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - scope string
- The scope of this setting (HTTP_CHECK)
- Http
Monitor Cookies Cookies Args - no documentation available
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - scope str
- The scope of this setting (HTTP_CHECK)
- 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
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.