1. Packages
  2. Dynatrace
  3. API Docs
  4. IssueTracking
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

dynatrace.IssueTracking

Explore with Pulumi AI

dynatrace logo
Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse

    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 string
    The unique name of the resource.
    args IssueTrackingArgs
    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 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 string
    The unique name of the resource.
    args IssueTrackingArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args IssueTrackingArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args 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 bool
    This setting is enabled (true) or disabled (false)
    Issuelabel string
    Set a label to identify these issues, for example, release_blocker or non-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
    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
    InsertAfter 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 bool
    This setting is enabled (true) or disabled (false)
    Issuelabel string
    Set a label to identify these issues, for example, release_blocker or non-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
    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
    InsertAfter 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 Boolean
    This setting is enabled (true) or disabled (false)
    issuelabel String
    Set a label to identify these issues, for example, release_blocker or non-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
    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
    insertAfter 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 boolean
    This setting is enabled (true) or disabled (false)
    issuelabel string
    Set a label to identify these issues, for example, release_blocker or non-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
    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
    insertAfter 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 bool
    This setting is enabled (true) or disabled (false)
    issuelabel str
    Set a label to identify these issues, for example, release_blocker or non-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
    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
    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 Boolean
    This setting is enabled (true) or disabled (false)
    issuelabel String
    Set a label to identify these issues, for example, release_blocker or non-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
    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
    insertAfter 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)
    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:
    Enabled bool
    This setting is enabled (true) or disabled (false)
    InsertAfter 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 or non-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)
    InsertAfter 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 or non-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)
    insertAfter 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 or non-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)
    insertAfter 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 or non-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 or non-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)
    insertAfter 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 or non-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.
    dynatrace logo
    Dynatrace v0.21.0 published on Sunday, Nov 17, 2024 by Pulumiverse