dynatrace.GrailSecurityContext
Explore with Pulumi AI
Create GrailSecurityContext Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new GrailSecurityContext(name: string, args: GrailSecurityContextArgs, opts?: CustomResourceOptions);
@overload
def GrailSecurityContext(resource_name: str,
args: GrailSecurityContextArgs,
opts: Optional[ResourceOptions] = None)
@overload
def GrailSecurityContext(resource_name: str,
opts: Optional[ResourceOptions] = None,
destination_property: Optional[str] = None,
entity_type: Optional[str] = None,
insert_after: Optional[str] = None)
func NewGrailSecurityContext(ctx *Context, name string, args GrailSecurityContextArgs, opts ...ResourceOption) (*GrailSecurityContext, error)
public GrailSecurityContext(string name, GrailSecurityContextArgs args, CustomResourceOptions? opts = null)
public GrailSecurityContext(String name, GrailSecurityContextArgs args)
public GrailSecurityContext(String name, GrailSecurityContextArgs args, CustomResourceOptions options)
type: dynatrace:GrailSecurityContext
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 GrailSecurityContextArgs
- 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 GrailSecurityContextArgs
- 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 GrailSecurityContextArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GrailSecurityContextArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GrailSecurityContextArgs
- 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 grailSecurityContextResource = new Dynatrace.GrailSecurityContext("grailSecurityContextResource", new()
{
DestinationProperty = "string",
EntityType = "string",
InsertAfter = "string",
});
example, err := dynatrace.NewGrailSecurityContext(ctx, "grailSecurityContextResource", &dynatrace.GrailSecurityContextArgs{
DestinationProperty: pulumi.String("string"),
EntityType: pulumi.String("string"),
InsertAfter: pulumi.String("string"),
})
var grailSecurityContextResource = new GrailSecurityContext("grailSecurityContextResource", GrailSecurityContextArgs.builder()
.destinationProperty("string")
.entityType("string")
.insertAfter("string")
.build());
grail_security_context_resource = dynatrace.GrailSecurityContext("grailSecurityContextResource",
destination_property="string",
entity_type="string",
insert_after="string")
const grailSecurityContextResource = new dynatrace.GrailSecurityContext("grailSecurityContextResource", {
destinationProperty: "string",
entityType: "string",
insertAfter: "string",
});
type: dynatrace:GrailSecurityContext
properties:
destinationProperty: string
entityType: string
insertAfter: string
GrailSecurityContext 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 GrailSecurityContext resource accepts the following input properties:
- Destination
Property string - The case-sensitive name of a property of the destination type.
- Entity
Type string - Type of the entity whose security context to override.
- Insert
After 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
- Destination
Property string - The case-sensitive name of a property of the destination type.
- Entity
Type string - Type of the entity whose security context to override.
- Insert
After 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
- destination
Property String - The case-sensitive name of a property of the destination type.
- entity
Type String - Type of the entity whose security context to override.
- insert
After 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
- destination
Property string - The case-sensitive name of a property of the destination type.
- entity
Type string - Type of the entity whose security context to override.
- insert
After 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
- destination_
property str - The case-sensitive name of a property of the destination type.
- entity_
type str - Type of the entity whose security context to override.
- 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
- destination
Property String - The case-sensitive name of a property of the destination type.
- entity
Type String - Type of the entity whose security context to override.
- insert
After 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 GrailSecurityContext 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 GrailSecurityContext Resource
Get an existing GrailSecurityContext 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?: GrailSecurityContextState, opts?: CustomResourceOptions): GrailSecurityContext
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
destination_property: Optional[str] = None,
entity_type: Optional[str] = None,
insert_after: Optional[str] = None) -> GrailSecurityContext
func GetGrailSecurityContext(ctx *Context, name string, id IDInput, state *GrailSecurityContextState, opts ...ResourceOption) (*GrailSecurityContext, error)
public static GrailSecurityContext Get(string name, Input<string> id, GrailSecurityContextState? state, CustomResourceOptions? opts = null)
public static GrailSecurityContext get(String name, Output<String> id, GrailSecurityContextState 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.
- Destination
Property string - The case-sensitive name of a property of the destination type.
- Entity
Type string - Type of the entity whose security context to override.
- Insert
After 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
- Destination
Property string - The case-sensitive name of a property of the destination type.
- Entity
Type string - Type of the entity whose security context to override.
- Insert
After 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
- destination
Property String - The case-sensitive name of a property of the destination type.
- entity
Type String - Type of the entity whose security context to override.
- insert
After 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
- destination
Property string - The case-sensitive name of a property of the destination type.
- entity
Type string - Type of the entity whose security context to override.
- insert
After 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
- destination_
property str - The case-sensitive name of a property of the destination type.
- entity_
type str - Type of the entity whose security context to override.
- 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
- destination
Property String - The case-sensitive name of a property of the destination type.
- entity
Type String - Type of the entity whose security context to override.
- insert
After 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
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.