dynatrace.GenericRelationships
Explore with Pulumi AI
Create GenericRelationships Resource
new GenericRelationships(name: string, args: GenericRelationshipsArgs, opts?: CustomResourceOptions);
@overload
def GenericRelationships(resource_name: str,
opts: Optional[ResourceOptions] = None,
created_by: Optional[str] = None,
enabled: Optional[bool] = None,
from_role: Optional[str] = None,
from_type: Optional[str] = None,
sources: Optional[GenericRelationshipsSourcesArgs] = None,
to_role: Optional[str] = None,
to_type: Optional[str] = None,
type_of_relation: Optional[str] = None)
@overload
def GenericRelationships(resource_name: str,
args: GenericRelationshipsArgs,
opts: Optional[ResourceOptions] = None)
func NewGenericRelationships(ctx *Context, name string, args GenericRelationshipsArgs, opts ...ResourceOption) (*GenericRelationships, error)
public GenericRelationships(string name, GenericRelationshipsArgs args, CustomResourceOptions? opts = null)
public GenericRelationships(String name, GenericRelationshipsArgs args)
public GenericRelationships(String name, GenericRelationshipsArgs args, CustomResourceOptions options)
type: dynatrace:GenericRelationships
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GenericRelationshipsArgs
- 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 GenericRelationshipsArgs
- 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 GenericRelationshipsArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args GenericRelationshipsArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args GenericRelationshipsArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
GenericRelationships 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 GenericRelationships resource accepts the following input properties:
- Created
By string The user or extension that created this relationship.
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- From
Type string Define an entity type as the source of the relationship.
- Sources
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Generic Relationships Sources Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- To
Type string Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- Type
Of stringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- From
Role string Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- To
Role string Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- Created
By string The user or extension that created this relationship.
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- From
Type string Define an entity type as the source of the relationship.
- Sources
Generic
Relationships Sources Args Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- To
Type string Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- Type
Of stringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- From
Role string Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- To
Role string Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- created
By String The user or extension that created this relationship.
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- from
Type String Define an entity type as the source of the relationship.
- sources
Generic
Relationships Sources Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- to
Type String Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- type
Of StringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- from
Role String Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- to
Role String Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- created
By string The user or extension that created this relationship.
- enabled boolean
This setting is enabled (
true
) or disabled (false
)- from
Type string Define an entity type as the source of the relationship.
- sources
Generic
Relationships Sources Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- to
Type string Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- type
Of stringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- from
Role string Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- to
Role string Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- created_
by str The user or extension that created this relationship.
- enabled bool
This setting is enabled (
true
) or disabled (false
)- from_
type str Define an entity type as the source of the relationship.
- sources
Generic
Relationships Sources Args Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- to_
type str Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- type_
of_ strrelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- from_
role str Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- to_
role str Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- created
By String The user or extension that created this relationship.
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- from
Type String Define an entity type as the source of the relationship.
- sources Property Map
Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- to
Type String Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- type
Of StringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- from
Role String Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- to
Role String Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
Outputs
All input properties are implicitly available as output properties. Additionally, the GenericRelationships 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 GenericRelationships Resource
Get an existing GenericRelationships 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?: GenericRelationshipsState, opts?: CustomResourceOptions): GenericRelationships
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created_by: Optional[str] = None,
enabled: Optional[bool] = None,
from_role: Optional[str] = None,
from_type: Optional[str] = None,
sources: Optional[GenericRelationshipsSourcesArgs] = None,
to_role: Optional[str] = None,
to_type: Optional[str] = None,
type_of_relation: Optional[str] = None) -> GenericRelationships
func GetGenericRelationships(ctx *Context, name string, id IDInput, state *GenericRelationshipsState, opts ...ResourceOption) (*GenericRelationships, error)
public static GenericRelationships Get(string name, Input<string> id, GenericRelationshipsState? state, CustomResourceOptions? opts = null)
public static GenericRelationships get(String name, Output<String> id, GenericRelationshipsState 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.
- Created
By string The user or extension that created this relationship.
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- From
Role string Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- From
Type string Define an entity type as the source of the relationship.
- Sources
Lbrlabs.
Pulumi Package. Dynatrace. Inputs. Generic Relationships Sources Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- To
Role string Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- To
Type string Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- Type
Of stringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- Created
By string The user or extension that created this relationship.
- Enabled bool
This setting is enabled (
true
) or disabled (false
)- From
Role string Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- From
Type string Define an entity type as the source of the relationship.
- Sources
Generic
Relationships Sources Args Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- To
Role string Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- To
Type string Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- Type
Of stringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- created
By String The user or extension that created this relationship.
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- from
Role String Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- from
Type String Define an entity type as the source of the relationship.
- sources
Generic
Relationships Sources Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- to
Role String Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- to
Type String Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- type
Of StringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- created
By string The user or extension that created this relationship.
- enabled boolean
This setting is enabled (
true
) or disabled (false
)- from
Role string Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- from
Type string Define an entity type as the source of the relationship.
- sources
Generic
Relationships Sources Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- to
Role string Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- to
Type string Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- type
Of stringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- created_
by str The user or extension that created this relationship.
- enabled bool
This setting is enabled (
true
) or disabled (false
)- from_
role str Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- from_
type str Define an entity type as the source of the relationship.
- sources
Generic
Relationships Sources Args Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- to_
role str Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- to_
type str Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- type_
of_ strrelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
- created
By String The user or extension that created this relationship.
- enabled Boolean
This setting is enabled (
true
) or disabled (false
)- from
Role String Specify a role for the source entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the source type is considered for the relationship.
- from
Type String Define an entity type as the source of the relationship.
- sources Property Map
Specify all sources which should be evaluated for this relationship rule. The relationship is only created when any of the filters match.
- to
Role String Specify a role for the destination entity. If both source and destination type are the same, referring different roles will allow identification of a relationships direction. If role is left blank, any role of the destination type is considered for the relationship.
- to
Type String Define an entity type as the destination of the relationship. You can choose the same type as the source type. In this case you also may assign different roles for source and destination for having directed relationships.
- type
Of StringRelation Possible Values:
CALLS
,CHILD_OF
,INSTANCE_OF
,PART_OF
,RUNS_ON
,SAME_AS
Supporting Types
GenericRelationshipsSources, GenericRelationshipsSourcesArgs
GenericRelationshipsSourcesSource, GenericRelationshipsSourcesSourceArgs
- source
Type String - condition String
- mapping
Rules Property Map
GenericRelationshipsSourcesSourceMappingRules, GenericRelationshipsSourcesSourceMappingRulesArgs
GenericRelationshipsSourcesSourceMappingRulesMappingRule, GenericRelationshipsSourcesSourceMappingRulesMappingRuleArgs
- Destination
Property string - Destination
Transformation string - Source
Property string - Source
Transformation string
- Destination
Property string - Destination
Transformation string - Source
Property string - Source
Transformation string
- destination
Property String - destination
Transformation String - source
Property String - source
Transformation String
- destination
Property string - destination
Transformation string - source
Property string - source
Transformation string
- destination
Property String - destination
Transformation String - source
Property String - source
Transformation String
Package Details
- Repository
- dynatrace lbrlabs/pulumi-dynatrace
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
dynatrace
Terraform Provider.