gitlab.IntegrationRedmine
Explore with Pulumi AI
The gitlab.IntegrationRedmine
resource allows to manage the lifecycle of a project integration with Redmine.
Using Redmine requires that GitLab internal issue tracking is disabled for the project.
Upstream API: GitLab REST API docs
Create IntegrationRedmine Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationRedmine(name: string, args: IntegrationRedmineArgs, opts?: CustomResourceOptions);
@overload
def IntegrationRedmine(resource_name: str,
args: IntegrationRedmineArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationRedmine(resource_name: str,
opts: Optional[ResourceOptions] = None,
issues_url: Optional[str] = None,
new_issue_url: Optional[str] = None,
project: Optional[str] = None,
project_url: Optional[str] = None,
use_inherited_settings: Optional[bool] = None)
func NewIntegrationRedmine(ctx *Context, name string, args IntegrationRedmineArgs, opts ...ResourceOption) (*IntegrationRedmine, error)
public IntegrationRedmine(string name, IntegrationRedmineArgs args, CustomResourceOptions? opts = null)
public IntegrationRedmine(String name, IntegrationRedmineArgs args)
public IntegrationRedmine(String name, IntegrationRedmineArgs args, CustomResourceOptions options)
type: gitlab:IntegrationRedmine
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 IntegrationRedmineArgs
- 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 IntegrationRedmineArgs
- 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 IntegrationRedmineArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationRedmineArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationRedmineArgs
- 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 integrationRedmineResource = new GitLab.IntegrationRedmine("integrationRedmineResource", new()
{
IssuesUrl = "string",
NewIssueUrl = "string",
Project = "string",
ProjectUrl = "string",
UseInheritedSettings = false,
});
example, err := gitlab.NewIntegrationRedmine(ctx, "integrationRedmineResource", &gitlab.IntegrationRedmineArgs{
IssuesUrl: pulumi.String("string"),
NewIssueUrl: pulumi.String("string"),
Project: pulumi.String("string"),
ProjectUrl: pulumi.String("string"),
UseInheritedSettings: pulumi.Bool(false),
})
var integrationRedmineResource = new IntegrationRedmine("integrationRedmineResource", IntegrationRedmineArgs.builder()
.issuesUrl("string")
.newIssueUrl("string")
.project("string")
.projectUrl("string")
.useInheritedSettings(false)
.build());
integration_redmine_resource = gitlab.IntegrationRedmine("integrationRedmineResource",
issues_url="string",
new_issue_url="string",
project="string",
project_url="string",
use_inherited_settings=False)
const integrationRedmineResource = new gitlab.IntegrationRedmine("integrationRedmineResource", {
issuesUrl: "string",
newIssueUrl: "string",
project: "string",
projectUrl: "string",
useInheritedSettings: false,
});
type: gitlab:IntegrationRedmine
properties:
issuesUrl: string
newIssueUrl: string
project: string
projectUrl: string
useInheritedSettings: false
IntegrationRedmine 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 IntegrationRedmine resource accepts the following input properties:
- Issues
Url string - The URL to the Redmine project issue to link to this GitLab project.
- New
Issue stringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- Project string
- ID of the project you want to activate integration on.
- Project
Url string - The URL to the Redmine project to link to this GitLab project.
- Use
Inherited boolSettings - Indicates whether or not to inherit default settings. Defaults to false.
- Issues
Url string - The URL to the Redmine project issue to link to this GitLab project.
- New
Issue stringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- Project string
- ID of the project you want to activate integration on.
- Project
Url string - The URL to the Redmine project to link to this GitLab project.
- Use
Inherited boolSettings - Indicates whether or not to inherit default settings. Defaults to false.
- issues
Url String - The URL to the Redmine project issue to link to this GitLab project.
- new
Issue StringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- project String
- ID of the project you want to activate integration on.
- project
Url String - The URL to the Redmine project to link to this GitLab project.
- use
Inherited BooleanSettings - Indicates whether or not to inherit default settings. Defaults to false.
- issues
Url string - The URL to the Redmine project issue to link to this GitLab project.
- new
Issue stringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- project string
- ID of the project you want to activate integration on.
- project
Url string - The URL to the Redmine project to link to this GitLab project.
- use
Inherited booleanSettings - Indicates whether or not to inherit default settings. Defaults to false.
- issues_
url str - The URL to the Redmine project issue to link to this GitLab project.
- new_
issue_ strurl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- project str
- ID of the project you want to activate integration on.
- project_
url str - The URL to the Redmine project to link to this GitLab project.
- use_
inherited_ boolsettings - Indicates whether or not to inherit default settings. Defaults to false.
- issues
Url String - The URL to the Redmine project issue to link to this GitLab project.
- new
Issue StringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- project String
- ID of the project you want to activate integration on.
- project
Url String - The URL to the Redmine project to link to this GitLab project.
- use
Inherited BooleanSettings - Indicates whether or not to inherit default settings. Defaults to false.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationRedmine 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 IntegrationRedmine Resource
Get an existing IntegrationRedmine 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?: IntegrationRedmineState, opts?: CustomResourceOptions): IntegrationRedmine
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
issues_url: Optional[str] = None,
new_issue_url: Optional[str] = None,
project: Optional[str] = None,
project_url: Optional[str] = None,
use_inherited_settings: Optional[bool] = None) -> IntegrationRedmine
func GetIntegrationRedmine(ctx *Context, name string, id IDInput, state *IntegrationRedmineState, opts ...ResourceOption) (*IntegrationRedmine, error)
public static IntegrationRedmine Get(string name, Input<string> id, IntegrationRedmineState? state, CustomResourceOptions? opts = null)
public static IntegrationRedmine get(String name, Output<String> id, IntegrationRedmineState state, CustomResourceOptions options)
resources: _: type: gitlab:IntegrationRedmine get: id: ${id}
- 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.
- Issues
Url string - The URL to the Redmine project issue to link to this GitLab project.
- New
Issue stringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- Project string
- ID of the project you want to activate integration on.
- Project
Url string - The URL to the Redmine project to link to this GitLab project.
- Use
Inherited boolSettings - Indicates whether or not to inherit default settings. Defaults to false.
- Issues
Url string - The URL to the Redmine project issue to link to this GitLab project.
- New
Issue stringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- Project string
- ID of the project you want to activate integration on.
- Project
Url string - The URL to the Redmine project to link to this GitLab project.
- Use
Inherited boolSettings - Indicates whether or not to inherit default settings. Defaults to false.
- issues
Url String - The URL to the Redmine project issue to link to this GitLab project.
- new
Issue StringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- project String
- ID of the project you want to activate integration on.
- project
Url String - The URL to the Redmine project to link to this GitLab project.
- use
Inherited BooleanSettings - Indicates whether or not to inherit default settings. Defaults to false.
- issues
Url string - The URL to the Redmine project issue to link to this GitLab project.
- new
Issue stringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- project string
- ID of the project you want to activate integration on.
- project
Url string - The URL to the Redmine project to link to this GitLab project.
- use
Inherited booleanSettings - Indicates whether or not to inherit default settings. Defaults to false.
- issues_
url str - The URL to the Redmine project issue to link to this GitLab project.
- new_
issue_ strurl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- project str
- ID of the project you want to activate integration on.
- project_
url str - The URL to the Redmine project to link to this GitLab project.
- use_
inherited_ boolsettings - Indicates whether or not to inherit default settings. Defaults to false.
- issues
Url String - The URL to the Redmine project issue to link to this GitLab project.
- new
Issue StringUrl - The URL to use to create a new issue in the Redmine project linked to this GitLab project.
- project String
- ID of the project you want to activate integration on.
- project
Url String - The URL to the Redmine project to link to this GitLab project.
- use
Inherited BooleanSettings - Indicates whether or not to inherit default settings. Defaults to false.
Package Details
- Repository
- GitLab pulumi/pulumi-gitlab
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
gitlab
Terraform Provider.