dynatrace.IssueTracking
Explore with Pulumi AI
Create IssueTracking Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IssueTracking(name: string, args: IssueTrackingArgs, opts?: CustomResourceOptions);
@overload
def IssueTracking(resource_name: str,
args: IssueTrackingArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IssueTracking(resource_name: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
issuelabel: Optional[str] = None,
issuequery: Optional[str] = None,
issuetheme: Optional[str] = None,
issuetrackersystem: Optional[str] = None,
url: Optional[str] = None,
username: Optional[str] = None,
insert_after: Optional[str] = None,
password: Optional[str] = None,
token: Optional[str] = None)
func NewIssueTracking(ctx *Context, name string, args IssueTrackingArgs, opts ...ResourceOption) (*IssueTracking, error)
public IssueTracking(string name, IssueTrackingArgs args, CustomResourceOptions? opts = null)
public IssueTracking(String name, IssueTrackingArgs args)
public IssueTracking(String name, IssueTrackingArgs args, CustomResourceOptions options)
type: dynatrace:IssueTracking
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name
This property is required. string - The unique name of the resource.
- args
This property is required. IssueTrackingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name
This property is required. str - The unique name of the resource.
- args
This property is required. IssueTrackingArgs - The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. IssueTrackingArgs - The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name
This property is required. string - The unique name of the resource.
- args
This property is required. IssueTrackingArgs - The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name
This property is required. String - The unique name of the resource.
- args
This property is required. IssueTrackingArgs - 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 issueTrackingResource = new Dynatrace.IssueTracking("issueTrackingResource", new()
{
Enabled = false,
Issuelabel = "string",
Issuequery = "string",
Issuetheme = "string",
Issuetrackersystem = "string",
Url = "string",
Username = "string",
InsertAfter = "string",
Password = "string",
Token = "string",
});
example, err := dynatrace.NewIssueTracking(ctx, "issueTrackingResource", &dynatrace.IssueTrackingArgs{
Enabled: pulumi.Bool(false),
Issuelabel: pulumi.String("string"),
Issuequery: pulumi.String("string"),
Issuetheme: pulumi.String("string"),
Issuetrackersystem: pulumi.String("string"),
Url: pulumi.String("string"),
Username: pulumi.String("string"),
InsertAfter: pulumi.String("string"),
Password: pulumi.String("string"),
Token: pulumi.String("string"),
})
var issueTrackingResource = new IssueTracking("issueTrackingResource", IssueTrackingArgs.builder()
.enabled(false)
.issuelabel("string")
.issuequery("string")
.issuetheme("string")
.issuetrackersystem("string")
.url("string")
.username("string")
.insertAfter("string")
.password("string")
.token("string")
.build());
issue_tracking_resource = dynatrace.IssueTracking("issueTrackingResource",
enabled=False,
issuelabel="string",
issuequery="string",
issuetheme="string",
issuetrackersystem="string",
url="string",
username="string",
insert_after="string",
password="string",
token="string")
const issueTrackingResource = new dynatrace.IssueTracking("issueTrackingResource", {
enabled: false,
issuelabel: "string",
issuequery: "string",
issuetheme: "string",
issuetrackersystem: "string",
url: "string",
username: "string",
insertAfter: "string",
password: "string",
token: "string",
});
type: dynatrace:IssueTracking
properties:
enabled: false
insertAfter: string
issuelabel: string
issuequery: string
issuetheme: string
issuetrackersystem: string
password: string
token: string
url: string
username: string
IssueTracking 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 IssueTracking resource accepts the following input properties:
- Enabled
This property is required. bool - This setting is enabled (
true
) or disabled (false
) - Issuelabel
This property is required. string - Set a label to identify these issues, for example,
release_blocker
ornon-critical
- Issuequery
This property is required. string - You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - Issuetheme
This property is required. string - Possible Values:
ERROR
,INFO
,RESOLVED
- Issuetrackersystem
This property is required. string - Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- Url
This property is required. string - For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- Username
This property is required. string - Username
- 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
- Password string
- Password
- Token string
- Token
- Enabled
This property is required. bool - This setting is enabled (
true
) or disabled (false
) - Issuelabel
This property is required. string - Set a label to identify these issues, for example,
release_blocker
ornon-critical
- Issuequery
This property is required. string - You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - Issuetheme
This property is required. string - Possible Values:
ERROR
,INFO
,RESOLVED
- Issuetrackersystem
This property is required. string - Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- Url
This property is required. string - For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- Username
This property is required. string - Username
- 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
- Password string
- Password
- Token string
- Token
- enabled
This property is required. Boolean - This setting is enabled (
true
) or disabled (false
) - issuelabel
This property is required. String - Set a label to identify these issues, for example,
release_blocker
ornon-critical
- issuequery
This property is required. String - You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - issuetheme
This property is required. String - Possible Values:
ERROR
,INFO
,RESOLVED
- issuetrackersystem
This property is required. String - Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- url
This property is required. String - For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- username
This property is required. String - Username
- 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
- password String
- Password
- token String
- Token
- enabled
This property is required. boolean - This setting is enabled (
true
) or disabled (false
) - issuelabel
This property is required. string - Set a label to identify these issues, for example,
release_blocker
ornon-critical
- issuequery
This property is required. string - You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - issuetheme
This property is required. string - Possible Values:
ERROR
,INFO
,RESOLVED
- issuetrackersystem
This property is required. string - Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- url
This property is required. string - For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- username
This property is required. string - Username
- 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
- password string
- Password
- token string
- Token
- enabled
This property is required. bool - This setting is enabled (
true
) or disabled (false
) - issuelabel
This property is required. str - Set a label to identify these issues, for example,
release_blocker
ornon-critical
- issuequery
This property is required. str - You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - issuetheme
This property is required. str - Possible Values:
ERROR
,INFO
,RESOLVED
- issuetrackersystem
This property is required. str - Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- url
This property is required. str - For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- username
This property is required. str - Username
- 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
- password str
- Password
- token str
- Token
- enabled
This property is required. Boolean - This setting is enabled (
true
) or disabled (false
) - issuelabel
This property is required. String - Set a label to identify these issues, for example,
release_blocker
ornon-critical
- issuequery
This property is required. String - You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - issuetheme
This property is required. String - Possible Values:
ERROR
,INFO
,RESOLVED
- issuetrackersystem
This property is required. String - Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- url
This property is required. String - For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- username
This property is required. String - Username
- 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
- password String
- Password
- token String
- Token
Outputs
All input properties are implicitly available as output properties. Additionally, the IssueTracking 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 IssueTracking Resource
Get an existing IssueTracking 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?: IssueTrackingState, opts?: CustomResourceOptions): IssueTracking
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
enabled: Optional[bool] = None,
insert_after: Optional[str] = None,
issuelabel: Optional[str] = None,
issuequery: Optional[str] = None,
issuetheme: Optional[str] = None,
issuetrackersystem: Optional[str] = None,
password: Optional[str] = None,
token: Optional[str] = None,
url: Optional[str] = None,
username: Optional[str] = None) -> IssueTracking
func GetIssueTracking(ctx *Context, name string, id IDInput, state *IssueTrackingState, opts ...ResourceOption) (*IssueTracking, error)
public static IssueTracking Get(string name, Input<string> id, IssueTrackingState? state, CustomResourceOptions? opts = null)
public static IssueTracking get(String name, Output<String> id, IssueTrackingState state, CustomResourceOptions options)
resources: _: type: dynatrace:IssueTracking get: id: ${id}
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - The unique provider ID of the resource to lookup.
- name
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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
This property is required. - The unique name of the resulting resource.
- id
This property is required. - 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.
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - 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
- Issuelabel string
- Set a label to identify these issues, for example,
release_blocker
ornon-critical
- Issuequery string
- You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - Issuetheme string
- Possible Values:
ERROR
,INFO
,RESOLVED
- Issuetrackersystem string
- Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- Password string
- Password
- Token string
- Token
- Url string
- For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- Username string
- Username
- Enabled bool
- This setting is enabled (
true
) or disabled (false
) - 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
- Issuelabel string
- Set a label to identify these issues, for example,
release_blocker
ornon-critical
- Issuequery string
- You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - Issuetheme string
- Possible Values:
ERROR
,INFO
,RESOLVED
- Issuetrackersystem string
- Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- Password string
- Password
- Token string
- Token
- Url string
- For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- Username string
- Username
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - 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
- issuelabel String
- Set a label to identify these issues, for example,
release_blocker
ornon-critical
- issuequery String
- You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - issuetheme String
- Possible Values:
ERROR
,INFO
,RESOLVED
- issuetrackersystem String
- Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- password String
- Password
- token String
- Token
- url String
- For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- username String
- Username
- enabled boolean
- This setting is enabled (
true
) or disabled (false
) - 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
- issuelabel string
- Set a label to identify these issues, for example,
release_blocker
ornon-critical
- issuequery string
- You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - issuetheme string
- Possible Values:
ERROR
,INFO
,RESOLVED
- issuetrackersystem string
- Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- password string
- Password
- token string
- Token
- url string
- For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- username string
- Username
- enabled bool
- This setting is enabled (
true
) or disabled (false
) - 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
- issuelabel str
- Set a label to identify these issues, for example,
release_blocker
ornon-critical
- issuequery str
- You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - issuetheme str
- Possible Values:
ERROR
,INFO
,RESOLVED
- issuetrackersystem str
- Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- password str
- Password
- token str
- Token
- url str
- For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- username str
- Username
- enabled Boolean
- This setting is enabled (
true
) or disabled (false
) - 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
- issuelabel String
- Set a label to identify these issues, for example,
release_blocker
ornon-critical
- issuequery String
- You can use the following placeholders to automatically insert values from the Release monitoring page in your query:
{NAME}
,{VERSION}
,{STAGE}
,{PRODUCT}
. - issuetheme String
- Possible Values:
ERROR
,INFO
,RESOLVED
- issuetrackersystem String
- Possible Values:
GITHUB
,GITLAB
,JIRA
,JIRA_CLOUD
,JIRA_ON_PREMISE
,SERVICENOW
- password String
- Password
- token String
- Token
- url String
- For Jira, use the base URL (for example, https://jira.yourcompany.com); for GitHub, use the repository URL (for example, https://github.com/org/repo); for GitLab, use the specific project API for a single project (for example, https://gitlab.com/api/v4/projects/:projectId), and the specific group API for a multiple projects (for example, https://gitlab.com/api/v4/groups/:groupId); for ServiceNow, use your company instance URL (for example, https://yourinstance.service-now.com/)
- username String
- Username
Package Details
- Repository
- dynatrace pulumiverse/pulumi-dynatrace
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
dynatrace
Terraform Provider.