IntegrationExternalWiki

class IntegrationExternalWiki : KotlinCustomResource

The gitlab.IntegrationExternalWiki resource allows to manage the lifecycle of a project integration with External Wiki Service. Upstream API: GitLab REST API docs

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as gitlab from "@pulumi/gitlab";
const awesomeProject = new gitlab.Project("awesome_project", {
name: "awesome_project",
description: "My awesome project.",
visibilityLevel: "public",
});
const wiki = new gitlab.IntegrationExternalWiki("wiki", {
project: awesomeProject.id,
externalWikiUrl: "https://MyAwesomeExternalWikiURL.com",
});
import pulumi
import pulumi_gitlab as gitlab
awesome_project = gitlab.Project("awesome_project",
name="awesome_project",
description="My awesome project.",
visibility_level="public")
wiki = gitlab.IntegrationExternalWiki("wiki",
project=awesome_project.id,
external_wiki_url="https://MyAwesomeExternalWikiURL.com")
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using GitLab = Pulumi.GitLab;
return await Deployment.RunAsync(() =>
{
var awesomeProject = new GitLab.Project("awesome_project", new()
{
Name = "awesome_project",
Description = "My awesome project.",
VisibilityLevel = "public",
});
var wiki = new GitLab.IntegrationExternalWiki("wiki", new()
{
Project = awesomeProject.Id,
ExternalWikiUrl = "https://MyAwesomeExternalWikiURL.com",
});
});
package main
import (
"github.com/pulumi/pulumi-gitlab/sdk/v7/go/gitlab"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
awesomeProject, err := gitlab.NewProject(ctx, "awesome_project", &gitlab.ProjectArgs{
Name: pulumi.String("awesome_project"),
Description: pulumi.String("My awesome project."),
VisibilityLevel: pulumi.String("public"),
})
if err != nil {
return err
}
_, err = gitlab.NewIntegrationExternalWiki(ctx, "wiki", &gitlab.IntegrationExternalWikiArgs{
Project: awesomeProject.ID(),
ExternalWikiUrl: pulumi.String("https://MyAwesomeExternalWikiURL.com"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gitlab.Project;
import com.pulumi.gitlab.ProjectArgs;
import com.pulumi.gitlab.IntegrationExternalWiki;
import com.pulumi.gitlab.IntegrationExternalWikiArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var awesomeProject = new Project("awesomeProject", ProjectArgs.builder()
.name("awesome_project")
.description("My awesome project.")
.visibilityLevel("public")
.build());
var wiki = new IntegrationExternalWiki("wiki", IntegrationExternalWikiArgs.builder()
.project(awesomeProject.id())
.externalWikiUrl("https://MyAwesomeExternalWikiURL.com")
.build());
}
}
resources:
awesomeProject:
type: gitlab:Project
name: awesome_project
properties:
name: awesome_project
description: My awesome project.
visibilityLevel: public
wiki:
type: gitlab:IntegrationExternalWiki
properties:
project: ${awesomeProject.id}
externalWikiUrl: https://MyAwesomeExternalWikiURL.com

Import

You can import a gitlab_integration_external_wiki state using the project ID, e.g.

$ pulumi import gitlab:index/integrationExternalWiki:IntegrationExternalWiki wiki 1

Properties

Link copied to clipboard
val active: Output<Boolean>

Whether the integration is active.

Link copied to clipboard
val createdAt: Output<String>

The ISO8601 date/time that this integration was activated at in UTC.

Link copied to clipboard
val externalWikiUrl: Output<String>

The URL of the external wiki.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val project: Output<String>

ID of the project you want to activate integration on.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val slug: Output<String>

The name of the integration in lowercase, shortened to 63 bytes, and with everything except 0-9 and a-z replaced with -. No leading / trailing -. Use in URLs, host names and domain names.

Link copied to clipboard
val title: Output<String>

Title of the integration.

Link copied to clipboard
val updatedAt: Output<String>

The ISO8601 date/time that this integration was last updated at in UTC.

Link copied to clipboard
val urn: Output<String>