gcp.developerconnect.Connection
Explore with Pulumi AI
A connection for GitHub, GitHub Enterprise, GitLab, and GitLab Enterprise.
To get more information about Connection, see:
- API documentation
- How-to Guides
Example Usage
Developer Connect Connection New
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
// Setup permissions. Only needed once per project
const devconnect_p4sa = new gcp.projects.ServiceIdentity("devconnect-p4sa", {service: "developerconnect.googleapis.com"});
const devconnect_secret = new gcp.projects.IAMMember("devconnect-secret", {
    project: "my-project-name",
    role: "roles/secretmanager.admin",
    member: devconnect_p4sa.member,
});
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "tf-test-connection-new",
    githubConfig: {
        githubApp: "FIREBASE",
    },
}, {
    dependsOn: [devconnect_secret],
});
export const nextSteps = my_connection.installationStates;
import pulumi
import pulumi_gcp as gcp
# Setup permissions. Only needed once per project
devconnect_p4sa = gcp.projects.ServiceIdentity("devconnect-p4sa", service="developerconnect.googleapis.com")
devconnect_secret = gcp.projects.IAMMember("devconnect-secret",
    project="my-project-name",
    role="roles/secretmanager.admin",
    member=devconnect_p4sa.member)
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="tf-test-connection-new",
    github_config={
        "github_app": "FIREBASE",
    },
    opts = pulumi.ResourceOptions(depends_on=[devconnect_secret]))
pulumi.export("nextSteps", my_connection.installation_states)
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		// Setup permissions. Only needed once per project
		devconnect_p4sa, err := projects.NewServiceIdentity(ctx, "devconnect-p4sa", &projects.ServiceIdentityArgs{
			Service: pulumi.String("developerconnect.googleapis.com"),
		})
		if err != nil {
			return err
		}
		devconnect_secret, err := projects.NewIAMMember(ctx, "devconnect-secret", &projects.IAMMemberArgs{
			Project: pulumi.String("my-project-name"),
			Role:    pulumi.String("roles/secretmanager.admin"),
			Member:  devconnect_p4sa.Member,
		})
		if err != nil {
			return err
		}
		my_connection, err := developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection-new"),
			GithubConfig: &developerconnect.ConnectionGithubConfigArgs{
				GithubApp: pulumi.String("FIREBASE"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			devconnect_secret,
		}))
		if err != nil {
			return err
		}
		ctx.Export("nextSteps", my_connection.InstallationStates)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    // Setup permissions. Only needed once per project
    var devconnect_p4sa = new Gcp.Projects.ServiceIdentity("devconnect-p4sa", new()
    {
        Service = "developerconnect.googleapis.com",
    });
    var devconnect_secret = new Gcp.Projects.IAMMember("devconnect-secret", new()
    {
        Project = "my-project-name",
        Role = "roles/secretmanager.admin",
        Member = devconnect_p4sa.Member,
    });
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "tf-test-connection-new",
        GithubConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigArgs
        {
            GithubApp = "FIREBASE",
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            devconnect_secret,
        },
    });
    return new Dictionary<string, object?>
    {
        ["nextSteps"] = my_connection.InstallationStates,
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.projects.ServiceIdentity;
import com.pulumi.gcp.projects.ServiceIdentityArgs;
import com.pulumi.gcp.projects.IAMMember;
import com.pulumi.gcp.projects.IAMMemberArgs;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigArgs;
import com.pulumi.resources.CustomResourceOptions;
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) {
        // Setup permissions. Only needed once per project
        var devconnect_p4sa = new ServiceIdentity("devconnect-p4sa", ServiceIdentityArgs.builder()
            .service("developerconnect.googleapis.com")
            .build());
        var devconnect_secret = new IAMMember("devconnect-secret", IAMMemberArgs.builder()
            .project("my-project-name")
            .role("roles/secretmanager.admin")
            .member(devconnect_p4sa.member())
            .build());
        var my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("tf-test-connection-new")
            .githubConfig(ConnectionGithubConfigArgs.builder()
                .githubApp("FIREBASE")
                .build())
            .build(), CustomResourceOptions.builder()
                .dependsOn(devconnect_secret)
                .build());
        ctx.export("nextSteps", my_connection.installationStates());
    }
}
resources:
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: tf-test-connection-new
      githubConfig:
        githubApp: FIREBASE
    options:
      dependsOn:
        - ${["devconnect-secret"]}
  # Setup permissions. Only needed once per project
  devconnect-p4sa:
    type: gcp:projects:ServiceIdentity
    properties:
      service: developerconnect.googleapis.com
  devconnect-secret:
    type: gcp:projects:IAMMember
    properties:
      project: my-project-name
      role: roles/secretmanager.admin
      member: ${["devconnect-p4sa"].member}
outputs:
  nextSteps: ${["my-connection"].installationStates}
Developer Connect Connection Existing Credentials
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "tf-test-connection-cred",
    githubConfig: {
        githubApp: "DEVELOPER_CONNECT",
        authorizerCredential: {
            oauthTokenSecretVersion: "projects/your-project/secrets/your-secret-id/versions/latest",
        },
    },
});
export const nextSteps = my_connection.installationStates;
import pulumi
import pulumi_gcp as gcp
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="tf-test-connection-cred",
    github_config={
        "github_app": "DEVELOPER_CONNECT",
        "authorizer_credential": {
            "oauth_token_secret_version": "projects/your-project/secrets/your-secret-id/versions/latest",
        },
    })
pulumi.export("nextSteps", my_connection.installation_states)
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		my_connection, err := developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection-cred"),
			GithubConfig: &developerconnect.ConnectionGithubConfigArgs{
				GithubApp: pulumi.String("DEVELOPER_CONNECT"),
				AuthorizerCredential: &developerconnect.ConnectionGithubConfigAuthorizerCredentialArgs{
					OauthTokenSecretVersion: pulumi.String("projects/your-project/secrets/your-secret-id/versions/latest"),
				},
			},
		})
		if err != nil {
			return err
		}
		ctx.Export("nextSteps", my_connection.InstallationStates)
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "tf-test-connection-cred",
        GithubConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigArgs
        {
            GithubApp = "DEVELOPER_CONNECT",
            AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigAuthorizerCredentialArgs
            {
                OauthTokenSecretVersion = "projects/your-project/secrets/your-secret-id/versions/latest",
            },
        },
    });
    return new Dictionary<string, object?>
    {
        ["nextSteps"] = my_connection.InstallationStates,
    };
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigAuthorizerCredentialArgs;
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 my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("tf-test-connection-cred")
            .githubConfig(ConnectionGithubConfigArgs.builder()
                .githubApp("DEVELOPER_CONNECT")
                .authorizerCredential(ConnectionGithubConfigAuthorizerCredentialArgs.builder()
                    .oauthTokenSecretVersion("projects/your-project/secrets/your-secret-id/versions/latest")
                    .build())
                .build())
            .build());
        ctx.export("nextSteps", my_connection.installationStates());
    }
}
resources:
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: tf-test-connection-cred
      githubConfig:
        githubApp: DEVELOPER_CONNECT
        authorizerCredential:
          oauthTokenSecretVersion: projects/your-project/secrets/your-secret-id/versions/latest
outputs:
  nextSteps: ${["my-connection"].installationStates}
Developer Connect Connection Existing Installation
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
import * as std from "@pulumi/std";
const github_token_secret = new gcp.secretmanager.Secret("github-token-secret", {
    secretId: "github-token-secret",
    replication: {
        auto: {},
    },
});
const github_token_secret_version = new gcp.secretmanager.SecretVersion("github-token-secret-version", {
    secret: github_token_secret.id,
    secretData: std.file({
        input: "my-github-token.txt",
    }).then(invoke => invoke.result),
});
const devconnect_p4sa = new gcp.projects.ServiceIdentity("devconnect-p4sa", {service: "developerconnect.googleapis.com"});
const p4sa_secretAccessor = gcp.organizations.getIAMPolicyOutput({
    bindings: [{
        role: "roles/secretmanager.secretAccessor",
        members: [devconnect_p4sa.member],
    }],
});
const policy = new gcp.secretmanager.SecretIamPolicy("policy", {
    secretId: github_token_secret.secretId,
    policyData: p4sa_secretAccessor.apply(p4sa_secretAccessor => p4sa_secretAccessor.policyData),
});
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "my-connection",
    githubConfig: {
        githubApp: "DEVELOPER_CONNECT",
        appInstallationId: "123123",
        authorizerCredential: {
            oauthTokenSecretVersion: github_token_secret_version.id,
        },
    },
});
import pulumi
import pulumi_gcp as gcp
import pulumi_std as std
github_token_secret = gcp.secretmanager.Secret("github-token-secret",
    secret_id="github-token-secret",
    replication={
        "auto": {},
    })
github_token_secret_version = gcp.secretmanager.SecretVersion("github-token-secret-version",
    secret=github_token_secret.id,
    secret_data=std.file(input="my-github-token.txt").result)
devconnect_p4sa = gcp.projects.ServiceIdentity("devconnect-p4sa", service="developerconnect.googleapis.com")
p4sa_secret_accessor = gcp.organizations.get_iam_policy_output(bindings=[{
    "role": "roles/secretmanager.secretAccessor",
    "members": [devconnect_p4sa.member],
}])
policy = gcp.secretmanager.SecretIamPolicy("policy",
    secret_id=github_token_secret.secret_id,
    policy_data=p4sa_secret_accessor.policy_data)
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="my-connection",
    github_config={
        "github_app": "DEVELOPER_CONNECT",
        "app_installation_id": "123123",
        "authorizer_credential": {
            "oauth_token_secret_version": github_token_secret_version.id,
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/projects"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager"
	"github.com/pulumi/pulumi-std/sdk/go/std"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		github_token_secret, err := secretmanager.NewSecret(ctx, "github-token-secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("github-token-secret"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: &secretmanager.SecretReplicationAutoArgs{},
			},
		})
		if err != nil {
			return err
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "my-github-token.txt",
		}, nil)
		if err != nil {
			return err
		}
		github_token_secret_version, err := secretmanager.NewSecretVersion(ctx, "github-token-secret-version", &secretmanager.SecretVersionArgs{
			Secret:     github_token_secret.ID(),
			SecretData: pulumi.String(invokeFile.Result),
		})
		if err != nil {
			return err
		}
		devconnect_p4sa, err := projects.NewServiceIdentity(ctx, "devconnect-p4sa", &projects.ServiceIdentityArgs{
			Service: pulumi.String("developerconnect.googleapis.com"),
		})
		if err != nil {
			return err
		}
		p4sa_secretAccessor := organizations.LookupIAMPolicyOutput(ctx, organizations.GetIAMPolicyOutputArgs{
			Bindings: organizations.GetIAMPolicyBindingArray{
				&organizations.GetIAMPolicyBindingArgs{
					Role: pulumi.String("roles/secretmanager.secretAccessor"),
					Members: pulumi.StringArray{
						devconnect_p4sa.Member,
					},
				},
			},
		}, nil)
		_, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{
			SecretId: github_token_secret.SecretId,
			PolicyData: pulumi.String(p4sa_secretAccessor.ApplyT(func(p4sa_secretAccessor organizations.GetIAMPolicyResult) (*string, error) {
				return &p4sa_secretAccessor.PolicyData, nil
			}).(pulumi.StringPtrOutput)),
		})
		if err != nil {
			return err
		}
		_, err = developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("my-connection"),
			GithubConfig: &developerconnect.ConnectionGithubConfigArgs{
				GithubApp:         pulumi.String("DEVELOPER_CONNECT"),
				AppInstallationId: pulumi.String("123123"),
				AuthorizerCredential: &developerconnect.ConnectionGithubConfigAuthorizerCredentialArgs{
					OauthTokenSecretVersion: github_token_secret_version.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() => 
{
    var github_token_secret = new Gcp.SecretManager.Secret("github-token-secret", new()
    {
        SecretId = "github-token-secret",
        Replication = new Gcp.SecretManager.Inputs.SecretReplicationArgs
        {
            Auto = null,
        },
    });
    var github_token_secret_version = new Gcp.SecretManager.SecretVersion("github-token-secret-version", new()
    {
        Secret = github_token_secret.Id,
        SecretData = Std.File.Invoke(new()
        {
            Input = "my-github-token.txt",
        }).Apply(invoke => invoke.Result),
    });
    var devconnect_p4sa = new Gcp.Projects.ServiceIdentity("devconnect-p4sa", new()
    {
        Service = "developerconnect.googleapis.com",
    });
    var p4sa_secretAccessor = Gcp.Organizations.GetIAMPolicy.Invoke(new()
    {
        Bindings = new[]
        {
            new Gcp.Organizations.Inputs.GetIAMPolicyBindingInputArgs
            {
                Role = "roles/secretmanager.secretAccessor",
                Members = new[]
                {
                    devconnect_p4sa.Member,
                },
            },
        },
    });
    var policy = new Gcp.SecretManager.SecretIamPolicy("policy", new()
    {
        SecretId = github_token_secret.SecretId,
        PolicyData = p4sa_secretAccessor.Apply(p4sa_secretAccessor => p4sa_secretAccessor.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData)),
    });
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "my-connection",
        GithubConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigArgs
        {
            GithubApp = "DEVELOPER_CONNECT",
            AppInstallationId = "123123",
            AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigAuthorizerCredentialArgs
            {
                OauthTokenSecretVersion = github_token_secret_version.Id,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.secretmanager.Secret;
import com.pulumi.gcp.secretmanager.SecretArgs;
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationArgs;
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationAutoArgs;
import com.pulumi.gcp.secretmanager.SecretVersion;
import com.pulumi.gcp.secretmanager.SecretVersionArgs;
import com.pulumi.gcp.projects.ServiceIdentity;
import com.pulumi.gcp.projects.ServiceIdentityArgs;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyArgs;
import com.pulumi.gcp.secretmanager.SecretIamPolicy;
import com.pulumi.gcp.secretmanager.SecretIamPolicyArgs;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigAuthorizerCredentialArgs;
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 github_token_secret = new Secret("github-token-secret", SecretArgs.builder()
            .secretId("github-token-secret")
            .replication(SecretReplicationArgs.builder()
                .auto()
                .build())
            .build());
        var github_token_secret_version = new SecretVersion("github-token-secret-version", SecretVersionArgs.builder()
            .secret(github_token_secret.id())
            .secretData(StdFunctions.file(FileArgs.builder()
                .input("my-github-token.txt")
                .build()).result())
            .build());
        var devconnect_p4sa = new ServiceIdentity("devconnect-p4sa", ServiceIdentityArgs.builder()
            .service("developerconnect.googleapis.com")
            .build());
        final var p4sa-secretAccessor = OrganizationsFunctions.getIAMPolicy(GetIAMPolicyArgs.builder()
            .bindings(GetIAMPolicyBindingArgs.builder()
                .role("roles/secretmanager.secretAccessor")
                .members(devconnect_p4sa.member())
                .build())
            .build());
        var policy = new SecretIamPolicy("policy", SecretIamPolicyArgs.builder()
            .secretId(github_token_secret.secretId())
            .policyData(p4sa_secretAccessor.applyValue(p4sa_secretAccessor -> p4sa_secretAccessor.policyData()))
            .build());
        var my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("my-connection")
            .githubConfig(ConnectionGithubConfigArgs.builder()
                .githubApp("DEVELOPER_CONNECT")
                .appInstallationId(123123)
                .authorizerCredential(ConnectionGithubConfigAuthorizerCredentialArgs.builder()
                    .oauthTokenSecretVersion(github_token_secret_version.id())
                    .build())
                .build())
            .build());
    }
}
resources:
  github-token-secret:
    type: gcp:secretmanager:Secret
    properties:
      secretId: github-token-secret
      replication:
        auto: {}
  github-token-secret-version:
    type: gcp:secretmanager:SecretVersion
    properties:
      secret: ${["github-token-secret"].id}
      secretData:
        fn::invoke:
          function: std:file
          arguments:
            input: my-github-token.txt
          return: result
  devconnect-p4sa:
    type: gcp:projects:ServiceIdentity
    properties:
      service: developerconnect.googleapis.com
  policy:
    type: gcp:secretmanager:SecretIamPolicy
    properties:
      secretId: ${["github-token-secret"].secretId}
      policyData: ${["p4sa-secretAccessor"].policyData}
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: my-connection
      githubConfig:
        githubApp: DEVELOPER_CONNECT
        appInstallationId: 123123
        authorizerCredential:
          oauthTokenSecretVersion: ${["github-token-secret-version"].id}
variables:
  p4sa-secretAccessor:
    fn::invoke:
      function: gcp:organizations:getIAMPolicy
      arguments:
        bindings:
          - role: roles/secretmanager.secretAccessor
            members:
              - ${["devconnect-p4sa"].member}
Developer Connect Connection Github
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "tf-test-connection",
    githubConfig: {
        githubApp: "DEVELOPER_CONNECT",
        authorizerCredential: {
            oauthTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1",
        },
    },
});
import pulumi
import pulumi_gcp as gcp
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="tf-test-connection",
    github_config={
        "github_app": "DEVELOPER_CONNECT",
        "authorizer_credential": {
            "oauth_token_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1",
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection"),
			GithubConfig: &developerconnect.ConnectionGithubConfigArgs{
				GithubApp: pulumi.String("DEVELOPER_CONNECT"),
				AuthorizerCredential: &developerconnect.ConnectionGithubConfigAuthorizerCredentialArgs{
					OauthTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "tf-test-connection",
        GithubConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigArgs
        {
            GithubApp = "DEVELOPER_CONNECT",
            AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigAuthorizerCredentialArgs
            {
                OauthTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigAuthorizerCredentialArgs;
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 my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("tf-test-connection")
            .githubConfig(ConnectionGithubConfigArgs.builder()
                .githubApp("DEVELOPER_CONNECT")
                .authorizerCredential(ConnectionGithubConfigAuthorizerCredentialArgs.builder()
                    .oauthTokenSecretVersion("projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1")
                    .build())
                .build())
            .build());
    }
}
resources:
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: tf-test-connection
      githubConfig:
        githubApp: DEVELOPER_CONNECT
        authorizerCredential:
          oauthTokenSecretVersion: projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1
Developer Connect Connection Github Doc
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
import * as std from "@pulumi/std";
const github_token_secret = new gcp.secretmanager.Secret("github-token-secret", {
    secretId: "github-token-secret",
    replication: {
        auto: {},
    },
});
const github_token_secret_version = new gcp.secretmanager.SecretVersion("github-token-secret-version", {
    secret: github_token_secret.id,
    secretData: std.file({
        input: "my-github-token.txt",
    }).then(invoke => invoke.result),
});
const p4sa_secretAccessor = gcp.organizations.getIAMPolicy({
    bindings: [{
        role: "roles/secretmanager.secretAccessor",
        members: ["serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com"],
    }],
});
const policy = new gcp.secretmanager.SecretIamPolicy("policy", {
    secretId: github_token_secret.secretId,
    policyData: p4sa_secretAccessor.then(p4sa_secretAccessor => p4sa_secretAccessor.policyData),
});
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "my-connection",
    githubConfig: {
        githubApp: "DEVELOPER_CONNECT",
        appInstallationId: "123123",
        authorizerCredential: {
            oauthTokenSecretVersion: github_token_secret_version.id,
        },
    },
});
import pulumi
import pulumi_gcp as gcp
import pulumi_std as std
github_token_secret = gcp.secretmanager.Secret("github-token-secret",
    secret_id="github-token-secret",
    replication={
        "auto": {},
    })
github_token_secret_version = gcp.secretmanager.SecretVersion("github-token-secret-version",
    secret=github_token_secret.id,
    secret_data=std.file(input="my-github-token.txt").result)
p4sa_secret_accessor = gcp.organizations.get_iam_policy(bindings=[{
    "role": "roles/secretmanager.secretAccessor",
    "members": ["serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com"],
}])
policy = gcp.secretmanager.SecretIamPolicy("policy",
    secret_id=github_token_secret.secret_id,
    policy_data=p4sa_secret_accessor.policy_data)
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="my-connection",
    github_config={
        "github_app": "DEVELOPER_CONNECT",
        "app_installation_id": "123123",
        "authorizer_credential": {
            "oauth_token_secret_version": github_token_secret_version.id,
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager"
	"github.com/pulumi/pulumi-std/sdk/go/std"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		github_token_secret, err := secretmanager.NewSecret(ctx, "github-token-secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("github-token-secret"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: &secretmanager.SecretReplicationAutoArgs{},
			},
		})
		if err != nil {
			return err
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "my-github-token.txt",
		}, nil)
		if err != nil {
			return err
		}
		github_token_secret_version, err := secretmanager.NewSecretVersion(ctx, "github-token-secret-version", &secretmanager.SecretVersionArgs{
			Secret:     github_token_secret.ID(),
			SecretData: pulumi.String(invokeFile.Result),
		})
		if err != nil {
			return err
		}
		p4sa_secretAccessor, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/secretmanager.secretAccessor",
					Members: []string{
						"serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		_, err = secretmanager.NewSecretIamPolicy(ctx, "policy", &secretmanager.SecretIamPolicyArgs{
			SecretId:   github_token_secret.SecretId,
			PolicyData: pulumi.String(p4sa_secretAccessor.PolicyData),
		})
		if err != nil {
			return err
		}
		_, err = developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("my-connection"),
			GithubConfig: &developerconnect.ConnectionGithubConfigArgs{
				GithubApp:         pulumi.String("DEVELOPER_CONNECT"),
				AppInstallationId: pulumi.String("123123"),
				AuthorizerCredential: &developerconnect.ConnectionGithubConfigAuthorizerCredentialArgs{
					OauthTokenSecretVersion: github_token_secret_version.ID(),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() => 
{
    var github_token_secret = new Gcp.SecretManager.Secret("github-token-secret", new()
    {
        SecretId = "github-token-secret",
        Replication = new Gcp.SecretManager.Inputs.SecretReplicationArgs
        {
            Auto = null,
        },
    });
    var github_token_secret_version = new Gcp.SecretManager.SecretVersion("github-token-secret-version", new()
    {
        Secret = github_token_secret.Id,
        SecretData = Std.File.Invoke(new()
        {
            Input = "my-github-token.txt",
        }).Apply(invoke => invoke.Result),
    });
    var p4sa_secretAccessor = Gcp.Organizations.GetIAMPolicy.Invoke(new()
    {
        Bindings = new[]
        {
            new Gcp.Organizations.Inputs.GetIAMPolicyBindingInputArgs
            {
                Role = "roles/secretmanager.secretAccessor",
                Members = new[]
                {
                    "serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com",
                },
            },
        },
    });
    var policy = new Gcp.SecretManager.SecretIamPolicy("policy", new()
    {
        SecretId = github_token_secret.SecretId,
        PolicyData = p4sa_secretAccessor.Apply(p4sa_secretAccessor => p4sa_secretAccessor.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData)),
    });
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "my-connection",
        GithubConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigArgs
        {
            GithubApp = "DEVELOPER_CONNECT",
            AppInstallationId = "123123",
            AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigAuthorizerCredentialArgs
            {
                OauthTokenSecretVersion = github_token_secret_version.Id,
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.secretmanager.Secret;
import com.pulumi.gcp.secretmanager.SecretArgs;
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationArgs;
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationAutoArgs;
import com.pulumi.gcp.secretmanager.SecretVersion;
import com.pulumi.gcp.secretmanager.SecretVersionArgs;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyArgs;
import com.pulumi.gcp.secretmanager.SecretIamPolicy;
import com.pulumi.gcp.secretmanager.SecretIamPolicyArgs;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubConfigAuthorizerCredentialArgs;
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 github_token_secret = new Secret("github-token-secret", SecretArgs.builder()
            .secretId("github-token-secret")
            .replication(SecretReplicationArgs.builder()
                .auto()
                .build())
            .build());
        var github_token_secret_version = new SecretVersion("github-token-secret-version", SecretVersionArgs.builder()
            .secret(github_token_secret.id())
            .secretData(StdFunctions.file(FileArgs.builder()
                .input("my-github-token.txt")
                .build()).result())
            .build());
        final var p4sa-secretAccessor = OrganizationsFunctions.getIAMPolicy(GetIAMPolicyArgs.builder()
            .bindings(GetIAMPolicyBindingArgs.builder()
                .role("roles/secretmanager.secretAccessor")
                .members("serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com")
                .build())
            .build());
        var policy = new SecretIamPolicy("policy", SecretIamPolicyArgs.builder()
            .secretId(github_token_secret.secretId())
            .policyData(p4sa_secretAccessor.policyData())
            .build());
        var my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("my-connection")
            .githubConfig(ConnectionGithubConfigArgs.builder()
                .githubApp("DEVELOPER_CONNECT")
                .appInstallationId(123123)
                .authorizerCredential(ConnectionGithubConfigAuthorizerCredentialArgs.builder()
                    .oauthTokenSecretVersion(github_token_secret_version.id())
                    .build())
                .build())
            .build());
    }
}
resources:
  github-token-secret:
    type: gcp:secretmanager:Secret
    properties:
      secretId: github-token-secret
      replication:
        auto: {}
  github-token-secret-version:
    type: gcp:secretmanager:SecretVersion
    properties:
      secret: ${["github-token-secret"].id}
      secretData:
        fn::invoke:
          function: std:file
          arguments:
            input: my-github-token.txt
          return: result
  policy:
    type: gcp:secretmanager:SecretIamPolicy
    properties:
      secretId: ${["github-token-secret"].secretId}
      policyData: ${["p4sa-secretAccessor"].policyData}
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: my-connection
      githubConfig:
        githubApp: DEVELOPER_CONNECT
        appInstallationId: 123123
        authorizerCredential:
          oauthTokenSecretVersion: ${["github-token-secret-version"].id}
variables:
  p4sa-secretAccessor:
    fn::invoke:
      function: gcp:organizations:getIAMPolicy
      arguments:
        bindings:
          - role: roles/secretmanager.secretAccessor
            members:
              - serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com
Developer Connect Connection Github Enterprise
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "tf-test-connection",
    githubEnterpriseConfig: {
        hostUri: "https://ghe.proctor-staging-test.com",
        appId: "864434",
        privateKeySecretVersion: "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest",
        webhookSecretSecretVersion: "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest",
        appInstallationId: "837537",
    },
});
import pulumi
import pulumi_gcp as gcp
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="tf-test-connection",
    github_enterprise_config={
        "host_uri": "https://ghe.proctor-staging-test.com",
        "app_id": "864434",
        "private_key_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest",
        "webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest",
        "app_installation_id": "837537",
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection"),
			GithubEnterpriseConfig: &developerconnect.ConnectionGithubEnterpriseConfigArgs{
				HostUri:                    pulumi.String("https://ghe.proctor-staging-test.com"),
				AppId:                      pulumi.String("864434"),
				PrivateKeySecretVersion:    pulumi.String("projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest"),
				WebhookSecretSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest"),
				AppInstallationId:          pulumi.String("837537"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "tf-test-connection",
        GithubEnterpriseConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubEnterpriseConfigArgs
        {
            HostUri = "https://ghe.proctor-staging-test.com",
            AppId = "864434",
            PrivateKeySecretVersion = "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest",
            WebhookSecretSecretVersion = "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest",
            AppInstallationId = "837537",
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubEnterpriseConfigArgs;
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 my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("tf-test-connection")
            .githubEnterpriseConfig(ConnectionGithubEnterpriseConfigArgs.builder()
                .hostUri("https://ghe.proctor-staging-test.com")
                .appId(864434)
                .privateKeySecretVersion("projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest")
                .webhookSecretSecretVersion("projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest")
                .appInstallationId(837537)
                .build())
            .build());
    }
}
resources:
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: tf-test-connection
      githubEnterpriseConfig:
        hostUri: https://ghe.proctor-staging-test.com
        appId: 864434
        privateKeySecretVersion: projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest
        webhookSecretSecretVersion: projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest
        appInstallationId: 837537
Developer Connect Connection Github Enterprise Doc
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
import * as std from "@pulumi/std";
const private_key_secret = new gcp.secretmanager.Secret("private-key-secret", {
    secretId: "ghe-pk-secret",
    replication: {
        auto: {},
    },
});
const private_key_secret_version = new gcp.secretmanager.SecretVersion("private-key-secret-version", {
    secret: private_key_secret.id,
    secretData: std.file({
        input: "private-key.pem",
    }).then(invoke => invoke.result),
});
const webhook_secret_secret = new gcp.secretmanager.Secret("webhook-secret-secret", {
    secretId: "ghe-token-secret",
    replication: {
        auto: {},
    },
});
const webhook_secret_secret_version = new gcp.secretmanager.SecretVersion("webhook-secret-secret-version", {
    secret: webhook_secret_secret.id,
    secretData: "<webhook-secret-data>",
});
const p4sa_secretAccessor = gcp.organizations.getIAMPolicy({
    bindings: [{
        role: "roles/secretmanager.secretAccessor",
        members: ["serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com"],
    }],
});
const policy_pk = new gcp.secretmanager.SecretIamPolicy("policy-pk", {
    secretId: private_key_secret.secretId,
    policyData: p4sa_secretAccessor.then(p4sa_secretAccessor => p4sa_secretAccessor.policyData),
});
const policy_whs = new gcp.secretmanager.SecretIamPolicy("policy-whs", {
    secretId: webhook_secret_secret.secretId,
    policyData: p4sa_secretAccessor.then(p4sa_secretAccessor => p4sa_secretAccessor.policyData),
});
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "my-connection",
    githubEnterpriseConfig: {
        hostUri: "https://ghe.com",
        privateKeySecretVersion: private_key_secret_version.id,
        webhookSecretSecretVersion: webhook_secret_secret_version.id,
        appId: "100",
        appInstallationId: "123123",
    },
}, {
    dependsOn: [
        policy_pk,
        policy_whs,
    ],
});
import pulumi
import pulumi_gcp as gcp
import pulumi_std as std
private_key_secret = gcp.secretmanager.Secret("private-key-secret",
    secret_id="ghe-pk-secret",
    replication={
        "auto": {},
    })
private_key_secret_version = gcp.secretmanager.SecretVersion("private-key-secret-version",
    secret=private_key_secret.id,
    secret_data=std.file(input="private-key.pem").result)
webhook_secret_secret = gcp.secretmanager.Secret("webhook-secret-secret",
    secret_id="ghe-token-secret",
    replication={
        "auto": {},
    })
webhook_secret_secret_version = gcp.secretmanager.SecretVersion("webhook-secret-secret-version",
    secret=webhook_secret_secret.id,
    secret_data="<webhook-secret-data>")
p4sa_secret_accessor = gcp.organizations.get_iam_policy(bindings=[{
    "role": "roles/secretmanager.secretAccessor",
    "members": ["serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com"],
}])
policy_pk = gcp.secretmanager.SecretIamPolicy("policy-pk",
    secret_id=private_key_secret.secret_id,
    policy_data=p4sa_secret_accessor.policy_data)
policy_whs = gcp.secretmanager.SecretIamPolicy("policy-whs",
    secret_id=webhook_secret_secret.secret_id,
    policy_data=p4sa_secret_accessor.policy_data)
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="my-connection",
    github_enterprise_config={
        "host_uri": "https://ghe.com",
        "private_key_secret_version": private_key_secret_version.id,
        "webhook_secret_secret_version": webhook_secret_secret_version.id,
        "app_id": "100",
        "app_installation_id": "123123",
    },
    opts = pulumi.ResourceOptions(depends_on=[
            policy_pk,
            policy_whs,
        ]))
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations"
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/secretmanager"
	"github.com/pulumi/pulumi-std/sdk/go/std"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		private_key_secret, err := secretmanager.NewSecret(ctx, "private-key-secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("ghe-pk-secret"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: &secretmanager.SecretReplicationAutoArgs{},
			},
		})
		if err != nil {
			return err
		}
		invokeFile, err := std.File(ctx, &std.FileArgs{
			Input: "private-key.pem",
		}, nil)
		if err != nil {
			return err
		}
		private_key_secret_version, err := secretmanager.NewSecretVersion(ctx, "private-key-secret-version", &secretmanager.SecretVersionArgs{
			Secret:     private_key_secret.ID(),
			SecretData: pulumi.String(invokeFile.Result),
		})
		if err != nil {
			return err
		}
		webhook_secret_secret, err := secretmanager.NewSecret(ctx, "webhook-secret-secret", &secretmanager.SecretArgs{
			SecretId: pulumi.String("ghe-token-secret"),
			Replication: &secretmanager.SecretReplicationArgs{
				Auto: &secretmanager.SecretReplicationAutoArgs{},
			},
		})
		if err != nil {
			return err
		}
		webhook_secret_secret_version, err := secretmanager.NewSecretVersion(ctx, "webhook-secret-secret-version", &secretmanager.SecretVersionArgs{
			Secret:     webhook_secret_secret.ID(),
			SecretData: pulumi.String("<webhook-secret-data>"),
		})
		if err != nil {
			return err
		}
		p4sa_secretAccessor, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{
			Bindings: []organizations.GetIAMPolicyBinding{
				{
					Role: "roles/secretmanager.secretAccessor",
					Members: []string{
						"serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com",
					},
				},
			},
		}, nil)
		if err != nil {
			return err
		}
		policy_pk, err := secretmanager.NewSecretIamPolicy(ctx, "policy-pk", &secretmanager.SecretIamPolicyArgs{
			SecretId:   private_key_secret.SecretId,
			PolicyData: pulumi.String(p4sa_secretAccessor.PolicyData),
		})
		if err != nil {
			return err
		}
		policy_whs, err := secretmanager.NewSecretIamPolicy(ctx, "policy-whs", &secretmanager.SecretIamPolicyArgs{
			SecretId:   webhook_secret_secret.SecretId,
			PolicyData: pulumi.String(p4sa_secretAccessor.PolicyData),
		})
		if err != nil {
			return err
		}
		_, err = developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("my-connection"),
			GithubEnterpriseConfig: &developerconnect.ConnectionGithubEnterpriseConfigArgs{
				HostUri:                    pulumi.String("https://ghe.com"),
				PrivateKeySecretVersion:    private_key_secret_version.ID(),
				WebhookSecretSecretVersion: webhook_secret_secret_version.ID(),
				AppId:                      pulumi.String("100"),
				AppInstallationId:          pulumi.String("123123"),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			policy_pk,
			policy_whs,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
using Std = Pulumi.Std;
return await Deployment.RunAsync(() => 
{
    var private_key_secret = new Gcp.SecretManager.Secret("private-key-secret", new()
    {
        SecretId = "ghe-pk-secret",
        Replication = new Gcp.SecretManager.Inputs.SecretReplicationArgs
        {
            Auto = null,
        },
    });
    var private_key_secret_version = new Gcp.SecretManager.SecretVersion("private-key-secret-version", new()
    {
        Secret = private_key_secret.Id,
        SecretData = Std.File.Invoke(new()
        {
            Input = "private-key.pem",
        }).Apply(invoke => invoke.Result),
    });
    var webhook_secret_secret = new Gcp.SecretManager.Secret("webhook-secret-secret", new()
    {
        SecretId = "ghe-token-secret",
        Replication = new Gcp.SecretManager.Inputs.SecretReplicationArgs
        {
            Auto = null,
        },
    });
    var webhook_secret_secret_version = new Gcp.SecretManager.SecretVersion("webhook-secret-secret-version", new()
    {
        Secret = webhook_secret_secret.Id,
        SecretData = "<webhook-secret-data>",
    });
    var p4sa_secretAccessor = Gcp.Organizations.GetIAMPolicy.Invoke(new()
    {
        Bindings = new[]
        {
            new Gcp.Organizations.Inputs.GetIAMPolicyBindingInputArgs
            {
                Role = "roles/secretmanager.secretAccessor",
                Members = new[]
                {
                    "serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com",
                },
            },
        },
    });
    var policy_pk = new Gcp.SecretManager.SecretIamPolicy("policy-pk", new()
    {
        SecretId = private_key_secret.SecretId,
        PolicyData = p4sa_secretAccessor.Apply(p4sa_secretAccessor => p4sa_secretAccessor.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData)),
    });
    var policy_whs = new Gcp.SecretManager.SecretIamPolicy("policy-whs", new()
    {
        SecretId = webhook_secret_secret.SecretId,
        PolicyData = p4sa_secretAccessor.Apply(p4sa_secretAccessor => p4sa_secretAccessor.Apply(getIAMPolicyResult => getIAMPolicyResult.PolicyData)),
    });
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "my-connection",
        GithubEnterpriseConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubEnterpriseConfigArgs
        {
            HostUri = "https://ghe.com",
            PrivateKeySecretVersion = private_key_secret_version.Id,
            WebhookSecretSecretVersion = webhook_secret_secret_version.Id,
            AppId = "100",
            AppInstallationId = "123123",
        },
    }, new CustomResourceOptions
    {
        DependsOn =
        {
            policy_pk,
            policy_whs,
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.secretmanager.Secret;
import com.pulumi.gcp.secretmanager.SecretArgs;
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationArgs;
import com.pulumi.gcp.secretmanager.inputs.SecretReplicationAutoArgs;
import com.pulumi.gcp.secretmanager.SecretVersion;
import com.pulumi.gcp.secretmanager.SecretVersionArgs;
import com.pulumi.gcp.organizations.OrganizationsFunctions;
import com.pulumi.gcp.organizations.inputs.GetIAMPolicyArgs;
import com.pulumi.gcp.secretmanager.SecretIamPolicy;
import com.pulumi.gcp.secretmanager.SecretIamPolicyArgs;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGithubEnterpriseConfigArgs;
import com.pulumi.resources.CustomResourceOptions;
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 private_key_secret = new Secret("private-key-secret", SecretArgs.builder()
            .secretId("ghe-pk-secret")
            .replication(SecretReplicationArgs.builder()
                .auto()
                .build())
            .build());
        var private_key_secret_version = new SecretVersion("private-key-secret-version", SecretVersionArgs.builder()
            .secret(private_key_secret.id())
            .secretData(StdFunctions.file(FileArgs.builder()
                .input("private-key.pem")
                .build()).result())
            .build());
        var webhook_secret_secret = new Secret("webhook-secret-secret", SecretArgs.builder()
            .secretId("ghe-token-secret")
            .replication(SecretReplicationArgs.builder()
                .auto()
                .build())
            .build());
        var webhook_secret_secret_version = new SecretVersion("webhook-secret-secret-version", SecretVersionArgs.builder()
            .secret(webhook_secret_secret.id())
            .secretData("<webhook-secret-data>")
            .build());
        final var p4sa-secretAccessor = OrganizationsFunctions.getIAMPolicy(GetIAMPolicyArgs.builder()
            .bindings(GetIAMPolicyBindingArgs.builder()
                .role("roles/secretmanager.secretAccessor")
                .members("serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com")
                .build())
            .build());
        var policy_pk = new SecretIamPolicy("policy-pk", SecretIamPolicyArgs.builder()
            .secretId(private_key_secret.secretId())
            .policyData(p4sa_secretAccessor.policyData())
            .build());
        var policy_whs = new SecretIamPolicy("policy-whs", SecretIamPolicyArgs.builder()
            .secretId(webhook_secret_secret.secretId())
            .policyData(p4sa_secretAccessor.policyData())
            .build());
        var my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("my-connection")
            .githubEnterpriseConfig(ConnectionGithubEnterpriseConfigArgs.builder()
                .hostUri("https://ghe.com")
                .privateKeySecretVersion(private_key_secret_version.id())
                .webhookSecretSecretVersion(webhook_secret_secret_version.id())
                .appId(100)
                .appInstallationId(123123)
                .build())
            .build(), CustomResourceOptions.builder()
                .dependsOn(                
                    policy_pk,
                    policy_whs)
                .build());
    }
}
resources:
  private-key-secret:
    type: gcp:secretmanager:Secret
    properties:
      secretId: ghe-pk-secret
      replication:
        auto: {}
  private-key-secret-version:
    type: gcp:secretmanager:SecretVersion
    properties:
      secret: ${["private-key-secret"].id}
      secretData:
        fn::invoke:
          function: std:file
          arguments:
            input: private-key.pem
          return: result
  webhook-secret-secret:
    type: gcp:secretmanager:Secret
    properties:
      secretId: ghe-token-secret
      replication:
        auto: {}
  webhook-secret-secret-version:
    type: gcp:secretmanager:SecretVersion
    properties:
      secret: ${["webhook-secret-secret"].id}
      secretData: <webhook-secret-data>
  policy-pk:
    type: gcp:secretmanager:SecretIamPolicy
    properties:
      secretId: ${["private-key-secret"].secretId}
      policyData: ${["p4sa-secretAccessor"].policyData}
  policy-whs:
    type: gcp:secretmanager:SecretIamPolicy
    properties:
      secretId: ${["webhook-secret-secret"].secretId}
      policyData: ${["p4sa-secretAccessor"].policyData}
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: my-connection
      githubEnterpriseConfig:
        hostUri: https://ghe.com
        privateKeySecretVersion: ${["private-key-secret-version"].id}
        webhookSecretSecretVersion: ${["webhook-secret-secret-version"].id}
        appId: 100
        appInstallationId: 123123
    options:
      dependsOn:
        - ${["policy-pk"]}
        - ${["policy-whs"]}
variables:
  p4sa-secretAccessor:
    fn::invoke:
      function: gcp:organizations:getIAMPolicy
      arguments:
        bindings:
          - role: roles/secretmanager.secretAccessor
            members:
              - serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com
Developer Connect Connection Gitlab
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "tf-test-connection",
    gitlabConfig: {
        webhookSecretSecretVersion: "projects/devconnect-terraform-creds/secrets/gitlab-webhook/versions/latest",
        readAuthorizerCredential: {
            userTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/gitlab-read-cred/versions/latest",
        },
        authorizerCredential: {
            userTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest",
        },
    },
});
import pulumi
import pulumi_gcp as gcp
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="tf-test-connection",
    gitlab_config={
        "webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-webhook/versions/latest",
        "read_authorizer_credential": {
            "user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-read-cred/versions/latest",
        },
        "authorizer_credential": {
            "user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest",
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection"),
			GitlabConfig: &developerconnect.ConnectionGitlabConfigArgs{
				WebhookSecretSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/gitlab-webhook/versions/latest"),
				ReadAuthorizerCredential: &developerconnect.ConnectionGitlabConfigReadAuthorizerCredentialArgs{
					UserTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/gitlab-read-cred/versions/latest"),
				},
				AuthorizerCredential: &developerconnect.ConnectionGitlabConfigAuthorizerCredentialArgs{
					UserTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "tf-test-connection",
        GitlabConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabConfigArgs
        {
            WebhookSecretSecretVersion = "projects/devconnect-terraform-creds/secrets/gitlab-webhook/versions/latest",
            ReadAuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabConfigReadAuthorizerCredentialArgs
            {
                UserTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/gitlab-read-cred/versions/latest",
            },
            AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabConfigAuthorizerCredentialArgs
            {
                UserTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGitlabConfigArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGitlabConfigReadAuthorizerCredentialArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGitlabConfigAuthorizerCredentialArgs;
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 my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("tf-test-connection")
            .gitlabConfig(ConnectionGitlabConfigArgs.builder()
                .webhookSecretSecretVersion("projects/devconnect-terraform-creds/secrets/gitlab-webhook/versions/latest")
                .readAuthorizerCredential(ConnectionGitlabConfigReadAuthorizerCredentialArgs.builder()
                    .userTokenSecretVersion("projects/devconnect-terraform-creds/secrets/gitlab-read-cred/versions/latest")
                    .build())
                .authorizerCredential(ConnectionGitlabConfigAuthorizerCredentialArgs.builder()
                    .userTokenSecretVersion("projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest")
                    .build())
                .build())
            .build());
    }
}
resources:
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: tf-test-connection
      gitlabConfig:
        webhookSecretSecretVersion: projects/devconnect-terraform-creds/secrets/gitlab-webhook/versions/latest
        readAuthorizerCredential:
          userTokenSecretVersion: projects/devconnect-terraform-creds/secrets/gitlab-read-cred/versions/latest
        authorizerCredential:
          userTokenSecretVersion: projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest
Developer Connect Connection Gitlab Enterprise
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "tf-test-connection",
    gitlabEnterpriseConfig: {
        hostUri: "https://gle-us-central1.gcb-test.com",
        webhookSecretSecretVersion: "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-webhook/versions/latest",
        readAuthorizerCredential: {
            userTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-read-cred/versions/latest",
        },
        authorizerCredential: {
            userTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest",
        },
    },
});
import pulumi
import pulumi_gcp as gcp
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="tf-test-connection",
    gitlab_enterprise_config={
        "host_uri": "https://gle-us-central1.gcb-test.com",
        "webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-webhook/versions/latest",
        "read_authorizer_credential": {
            "user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-read-cred/versions/latest",
        },
        "authorizer_credential": {
            "user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest",
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection"),
			GitlabEnterpriseConfig: &developerconnect.ConnectionGitlabEnterpriseConfigArgs{
				HostUri:                    pulumi.String("https://gle-us-central1.gcb-test.com"),
				WebhookSecretSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/gitlab-enterprise-webhook/versions/latest"),
				ReadAuthorizerCredential: &developerconnect.ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs{
					UserTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/gitlab-enterprise-read-cred/versions/latest"),
				},
				AuthorizerCredential: &developerconnect.ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs{
					UserTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "tf-test-connection",
        GitlabEnterpriseConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabEnterpriseConfigArgs
        {
            HostUri = "https://gle-us-central1.gcb-test.com",
            WebhookSecretSecretVersion = "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-webhook/versions/latest",
            ReadAuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs
            {
                UserTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-read-cred/versions/latest",
            },
            AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs
            {
                UserTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGitlabEnterpriseConfigArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs;
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 my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("tf-test-connection")
            .gitlabEnterpriseConfig(ConnectionGitlabEnterpriseConfigArgs.builder()
                .hostUri("https://gle-us-central1.gcb-test.com")
                .webhookSecretSecretVersion("projects/devconnect-terraform-creds/secrets/gitlab-enterprise-webhook/versions/latest")
                .readAuthorizerCredential(ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs.builder()
                    .userTokenSecretVersion("projects/devconnect-terraform-creds/secrets/gitlab-enterprise-read-cred/versions/latest")
                    .build())
                .authorizerCredential(ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs.builder()
                    .userTokenSecretVersion("projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest")
                    .build())
                .build())
            .build());
    }
}
resources:
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: tf-test-connection
      gitlabEnterpriseConfig:
        hostUri: https://gle-us-central1.gcb-test.com
        webhookSecretSecretVersion: projects/devconnect-terraform-creds/secrets/gitlab-enterprise-webhook/versions/latest
        readAuthorizerCredential:
          userTokenSecretVersion: projects/devconnect-terraform-creds/secrets/gitlab-enterprise-read-cred/versions/latest
        authorizerCredential:
          userTokenSecretVersion: projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest
Developer Connect Connection Bbc
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "tf-test-connection",
    bitbucketCloudConfig: {
        workspace: "proctor-test",
        webhookSecretSecretVersion: "projects/devconnect-terraform-creds/secrets/bbc-webhook/versions/latest",
        readAuthorizerCredential: {
            userTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/bbc-read-token/versions/latest",
        },
        authorizerCredential: {
            userTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/bbc-auth-token/versions/latest",
        },
    },
});
import pulumi
import pulumi_gcp as gcp
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="tf-test-connection",
    bitbucket_cloud_config={
        "workspace": "proctor-test",
        "webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/bbc-webhook/versions/latest",
        "read_authorizer_credential": {
            "user_token_secret_version": "projects/devconnect-terraform-creds/secrets/bbc-read-token/versions/latest",
        },
        "authorizer_credential": {
            "user_token_secret_version": "projects/devconnect-terraform-creds/secrets/bbc-auth-token/versions/latest",
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection"),
			BitbucketCloudConfig: &developerconnect.ConnectionBitbucketCloudConfigArgs{
				Workspace:                  pulumi.String("proctor-test"),
				WebhookSecretSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/bbc-webhook/versions/latest"),
				ReadAuthorizerCredential: &developerconnect.ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs{
					UserTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/bbc-read-token/versions/latest"),
				},
				AuthorizerCredential: &developerconnect.ConnectionBitbucketCloudConfigAuthorizerCredentialArgs{
					UserTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/bbc-auth-token/versions/latest"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "tf-test-connection",
        BitbucketCloudConfig = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketCloudConfigArgs
        {
            Workspace = "proctor-test",
            WebhookSecretSecretVersion = "projects/devconnect-terraform-creds/secrets/bbc-webhook/versions/latest",
            ReadAuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs
            {
                UserTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/bbc-read-token/versions/latest",
            },
            AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketCloudConfigAuthorizerCredentialArgs
            {
                UserTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/bbc-auth-token/versions/latest",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionBitbucketCloudConfigArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionBitbucketCloudConfigAuthorizerCredentialArgs;
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 my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("tf-test-connection")
            .bitbucketCloudConfig(ConnectionBitbucketCloudConfigArgs.builder()
                .workspace("proctor-test")
                .webhookSecretSecretVersion("projects/devconnect-terraform-creds/secrets/bbc-webhook/versions/latest")
                .readAuthorizerCredential(ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs.builder()
                    .userTokenSecretVersion("projects/devconnect-terraform-creds/secrets/bbc-read-token/versions/latest")
                    .build())
                .authorizerCredential(ConnectionBitbucketCloudConfigAuthorizerCredentialArgs.builder()
                    .userTokenSecretVersion("projects/devconnect-terraform-creds/secrets/bbc-auth-token/versions/latest")
                    .build())
                .build())
            .build());
    }
}
resources:
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: tf-test-connection
      bitbucketCloudConfig:
        workspace: proctor-test
        webhookSecretSecretVersion: projects/devconnect-terraform-creds/secrets/bbc-webhook/versions/latest
        readAuthorizerCredential:
          userTokenSecretVersion: projects/devconnect-terraform-creds/secrets/bbc-read-token/versions/latest
        authorizerCredential:
          userTokenSecretVersion: projects/devconnect-terraform-creds/secrets/bbc-auth-token/versions/latest
Developer Connect Connection Bbdc
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const my_connection = new gcp.developerconnect.Connection("my-connection", {
    location: "us-central1",
    connectionId: "tf-test-connection",
    bitbucketDataCenterConfig: {
        hostUri: "https://bitbucket-us-central.gcb-test.com",
        webhookSecretSecretVersion: "projects/devconnect-terraform-creds/secrets/bbdc-webhook/versions/latest",
        readAuthorizerCredential: {
            userTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/bbdc-read-token/versions/latest",
        },
        authorizerCredential: {
            userTokenSecretVersion: "projects/devconnect-terraform-creds/secrets/bbdc-auth-token/versions/latest",
        },
    },
});
import pulumi
import pulumi_gcp as gcp
my_connection = gcp.developerconnect.Connection("my-connection",
    location="us-central1",
    connection_id="tf-test-connection",
    bitbucket_data_center_config={
        "host_uri": "https://bitbucket-us-central.gcb-test.com",
        "webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/bbdc-webhook/versions/latest",
        "read_authorizer_credential": {
            "user_token_secret_version": "projects/devconnect-terraform-creds/secrets/bbdc-read-token/versions/latest",
        },
        "authorizer_credential": {
            "user_token_secret_version": "projects/devconnect-terraform-creds/secrets/bbdc-auth-token/versions/latest",
        },
    })
package main
import (
	"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/developerconnect"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := developerconnect.NewConnection(ctx, "my-connection", &developerconnect.ConnectionArgs{
			Location:     pulumi.String("us-central1"),
			ConnectionId: pulumi.String("tf-test-connection"),
			BitbucketDataCenterConfig: &developerconnect.ConnectionBitbucketDataCenterConfigArgs{
				HostUri:                    pulumi.String("https://bitbucket-us-central.gcb-test.com"),
				WebhookSecretSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/bbdc-webhook/versions/latest"),
				ReadAuthorizerCredential: &developerconnect.ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs{
					UserTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/bbdc-read-token/versions/latest"),
				},
				AuthorizerCredential: &developerconnect.ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs{
					UserTokenSecretVersion: pulumi.String("projects/devconnect-terraform-creds/secrets/bbdc-auth-token/versions/latest"),
				},
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() => 
{
    var my_connection = new Gcp.DeveloperConnect.Connection("my-connection", new()
    {
        Location = "us-central1",
        ConnectionId = "tf-test-connection",
        BitbucketDataCenterConfig = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketDataCenterConfigArgs
        {
            HostUri = "https://bitbucket-us-central.gcb-test.com",
            WebhookSecretSecretVersion = "projects/devconnect-terraform-creds/secrets/bbdc-webhook/versions/latest",
            ReadAuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs
            {
                UserTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/bbdc-read-token/versions/latest",
            },
            AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs
            {
                UserTokenSecretVersion = "projects/devconnect-terraform-creds/secrets/bbdc-auth-token/versions/latest",
            },
        },
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.developerconnect.Connection;
import com.pulumi.gcp.developerconnect.ConnectionArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionBitbucketDataCenterConfigArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs;
import com.pulumi.gcp.developerconnect.inputs.ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs;
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 my_connection = new Connection("my-connection", ConnectionArgs.builder()
            .location("us-central1")
            .connectionId("tf-test-connection")
            .bitbucketDataCenterConfig(ConnectionBitbucketDataCenterConfigArgs.builder()
                .hostUri("https://bitbucket-us-central.gcb-test.com")
                .webhookSecretSecretVersion("projects/devconnect-terraform-creds/secrets/bbdc-webhook/versions/latest")
                .readAuthorizerCredential(ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs.builder()
                    .userTokenSecretVersion("projects/devconnect-terraform-creds/secrets/bbdc-read-token/versions/latest")
                    .build())
                .authorizerCredential(ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs.builder()
                    .userTokenSecretVersion("projects/devconnect-terraform-creds/secrets/bbdc-auth-token/versions/latest")
                    .build())
                .build())
            .build());
    }
}
resources:
  my-connection:
    type: gcp:developerconnect:Connection
    properties:
      location: us-central1
      connectionId: tf-test-connection
      bitbucketDataCenterConfig:
        hostUri: https://bitbucket-us-central.gcb-test.com
        webhookSecretSecretVersion: projects/devconnect-terraform-creds/secrets/bbdc-webhook/versions/latest
        readAuthorizerCredential:
          userTokenSecretVersion: projects/devconnect-terraform-creds/secrets/bbdc-read-token/versions/latest
        authorizerCredential:
          userTokenSecretVersion: projects/devconnect-terraform-creds/secrets/bbdc-auth-token/versions/latest
Import
Connection can be imported using any of these accepted formats:
- projects/{{project}}/locations/{{location}}/connections/{{connection_id}}
- {{project}}/{{location}}/{{connection_id}}
- {{location}}/{{connection_id}}
When using the pulumi import command, Connection can be imported using one of the formats above. For example:
$ pulumi import gcp:developerconnect/connection:Connection default projects/{{project}}/locations/{{location}}/connections/{{connection_id}}
$ pulumi import gcp:developerconnect/connection:Connection default {{project}}/{{location}}/{{connection_id}}
$ pulumi import gcp:developerconnect/connection:Connection default {{location}}/{{connection_id}}
Create Connection Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Connection(name: string, args: ConnectionArgs, opts?: CustomResourceOptions);@overload
def Connection(resource_name: str,
               args: ConnectionArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def Connection(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               connection_id: Optional[str] = None,
               location: Optional[str] = None,
               etag: Optional[str] = None,
               bitbucket_data_center_config: Optional[ConnectionBitbucketDataCenterConfigArgs] = None,
               crypto_key_config: Optional[ConnectionCryptoKeyConfigArgs] = None,
               disabled: Optional[bool] = None,
               annotations: Optional[Mapping[str, str]] = None,
               github_config: Optional[ConnectionGithubConfigArgs] = None,
               github_enterprise_config: Optional[ConnectionGithubEnterpriseConfigArgs] = None,
               gitlab_config: Optional[ConnectionGitlabConfigArgs] = None,
               gitlab_enterprise_config: Optional[ConnectionGitlabEnterpriseConfigArgs] = None,
               labels: Optional[Mapping[str, str]] = None,
               bitbucket_cloud_config: Optional[ConnectionBitbucketCloudConfigArgs] = None,
               project: Optional[str] = None)func NewConnection(ctx *Context, name string, args ConnectionArgs, opts ...ResourceOption) (*Connection, error)public Connection(string name, ConnectionArgs args, CustomResourceOptions? opts = null)
public Connection(String name, ConnectionArgs args)
public Connection(String name, ConnectionArgs args, CustomResourceOptions options)
type: gcp:developerconnect:Connection
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 ConnectionArgs
- 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 ConnectionArgs
- 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 ConnectionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ConnectionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ConnectionArgs
- 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 exampleconnectionResourceResourceFromDeveloperconnectconnection = new Gcp.DeveloperConnect.Connection("exampleconnectionResourceResourceFromDeveloperconnectconnection", new()
{
    ConnectionId = "string",
    Location = "string",
    Etag = "string",
    BitbucketDataCenterConfig = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketDataCenterConfigArgs
    {
        AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs
        {
            UserTokenSecretVersion = "string",
            Username = "string",
        },
        HostUri = "string",
        ReadAuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs
        {
            UserTokenSecretVersion = "string",
            Username = "string",
        },
        WebhookSecretSecretVersion = "string",
        ServerVersion = "string",
        ServiceDirectoryConfig = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketDataCenterConfigServiceDirectoryConfigArgs
        {
            Service = "string",
        },
        SslCaCertificate = "string",
    },
    CryptoKeyConfig = new Gcp.DeveloperConnect.Inputs.ConnectionCryptoKeyConfigArgs
    {
        KeyReference = "string",
    },
    Disabled = false,
    Annotations = 
    {
        { "string", "string" },
    },
    GithubConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigArgs
    {
        GithubApp = "string",
        AppInstallationId = "string",
        AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGithubConfigAuthorizerCredentialArgs
        {
            OauthTokenSecretVersion = "string",
            Username = "string",
        },
        InstallationUri = "string",
    },
    GithubEnterpriseConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubEnterpriseConfigArgs
    {
        HostUri = "string",
        AppId = "string",
        AppInstallationId = "string",
        AppSlug = "string",
        InstallationUri = "string",
        PrivateKeySecretVersion = "string",
        ServerVersion = "string",
        ServiceDirectoryConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs
        {
            Service = "string",
        },
        SslCaCertificate = "string",
        WebhookSecretSecretVersion = "string",
    },
    GitlabConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabConfigArgs
    {
        AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabConfigAuthorizerCredentialArgs
        {
            UserTokenSecretVersion = "string",
            Username = "string",
        },
        ReadAuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabConfigReadAuthorizerCredentialArgs
        {
            UserTokenSecretVersion = "string",
            Username = "string",
        },
        WebhookSecretSecretVersion = "string",
    },
    GitlabEnterpriseConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabEnterpriseConfigArgs
    {
        AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs
        {
            UserTokenSecretVersion = "string",
            Username = "string",
        },
        HostUri = "string",
        ReadAuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs
        {
            UserTokenSecretVersion = "string",
            Username = "string",
        },
        WebhookSecretSecretVersion = "string",
        ServerVersion = "string",
        ServiceDirectoryConfig = new Gcp.DeveloperConnect.Inputs.ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs
        {
            Service = "string",
        },
        SslCaCertificate = "string",
    },
    Labels = 
    {
        { "string", "string" },
    },
    BitbucketCloudConfig = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketCloudConfigArgs
    {
        AuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketCloudConfigAuthorizerCredentialArgs
        {
            UserTokenSecretVersion = "string",
            Username = "string",
        },
        ReadAuthorizerCredential = new Gcp.DeveloperConnect.Inputs.ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs
        {
            UserTokenSecretVersion = "string",
            Username = "string",
        },
        WebhookSecretSecretVersion = "string",
        Workspace = "string",
    },
    Project = "string",
});
example, err := developerconnect.NewConnection(ctx, "exampleconnectionResourceResourceFromDeveloperconnectconnection", &developerconnect.ConnectionArgs{
	ConnectionId: pulumi.String("string"),
	Location:     pulumi.String("string"),
	Etag:         pulumi.String("string"),
	BitbucketDataCenterConfig: &developerconnect.ConnectionBitbucketDataCenterConfigArgs{
		AuthorizerCredential: &developerconnect.ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs{
			UserTokenSecretVersion: pulumi.String("string"),
			Username:               pulumi.String("string"),
		},
		HostUri: pulumi.String("string"),
		ReadAuthorizerCredential: &developerconnect.ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs{
			UserTokenSecretVersion: pulumi.String("string"),
			Username:               pulumi.String("string"),
		},
		WebhookSecretSecretVersion: pulumi.String("string"),
		ServerVersion:              pulumi.String("string"),
		ServiceDirectoryConfig: &developerconnect.ConnectionBitbucketDataCenterConfigServiceDirectoryConfigArgs{
			Service: pulumi.String("string"),
		},
		SslCaCertificate: pulumi.String("string"),
	},
	CryptoKeyConfig: &developerconnect.ConnectionCryptoKeyConfigArgs{
		KeyReference: pulumi.String("string"),
	},
	Disabled: pulumi.Bool(false),
	Annotations: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	GithubConfig: &developerconnect.ConnectionGithubConfigArgs{
		GithubApp:         pulumi.String("string"),
		AppInstallationId: pulumi.String("string"),
		AuthorizerCredential: &developerconnect.ConnectionGithubConfigAuthorizerCredentialArgs{
			OauthTokenSecretVersion: pulumi.String("string"),
			Username:                pulumi.String("string"),
		},
		InstallationUri: pulumi.String("string"),
	},
	GithubEnterpriseConfig: &developerconnect.ConnectionGithubEnterpriseConfigArgs{
		HostUri:                 pulumi.String("string"),
		AppId:                   pulumi.String("string"),
		AppInstallationId:       pulumi.String("string"),
		AppSlug:                 pulumi.String("string"),
		InstallationUri:         pulumi.String("string"),
		PrivateKeySecretVersion: pulumi.String("string"),
		ServerVersion:           pulumi.String("string"),
		ServiceDirectoryConfig: &developerconnect.ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs{
			Service: pulumi.String("string"),
		},
		SslCaCertificate:           pulumi.String("string"),
		WebhookSecretSecretVersion: pulumi.String("string"),
	},
	GitlabConfig: &developerconnect.ConnectionGitlabConfigArgs{
		AuthorizerCredential: &developerconnect.ConnectionGitlabConfigAuthorizerCredentialArgs{
			UserTokenSecretVersion: pulumi.String("string"),
			Username:               pulumi.String("string"),
		},
		ReadAuthorizerCredential: &developerconnect.ConnectionGitlabConfigReadAuthorizerCredentialArgs{
			UserTokenSecretVersion: pulumi.String("string"),
			Username:               pulumi.String("string"),
		},
		WebhookSecretSecretVersion: pulumi.String("string"),
	},
	GitlabEnterpriseConfig: &developerconnect.ConnectionGitlabEnterpriseConfigArgs{
		AuthorizerCredential: &developerconnect.ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs{
			UserTokenSecretVersion: pulumi.String("string"),
			Username:               pulumi.String("string"),
		},
		HostUri: pulumi.String("string"),
		ReadAuthorizerCredential: &developerconnect.ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs{
			UserTokenSecretVersion: pulumi.String("string"),
			Username:               pulumi.String("string"),
		},
		WebhookSecretSecretVersion: pulumi.String("string"),
		ServerVersion:              pulumi.String("string"),
		ServiceDirectoryConfig: &developerconnect.ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs{
			Service: pulumi.String("string"),
		},
		SslCaCertificate: pulumi.String("string"),
	},
	Labels: pulumi.StringMap{
		"string": pulumi.String("string"),
	},
	BitbucketCloudConfig: &developerconnect.ConnectionBitbucketCloudConfigArgs{
		AuthorizerCredential: &developerconnect.ConnectionBitbucketCloudConfigAuthorizerCredentialArgs{
			UserTokenSecretVersion: pulumi.String("string"),
			Username:               pulumi.String("string"),
		},
		ReadAuthorizerCredential: &developerconnect.ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs{
			UserTokenSecretVersion: pulumi.String("string"),
			Username:               pulumi.String("string"),
		},
		WebhookSecretSecretVersion: pulumi.String("string"),
		Workspace:                  pulumi.String("string"),
	},
	Project: pulumi.String("string"),
})
var exampleconnectionResourceResourceFromDeveloperconnectconnection = new Connection("exampleconnectionResourceResourceFromDeveloperconnectconnection", ConnectionArgs.builder()
    .connectionId("string")
    .location("string")
    .etag("string")
    .bitbucketDataCenterConfig(ConnectionBitbucketDataCenterConfigArgs.builder()
        .authorizerCredential(ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs.builder()
            .userTokenSecretVersion("string")
            .username("string")
            .build())
        .hostUri("string")
        .readAuthorizerCredential(ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs.builder()
            .userTokenSecretVersion("string")
            .username("string")
            .build())
        .webhookSecretSecretVersion("string")
        .serverVersion("string")
        .serviceDirectoryConfig(ConnectionBitbucketDataCenterConfigServiceDirectoryConfigArgs.builder()
            .service("string")
            .build())
        .sslCaCertificate("string")
        .build())
    .cryptoKeyConfig(ConnectionCryptoKeyConfigArgs.builder()
        .keyReference("string")
        .build())
    .disabled(false)
    .annotations(Map.of("string", "string"))
    .githubConfig(ConnectionGithubConfigArgs.builder()
        .githubApp("string")
        .appInstallationId("string")
        .authorizerCredential(ConnectionGithubConfigAuthorizerCredentialArgs.builder()
            .oauthTokenSecretVersion("string")
            .username("string")
            .build())
        .installationUri("string")
        .build())
    .githubEnterpriseConfig(ConnectionGithubEnterpriseConfigArgs.builder()
        .hostUri("string")
        .appId("string")
        .appInstallationId("string")
        .appSlug("string")
        .installationUri("string")
        .privateKeySecretVersion("string")
        .serverVersion("string")
        .serviceDirectoryConfig(ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs.builder()
            .service("string")
            .build())
        .sslCaCertificate("string")
        .webhookSecretSecretVersion("string")
        .build())
    .gitlabConfig(ConnectionGitlabConfigArgs.builder()
        .authorizerCredential(ConnectionGitlabConfigAuthorizerCredentialArgs.builder()
            .userTokenSecretVersion("string")
            .username("string")
            .build())
        .readAuthorizerCredential(ConnectionGitlabConfigReadAuthorizerCredentialArgs.builder()
            .userTokenSecretVersion("string")
            .username("string")
            .build())
        .webhookSecretSecretVersion("string")
        .build())
    .gitlabEnterpriseConfig(ConnectionGitlabEnterpriseConfigArgs.builder()
        .authorizerCredential(ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs.builder()
            .userTokenSecretVersion("string")
            .username("string")
            .build())
        .hostUri("string")
        .readAuthorizerCredential(ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs.builder()
            .userTokenSecretVersion("string")
            .username("string")
            .build())
        .webhookSecretSecretVersion("string")
        .serverVersion("string")
        .serviceDirectoryConfig(ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs.builder()
            .service("string")
            .build())
        .sslCaCertificate("string")
        .build())
    .labels(Map.of("string", "string"))
    .bitbucketCloudConfig(ConnectionBitbucketCloudConfigArgs.builder()
        .authorizerCredential(ConnectionBitbucketCloudConfigAuthorizerCredentialArgs.builder()
            .userTokenSecretVersion("string")
            .username("string")
            .build())
        .readAuthorizerCredential(ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs.builder()
            .userTokenSecretVersion("string")
            .username("string")
            .build())
        .webhookSecretSecretVersion("string")
        .workspace("string")
        .build())
    .project("string")
    .build());
exampleconnection_resource_resource_from_developerconnectconnection = gcp.developerconnect.Connection("exampleconnectionResourceResourceFromDeveloperconnectconnection",
    connection_id="string",
    location="string",
    etag="string",
    bitbucket_data_center_config={
        "authorizer_credential": {
            "user_token_secret_version": "string",
            "username": "string",
        },
        "host_uri": "string",
        "read_authorizer_credential": {
            "user_token_secret_version": "string",
            "username": "string",
        },
        "webhook_secret_secret_version": "string",
        "server_version": "string",
        "service_directory_config": {
            "service": "string",
        },
        "ssl_ca_certificate": "string",
    },
    crypto_key_config={
        "key_reference": "string",
    },
    disabled=False,
    annotations={
        "string": "string",
    },
    github_config={
        "github_app": "string",
        "app_installation_id": "string",
        "authorizer_credential": {
            "oauth_token_secret_version": "string",
            "username": "string",
        },
        "installation_uri": "string",
    },
    github_enterprise_config={
        "host_uri": "string",
        "app_id": "string",
        "app_installation_id": "string",
        "app_slug": "string",
        "installation_uri": "string",
        "private_key_secret_version": "string",
        "server_version": "string",
        "service_directory_config": {
            "service": "string",
        },
        "ssl_ca_certificate": "string",
        "webhook_secret_secret_version": "string",
    },
    gitlab_config={
        "authorizer_credential": {
            "user_token_secret_version": "string",
            "username": "string",
        },
        "read_authorizer_credential": {
            "user_token_secret_version": "string",
            "username": "string",
        },
        "webhook_secret_secret_version": "string",
    },
    gitlab_enterprise_config={
        "authorizer_credential": {
            "user_token_secret_version": "string",
            "username": "string",
        },
        "host_uri": "string",
        "read_authorizer_credential": {
            "user_token_secret_version": "string",
            "username": "string",
        },
        "webhook_secret_secret_version": "string",
        "server_version": "string",
        "service_directory_config": {
            "service": "string",
        },
        "ssl_ca_certificate": "string",
    },
    labels={
        "string": "string",
    },
    bitbucket_cloud_config={
        "authorizer_credential": {
            "user_token_secret_version": "string",
            "username": "string",
        },
        "read_authorizer_credential": {
            "user_token_secret_version": "string",
            "username": "string",
        },
        "webhook_secret_secret_version": "string",
        "workspace": "string",
    },
    project="string")
const exampleconnectionResourceResourceFromDeveloperconnectconnection = new gcp.developerconnect.Connection("exampleconnectionResourceResourceFromDeveloperconnectconnection", {
    connectionId: "string",
    location: "string",
    etag: "string",
    bitbucketDataCenterConfig: {
        authorizerCredential: {
            userTokenSecretVersion: "string",
            username: "string",
        },
        hostUri: "string",
        readAuthorizerCredential: {
            userTokenSecretVersion: "string",
            username: "string",
        },
        webhookSecretSecretVersion: "string",
        serverVersion: "string",
        serviceDirectoryConfig: {
            service: "string",
        },
        sslCaCertificate: "string",
    },
    cryptoKeyConfig: {
        keyReference: "string",
    },
    disabled: false,
    annotations: {
        string: "string",
    },
    githubConfig: {
        githubApp: "string",
        appInstallationId: "string",
        authorizerCredential: {
            oauthTokenSecretVersion: "string",
            username: "string",
        },
        installationUri: "string",
    },
    githubEnterpriseConfig: {
        hostUri: "string",
        appId: "string",
        appInstallationId: "string",
        appSlug: "string",
        installationUri: "string",
        privateKeySecretVersion: "string",
        serverVersion: "string",
        serviceDirectoryConfig: {
            service: "string",
        },
        sslCaCertificate: "string",
        webhookSecretSecretVersion: "string",
    },
    gitlabConfig: {
        authorizerCredential: {
            userTokenSecretVersion: "string",
            username: "string",
        },
        readAuthorizerCredential: {
            userTokenSecretVersion: "string",
            username: "string",
        },
        webhookSecretSecretVersion: "string",
    },
    gitlabEnterpriseConfig: {
        authorizerCredential: {
            userTokenSecretVersion: "string",
            username: "string",
        },
        hostUri: "string",
        readAuthorizerCredential: {
            userTokenSecretVersion: "string",
            username: "string",
        },
        webhookSecretSecretVersion: "string",
        serverVersion: "string",
        serviceDirectoryConfig: {
            service: "string",
        },
        sslCaCertificate: "string",
    },
    labels: {
        string: "string",
    },
    bitbucketCloudConfig: {
        authorizerCredential: {
            userTokenSecretVersion: "string",
            username: "string",
        },
        readAuthorizerCredential: {
            userTokenSecretVersion: "string",
            username: "string",
        },
        webhookSecretSecretVersion: "string",
        workspace: "string",
    },
    project: "string",
});
type: gcp:developerconnect:Connection
properties:
    annotations:
        string: string
    bitbucketCloudConfig:
        authorizerCredential:
            userTokenSecretVersion: string
            username: string
        readAuthorizerCredential:
            userTokenSecretVersion: string
            username: string
        webhookSecretSecretVersion: string
        workspace: string
    bitbucketDataCenterConfig:
        authorizerCredential:
            userTokenSecretVersion: string
            username: string
        hostUri: string
        readAuthorizerCredential:
            userTokenSecretVersion: string
            username: string
        serverVersion: string
        serviceDirectoryConfig:
            service: string
        sslCaCertificate: string
        webhookSecretSecretVersion: string
    connectionId: string
    cryptoKeyConfig:
        keyReference: string
    disabled: false
    etag: string
    githubConfig:
        appInstallationId: string
        authorizerCredential:
            oauthTokenSecretVersion: string
            username: string
        githubApp: string
        installationUri: string
    githubEnterpriseConfig:
        appId: string
        appInstallationId: string
        appSlug: string
        hostUri: string
        installationUri: string
        privateKeySecretVersion: string
        serverVersion: string
        serviceDirectoryConfig:
            service: string
        sslCaCertificate: string
        webhookSecretSecretVersion: string
    gitlabConfig:
        authorizerCredential:
            userTokenSecretVersion: string
            username: string
        readAuthorizerCredential:
            userTokenSecretVersion: string
            username: string
        webhookSecretSecretVersion: string
    gitlabEnterpriseConfig:
        authorizerCredential:
            userTokenSecretVersion: string
            username: string
        hostUri: string
        readAuthorizerCredential:
            userTokenSecretVersion: string
            username: string
        serverVersion: string
        serviceDirectoryConfig:
            service: string
        sslCaCertificate: string
        webhookSecretSecretVersion: string
    labels:
        string: string
    location: string
    project: string
Connection 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 Connection resource accepts the following input properties:
- ConnectionId string
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- Location string
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- Annotations Dictionary<string, string>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- BitbucketCloud ConnectionConfig Bitbucket Cloud Config 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- BitbucketData ConnectionCenter Config Bitbucket Data Center Config 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- CryptoKey ConnectionConfig Crypto Key Config 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- Disabled bool
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- Etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- GithubConfig ConnectionGithub Config 
- Configuration for connections to github.com. Structure is documented below.
- GithubEnterprise ConnectionConfig Github Enterprise Config 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- GitlabConfig ConnectionGitlab Config 
- Configuration for connections to gitlab.com. Structure is documented below.
- GitlabEnterprise ConnectionConfig Gitlab Enterprise Config 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- ConnectionId string
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- Location string
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- Annotations map[string]string
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- BitbucketCloud ConnectionConfig Bitbucket Cloud Config Args 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- BitbucketData ConnectionCenter Config Bitbucket Data Center Config Args 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- CryptoKey ConnectionConfig Crypto Key Config Args 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- Disabled bool
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- Etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- GithubConfig ConnectionGithub Config Args 
- Configuration for connections to github.com. Structure is documented below.
- GithubEnterprise ConnectionConfig Github Enterprise Config Args 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- GitlabConfig ConnectionGitlab Config Args 
- Configuration for connections to gitlab.com. Structure is documented below.
- GitlabEnterprise ConnectionConfig Gitlab Enterprise Config Args 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- Labels map[string]string
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- connectionId String
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- location String
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- annotations Map<String,String>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- bitbucketCloud ConnectionConfig Bitbucket Cloud Config 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- bitbucketData ConnectionCenter Config Bitbucket Data Center Config 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- cryptoKey ConnectionConfig Crypto Key Config 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- disabled Boolean
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- etag String
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- githubConfig ConnectionGithub Config 
- Configuration for connections to github.com. Structure is documented below.
- githubEnterprise ConnectionConfig Github Enterprise Config 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- gitlabConfig ConnectionGitlab Config 
- Configuration for connections to gitlab.com. Structure is documented below.
- gitlabEnterprise ConnectionConfig Gitlab Enterprise Config 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- labels Map<String,String>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- connectionId string
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- location string
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- annotations {[key: string]: string}
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- bitbucketCloud ConnectionConfig Bitbucket Cloud Config 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- bitbucketData ConnectionCenter Config Bitbucket Data Center Config 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- cryptoKey ConnectionConfig Crypto Key Config 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- disabled boolean
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- githubConfig ConnectionGithub Config 
- Configuration for connections to github.com. Structure is documented below.
- githubEnterprise ConnectionConfig Github Enterprise Config 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- gitlabConfig ConnectionGitlab Config 
- Configuration for connections to gitlab.com. Structure is documented below.
- gitlabEnterprise ConnectionConfig Gitlab Enterprise Config 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- labels {[key: string]: string}
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- connection_id str
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- location str
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- annotations Mapping[str, str]
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- bitbucket_cloud_ Connectionconfig Bitbucket Cloud Config Args 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- bitbucket_data_ Connectioncenter_ config Bitbucket Data Center Config Args 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- crypto_key_ Connectionconfig Crypto Key Config Args 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- disabled bool
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- etag str
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- github_config ConnectionGithub Config Args 
- Configuration for connections to github.com. Structure is documented below.
- github_enterprise_ Connectionconfig Github Enterprise Config Args 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- gitlab_config ConnectionGitlab Config Args 
- Configuration for connections to gitlab.com. Structure is documented below.
- gitlab_enterprise_ Connectionconfig Gitlab Enterprise Config Args 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- labels Mapping[str, str]
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- connectionId String
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- location String
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- annotations Map<String>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- bitbucketCloud Property MapConfig 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- bitbucketData Property MapCenter Config 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- cryptoKey Property MapConfig 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- disabled Boolean
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- etag String
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- githubConfig Property Map
- Configuration for connections to github.com. Structure is documented below.
- githubEnterprise Property MapConfig 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- gitlabConfig Property Map
- Configuration for connections to gitlab.com. Structure is documented below.
- gitlabEnterprise Property MapConfig 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- labels Map<String>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the Connection resource produces the following output properties:
- CreateTime string
- Output only. [Output only] Create timestamp
- DeleteTime string
- Output only. [Output only] Delete timestamp
- EffectiveAnnotations Dictionary<string, string>
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstallationStates List<ConnectionInstallation State> 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- Name string
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- Uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- UpdateTime string
- Output only. [Output only] Update timestamp
- CreateTime string
- Output only. [Output only] Create timestamp
- DeleteTime string
- Output only. [Output only] Delete timestamp
- EffectiveAnnotations map[string]string
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Id string
- The provider-assigned unique ID for this managed resource.
- InstallationStates []ConnectionInstallation State 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- Name string
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- Uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- UpdateTime string
- Output only. [Output only] Update timestamp
- createTime String
- Output only. [Output only] Create timestamp
- deleteTime String
- Output only. [Output only] Delete timestamp
- effectiveAnnotations Map<String,String>
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- installationStates List<ConnectionInstallation State> 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- name String
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid String
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- updateTime String
- Output only. [Output only] Update timestamp
- createTime string
- Output only. [Output only] Create timestamp
- deleteTime string
- Output only. [Output only] Delete timestamp
- effectiveAnnotations {[key: string]: string}
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id string
- The provider-assigned unique ID for this managed resource.
- installationStates ConnectionInstallation State[] 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- name string
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- updateTime string
- Output only. [Output only] Update timestamp
- create_time str
- Output only. [Output only] Create timestamp
- delete_time str
- Output only. [Output only] Delete timestamp
- effective_annotations Mapping[str, str]
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id str
- The provider-assigned unique ID for this managed resource.
- installation_states Sequence[ConnectionInstallation State] 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- name str
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- uid str
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update_time str
- Output only. [Output only] Update timestamp
- createTime String
- Output only. [Output only] Create timestamp
- deleteTime String
- Output only. [Output only] Delete timestamp
- effectiveAnnotations Map<String>
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- id String
- The provider-assigned unique ID for this managed resource.
- installationStates List<Property Map>
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- name String
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid String
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- updateTime String
- Output only. [Output only] Update timestamp
Look up Existing Connection Resource
Get an existing Connection 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?: ConnectionState, opts?: CustomResourceOptions): Connection@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        annotations: Optional[Mapping[str, str]] = None,
        bitbucket_cloud_config: Optional[ConnectionBitbucketCloudConfigArgs] = None,
        bitbucket_data_center_config: Optional[ConnectionBitbucketDataCenterConfigArgs] = None,
        connection_id: Optional[str] = None,
        create_time: Optional[str] = None,
        crypto_key_config: Optional[ConnectionCryptoKeyConfigArgs] = None,
        delete_time: Optional[str] = None,
        disabled: Optional[bool] = None,
        effective_annotations: Optional[Mapping[str, str]] = None,
        effective_labels: Optional[Mapping[str, str]] = None,
        etag: Optional[str] = None,
        github_config: Optional[ConnectionGithubConfigArgs] = None,
        github_enterprise_config: Optional[ConnectionGithubEnterpriseConfigArgs] = None,
        gitlab_config: Optional[ConnectionGitlabConfigArgs] = None,
        gitlab_enterprise_config: Optional[ConnectionGitlabEnterpriseConfigArgs] = None,
        installation_states: Optional[Sequence[ConnectionInstallationStateArgs]] = None,
        labels: Optional[Mapping[str, str]] = None,
        location: Optional[str] = None,
        name: Optional[str] = None,
        project: Optional[str] = None,
        pulumi_labels: Optional[Mapping[str, str]] = None,
        reconciling: Optional[bool] = None,
        uid: Optional[str] = None,
        update_time: Optional[str] = None) -> Connectionfunc GetConnection(ctx *Context, name string, id IDInput, state *ConnectionState, opts ...ResourceOption) (*Connection, error)public static Connection Get(string name, Input<string> id, ConnectionState? state, CustomResourceOptions? opts = null)public static Connection get(String name, Output<String> id, ConnectionState state, CustomResourceOptions options)resources:  _:    type: gcp:developerconnect:Connection    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.
- Annotations Dictionary<string, string>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- BitbucketCloud ConnectionConfig Bitbucket Cloud Config 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- BitbucketData ConnectionCenter Config Bitbucket Data Center Config 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- ConnectionId string
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- CreateTime string
- Output only. [Output only] Create timestamp
- CryptoKey ConnectionConfig Crypto Key Config 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- DeleteTime string
- Output only. [Output only] Delete timestamp
- Disabled bool
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- EffectiveAnnotations Dictionary<string, string>
- EffectiveLabels Dictionary<string, string>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- GithubConfig ConnectionGithub Config 
- Configuration for connections to github.com. Structure is documented below.
- GithubEnterprise ConnectionConfig Github Enterprise Config 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- GitlabConfig ConnectionGitlab Config 
- Configuration for connections to gitlab.com. Structure is documented below.
- GitlabEnterprise ConnectionConfig Gitlab Enterprise Config 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- InstallationStates List<ConnectionInstallation State> 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- Labels Dictionary<string, string>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Location string
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- Name string
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels Dictionary<string, string>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- Uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- UpdateTime string
- Output only. [Output only] Update timestamp
- Annotations map[string]string
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- BitbucketCloud ConnectionConfig Bitbucket Cloud Config Args 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- BitbucketData ConnectionCenter Config Bitbucket Data Center Config Args 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- ConnectionId string
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- CreateTime string
- Output only. [Output only] Create timestamp
- CryptoKey ConnectionConfig Crypto Key Config Args 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- DeleteTime string
- Output only. [Output only] Delete timestamp
- Disabled bool
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- EffectiveAnnotations map[string]string
- EffectiveLabels map[string]string
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- Etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- GithubConfig ConnectionGithub Config Args 
- Configuration for connections to github.com. Structure is documented below.
- GithubEnterprise ConnectionConfig Github Enterprise Config Args 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- GitlabConfig ConnectionGitlab Config Args 
- Configuration for connections to gitlab.com. Structure is documented below.
- GitlabEnterprise ConnectionConfig Gitlab Enterprise Config Args 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- InstallationStates []ConnectionInstallation State Args 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- Labels map[string]string
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- Location string
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- Name string
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- Project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- PulumiLabels map[string]string
- The combination of labels configured directly on the resource and default labels configured on the provider.
- Reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- Uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- UpdateTime string
- Output only. [Output only] Update timestamp
- annotations Map<String,String>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- bitbucketCloud ConnectionConfig Bitbucket Cloud Config 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- bitbucketData ConnectionCenter Config Bitbucket Data Center Config 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- connectionId String
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- createTime String
- Output only. [Output only] Create timestamp
- cryptoKey ConnectionConfig Crypto Key Config 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- deleteTime String
- Output only. [Output only] Delete timestamp
- disabled Boolean
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- effectiveAnnotations Map<String,String>
- effectiveLabels Map<String,String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag String
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- githubConfig ConnectionGithub Config 
- Configuration for connections to github.com. Structure is documented below.
- githubEnterprise ConnectionConfig Github Enterprise Config 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- gitlabConfig ConnectionGitlab Config 
- Configuration for connections to gitlab.com. Structure is documented below.
- gitlabEnterprise ConnectionConfig Gitlab Enterprise Config 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- installationStates List<ConnectionInstallation State> 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- labels Map<String,String>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location String
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- name String
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String,String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid String
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- updateTime String
- Output only. [Output only] Update timestamp
- annotations {[key: string]: string}
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- bitbucketCloud ConnectionConfig Bitbucket Cloud Config 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- bitbucketData ConnectionCenter Config Bitbucket Data Center Config 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- connectionId string
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- createTime string
- Output only. [Output only] Create timestamp
- cryptoKey ConnectionConfig Crypto Key Config 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- deleteTime string
- Output only. [Output only] Delete timestamp
- disabled boolean
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- effectiveAnnotations {[key: string]: string}
- effectiveLabels {[key: string]: string}
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag string
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- githubConfig ConnectionGithub Config 
- Configuration for connections to github.com. Structure is documented below.
- githubEnterprise ConnectionConfig Github Enterprise Config 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- gitlabConfig ConnectionGitlab Config 
- Configuration for connections to gitlab.com. Structure is documented below.
- gitlabEnterprise ConnectionConfig Gitlab Enterprise Config 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- installationStates ConnectionInstallation State[] 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- labels {[key: string]: string}
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location string
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- name string
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- project string
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels {[key: string]: string}
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid string
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- updateTime string
- Output only. [Output only] Update timestamp
- annotations Mapping[str, str]
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- bitbucket_cloud_ Connectionconfig Bitbucket Cloud Config Args 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- bitbucket_data_ Connectioncenter_ config Bitbucket Data Center Config Args 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- connection_id str
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- create_time str
- Output only. [Output only] Create timestamp
- crypto_key_ Connectionconfig Crypto Key Config Args 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- delete_time str
- Output only. [Output only] Delete timestamp
- disabled bool
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- effective_annotations Mapping[str, str]
- effective_labels Mapping[str, str]
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag str
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- github_config ConnectionGithub Config Args 
- Configuration for connections to github.com. Structure is documented below.
- github_enterprise_ Connectionconfig Github Enterprise Config Args 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- gitlab_config ConnectionGitlab Config Args 
- Configuration for connections to gitlab.com. Structure is documented below.
- gitlab_enterprise_ Connectionconfig Gitlab Enterprise Config Args 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- installation_states Sequence[ConnectionInstallation State Args] 
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- labels Mapping[str, str]
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location str
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- name str
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumi_labels Mapping[str, str]
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling bool
- Output only. Set to true when the connection is being set up or updated in the background.
- uid str
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- update_time str
- Output only. [Output only] Update timestamp
- annotations Map<String>
- Optional. Allows clients to store small amounts of arbitrary data.
Note: This field is non-authoritative, and will only manage the annotations present in your configuration.
Please refer to the field effective_annotationsfor all of the annotations present on the resource.
- bitbucketCloud Property MapConfig 
- Configuration for connections to an instance of Bitbucket Cloud. Structure is documented below.
- bitbucketData Property MapCenter Config 
- Configuration for connections to an instance of Bitbucket Data Center. Structure is documented below.
- connectionId String
- Required. Id of the requesting object
If auto-generating Id server-side, remove this field and
connection_id from the method_signature of Create RPC
- createTime String
- Output only. [Output only] Create timestamp
- cryptoKey Property MapConfig 
- The crypto key configuration. This field is used by the Customer-managed encryption keys (CMEK) feature. Structure is documented below.
- deleteTime String
- Output only. [Output only] Delete timestamp
- disabled Boolean
- Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
- effectiveAnnotations Map<String>
- effectiveLabels Map<String>
- All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
- etag String
- Optional. This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
- githubConfig Property Map
- Configuration for connections to github.com. Structure is documented below.
- githubEnterprise Property MapConfig 
- Configuration for connections to an instance of GitHub Enterprise. Structure is documented below.
- gitlabConfig Property Map
- Configuration for connections to gitlab.com. Structure is documented below.
- gitlabEnterprise Property MapConfig 
- Configuration for connections to an instance of GitLab Enterprise. Structure is documented below.
- installationStates List<Property Map>
- Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections. Structure is documented below.
- labels Map<String>
- Optional. Labels as key value pairs
Note: This field is non-authoritative, and will only manage the labels present in your configuration.
Please refer to the field effective_labelsfor all of the labels present on the resource.
- location String
- Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122.
- name String
- Identifier. The resource name of the connection, in the format
projects/{project}/locations/{location}/connections/{connection_id}.
- project String
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
- pulumiLabels Map<String>
- The combination of labels configured directly on the resource and default labels configured on the provider.
- reconciling Boolean
- Output only. Set to true when the connection is being set up or updated in the background.
- uid String
- Output only. A system-assigned unique identifier for a the GitRepositoryLink.
- updateTime String
- Output only. [Output only] Update timestamp
Supporting Types
ConnectionBitbucketCloudConfig, ConnectionBitbucketCloudConfigArgs        
- 
ConnectionBitbucket Cloud Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionBitbucket Cloud Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- WebhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate and create webhooks.
- Workspace string
- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
- 
ConnectionBitbucket Cloud Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionBitbucket Cloud Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- WebhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate and create webhooks.
- Workspace string
- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
- 
ConnectionBitbucket Cloud Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionBitbucket Cloud Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret StringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate and create webhooks.
- workspace String
- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
- 
ConnectionBitbucket Cloud Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionBitbucket Cloud Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate and create webhooks.
- workspace string
- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
- 
ConnectionBitbucket Cloud Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionBitbucket Cloud Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhook_secret_ strsecret_ version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate and create webhooks.
- workspace str
- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
- Property Map
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- Property Map
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret StringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate and create webhooks.
- workspace String
- Required. The Bitbucket Cloud Workspace ID to be connected to Google Cloud Platform.
ConnectionBitbucketCloudConfigAuthorizerCredential, ConnectionBitbucketCloudConfigAuthorizerCredentialArgs            
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- userToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- user_token_ strsecret_ version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionBitbucketCloudConfigReadAuthorizerCredential, ConnectionBitbucketCloudConfigReadAuthorizerCredentialArgs              
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- userToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- user_token_ strsecret_ version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionBitbucketDataCenterConfig, ConnectionBitbucketDataCenterConfigArgs          
- 
ConnectionBitbucket Data Center Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- HostUri string
- Required. The URI of the Bitbucket Data Center host this connection is for.
- 
ConnectionBitbucket Data Center Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- WebhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- ServerVersion string
- (Output)
Output only. Version of the Bitbucket Data Center server running on the host_uri.
- ServiceDirectory ConnectionConfig Bitbucket Data Center Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- SslCa stringCertificate 
- Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
- 
ConnectionBitbucket Data Center Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- HostUri string
- Required. The URI of the Bitbucket Data Center host this connection is for.
- 
ConnectionBitbucket Data Center Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- WebhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- ServerVersion string
- (Output)
Output only. Version of the Bitbucket Data Center server running on the host_uri.
- ServiceDirectory ConnectionConfig Bitbucket Data Center Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- SslCa stringCertificate 
- Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
- 
ConnectionBitbucket Data Center Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- hostUri String
- Required. The URI of the Bitbucket Data Center host this connection is for.
- 
ConnectionBitbucket Data Center Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret StringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- serverVersion String
- (Output)
Output only. Version of the Bitbucket Data Center server running on the host_uri.
- serviceDirectory ConnectionConfig Bitbucket Data Center Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa StringCertificate 
- Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
- 
ConnectionBitbucket Data Center Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- hostUri string
- Required. The URI of the Bitbucket Data Center host this connection is for.
- 
ConnectionBitbucket Data Center Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- serverVersion string
- (Output)
Output only. Version of the Bitbucket Data Center server running on the host_uri.
- serviceDirectory ConnectionConfig Bitbucket Data Center Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa stringCertificate 
- Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
- 
ConnectionBitbucket Data Center Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- host_uri str
- Required. The URI of the Bitbucket Data Center host this connection is for.
- 
ConnectionBitbucket Data Center Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhook_secret_ strsecret_ version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- server_version str
- (Output)
Output only. Version of the Bitbucket Data Center server running on the host_uri.
- service_directory_ Connectionconfig Bitbucket Data Center Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- ssl_ca_ strcertificate 
- Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
- Property Map
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- hostUri String
- Required. The URI of the Bitbucket Data Center host this connection is for.
- Property Map
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret StringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret used to verify webhook
events, formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- serverVersion String
- (Output)
Output only. Version of the Bitbucket Data Center server running on the host_uri.
- serviceDirectory Property MapConfig 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa StringCertificate 
- Optional. SSL certificate authority to trust when making requests to Bitbucket Data Center.
ConnectionBitbucketDataCenterConfigAuthorizerCredential, ConnectionBitbucketDataCenterConfigAuthorizerCredentialArgs              
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- userToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- user_token_ strsecret_ version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionBitbucketDataCenterConfigReadAuthorizerCredential, ConnectionBitbucketDataCenterConfigReadAuthorizerCredentialArgs                
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- userToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- user_token_ strsecret_ version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionBitbucketDataCenterConfigServiceDirectoryConfig, ConnectionBitbucketDataCenterConfigServiceDirectoryConfigArgs                
- Service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- Service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service String
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service str
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service String
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
ConnectionCryptoKeyConfig, ConnectionCryptoKeyConfigArgs        
- KeyReference string
- Required. The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*.
- KeyReference string
- Required. The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*.
- keyReference String
- Required. The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*.
- keyReference string
- Required. The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*.
- key_reference str
- Required. The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*.
- keyReference String
- Required. The name of the key which is used to encrypt/decrypt customer data. For key
in Cloud KMS, the key should be in the format of
projects/*/locations/*/keyRings/*/cryptoKeys/*.
ConnectionGithubConfig, ConnectionGithubConfigArgs      
- GithubApp string
- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. Possible values: GIT_HUB_APP_UNSPECIFIED DEVELOPER_CONNECT FIREBASE
- AppInstallation stringId 
- Optional. GitHub App installation id.
- 
ConnectionGithub Config Authorizer Credential 
- Represents an OAuth token of the account that authorized the Connection, and associated metadata. Structure is documented below.
- InstallationUri string
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
- GithubApp string
- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. Possible values: GIT_HUB_APP_UNSPECIFIED DEVELOPER_CONNECT FIREBASE
- AppInstallation stringId 
- Optional. GitHub App installation id.
- 
ConnectionGithub Config Authorizer Credential 
- Represents an OAuth token of the account that authorized the Connection, and associated metadata. Structure is documented below.
- InstallationUri string
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
- githubApp String
- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. Possible values: GIT_HUB_APP_UNSPECIFIED DEVELOPER_CONNECT FIREBASE
- appInstallation StringId 
- Optional. GitHub App installation id.
- 
ConnectionGithub Config Authorizer Credential 
- Represents an OAuth token of the account that authorized the Connection, and associated metadata. Structure is documented below.
- installationUri String
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
- githubApp string
- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. Possible values: GIT_HUB_APP_UNSPECIFIED DEVELOPER_CONNECT FIREBASE
- appInstallation stringId 
- Optional. GitHub App installation id.
- 
ConnectionGithub Config Authorizer Credential 
- Represents an OAuth token of the account that authorized the Connection, and associated metadata. Structure is documented below.
- installationUri string
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
- github_app str
- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. Possible values: GIT_HUB_APP_UNSPECIFIED DEVELOPER_CONNECT FIREBASE
- app_installation_ strid 
- Optional. GitHub App installation id.
- 
ConnectionGithub Config Authorizer Credential 
- Represents an OAuth token of the account that authorized the Connection, and associated metadata. Structure is documented below.
- installation_uri str
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
- githubApp String
- Required. Immutable. The GitHub Application that was installed to the GitHub user or organization. Possible values: GIT_HUB_APP_UNSPECIFIED DEVELOPER_CONNECT FIREBASE
- appInstallation StringId 
- Optional. GitHub App installation id.
- Property Map
- Represents an OAuth token of the account that authorized the Connection, and associated metadata. Structure is documented below.
- installationUri String
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubConfig.
ConnectionGithubConfigAuthorizerCredential, ConnectionGithubConfigAuthorizerCredentialArgs          
- OauthToken stringSecret Version 
- Required. A SecretManager resource containing the OAuth token that authorizes
the connection. Format: projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- OauthToken stringSecret Version 
- Required. A SecretManager resource containing the OAuth token that authorizes
the connection. Format: projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- oauthToken StringSecret Version 
- Required. A SecretManager resource containing the OAuth token that authorizes
the connection. Format: projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- oauthToken stringSecret Version 
- Required. A SecretManager resource containing the OAuth token that authorizes
the connection. Format: projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- oauth_token_ strsecret_ version 
- Required. A SecretManager resource containing the OAuth token that authorizes
the connection. Format: projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- oauthToken StringSecret Version 
- Required. A SecretManager resource containing the OAuth token that authorizes
the connection. Format: projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionGithubEnterpriseConfig, ConnectionGithubEnterpriseConfigArgs        
- HostUri string
- Required. The URI of the GitHub Enterprise host this connection is for.
- AppId string
- Optional. ID of the GitHub App created from the manifest.
- AppInstallation stringId 
- Optional. ID of the installation of the GitHub App.
- AppSlug string
- (Output) Output only. The URL-friendly name of the GitHub App.
- InstallationUri string
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
- PrivateKey stringSecret Version 
- Optional. SecretManager resource containing the private key of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- ServerVersion string
- (Output) Output only. GitHub Enterprise version installed at the host_uri.
- ServiceDirectory ConnectionConfig Github Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- SslCa stringCertificate 
- Optional. SSL certificate to use for requests to GitHub Enterprise.
- WebhookSecret stringSecret Version 
- Optional. SecretManager resource containing the webhook secret of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- HostUri string
- Required. The URI of the GitHub Enterprise host this connection is for.
- AppId string
- Optional. ID of the GitHub App created from the manifest.
- AppInstallation stringId 
- Optional. ID of the installation of the GitHub App.
- AppSlug string
- (Output) Output only. The URL-friendly name of the GitHub App.
- InstallationUri string
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
- PrivateKey stringSecret Version 
- Optional. SecretManager resource containing the private key of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- ServerVersion string
- (Output) Output only. GitHub Enterprise version installed at the host_uri.
- ServiceDirectory ConnectionConfig Github Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- SslCa stringCertificate 
- Optional. SSL certificate to use for requests to GitHub Enterprise.
- WebhookSecret stringSecret Version 
- Optional. SecretManager resource containing the webhook secret of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- hostUri String
- Required. The URI of the GitHub Enterprise host this connection is for.
- appId String
- Optional. ID of the GitHub App created from the manifest.
- appInstallation StringId 
- Optional. ID of the installation of the GitHub App.
- appSlug String
- (Output) Output only. The URL-friendly name of the GitHub App.
- installationUri String
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
- privateKey StringSecret Version 
- Optional. SecretManager resource containing the private key of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- serverVersion String
- (Output) Output only. GitHub Enterprise version installed at the host_uri.
- serviceDirectory ConnectionConfig Github Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa StringCertificate 
- Optional. SSL certificate to use for requests to GitHub Enterprise.
- webhookSecret StringSecret Version 
- Optional. SecretManager resource containing the webhook secret of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- hostUri string
- Required. The URI of the GitHub Enterprise host this connection is for.
- appId string
- Optional. ID of the GitHub App created from the manifest.
- appInstallation stringId 
- Optional. ID of the installation of the GitHub App.
- appSlug string
- (Output) Output only. The URL-friendly name of the GitHub App.
- installationUri string
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
- privateKey stringSecret Version 
- Optional. SecretManager resource containing the private key of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- serverVersion string
- (Output) Output only. GitHub Enterprise version installed at the host_uri.
- serviceDirectory ConnectionConfig Github Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa stringCertificate 
- Optional. SSL certificate to use for requests to GitHub Enterprise.
- webhookSecret stringSecret Version 
- Optional. SecretManager resource containing the webhook secret of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- host_uri str
- Required. The URI of the GitHub Enterprise host this connection is for.
- app_id str
- Optional. ID of the GitHub App created from the manifest.
- app_installation_ strid 
- Optional. ID of the installation of the GitHub App.
- app_slug str
- (Output) Output only. The URL-friendly name of the GitHub App.
- installation_uri str
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
- private_key_ strsecret_ version 
- Optional. SecretManager resource containing the private key of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- server_version str
- (Output) Output only. GitHub Enterprise version installed at the host_uri.
- service_directory_ Connectionconfig Github Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- ssl_ca_ strcertificate 
- Optional. SSL certificate to use for requests to GitHub Enterprise.
- webhook_secret_ strsecret_ version 
- Optional. SecretManager resource containing the webhook secret of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- hostUri String
- Required. The URI of the GitHub Enterprise host this connection is for.
- appId String
- Optional. ID of the GitHub App created from the manifest.
- appInstallation StringId 
- Optional. ID of the installation of the GitHub App.
- appSlug String
- (Output) Output only. The URL-friendly name of the GitHub App.
- installationUri String
- (Output) Output only. The URI to navigate to in order to manage the installation associated with this GitHubEnterpriseConfig.
- privateKey StringSecret Version 
- Optional. SecretManager resource containing the private key of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
- serverVersion String
- (Output) Output only. GitHub Enterprise version installed at the host_uri.
- serviceDirectory Property MapConfig 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa StringCertificate 
- Optional. SSL certificate to use for requests to GitHub Enterprise.
- webhookSecret StringSecret Version 
- Optional. SecretManager resource containing the webhook secret of the GitHub App,
formatted as projects/*/secrets/*/versions/*.
ConnectionGithubEnterpriseConfigServiceDirectoryConfig, ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs              
- Service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- Service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service String
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service str
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service String
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
ConnectionGitlabConfig, ConnectionGitlabConfigArgs      
- 
ConnectionGitlab Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionGitlab Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- WebhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- 
ConnectionGitlab Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionGitlab Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- WebhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- 
ConnectionGitlab Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionGitlab Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret StringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- 
ConnectionGitlab Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionGitlab Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- 
ConnectionGitlab Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- 
ConnectionGitlab Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhook_secret_ strsecret_ version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- Property Map
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- Property Map
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret StringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
ConnectionGitlabConfigAuthorizerCredential, ConnectionGitlabConfigAuthorizerCredentialArgs          
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- userToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- user_token_ strsecret_ version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionGitlabConfigReadAuthorizerCredential, ConnectionGitlabConfigReadAuthorizerCredentialArgs            
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- userToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- user_token_ strsecret_ version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionGitlabEnterpriseConfig, ConnectionGitlabEnterpriseConfigArgs        
- 
ConnectionGitlab Enterprise Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- HostUri string
- Required. The URI of the GitLab Enterprise host this connection is for.
- 
ConnectionGitlab Enterprise Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- WebhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- ServerVersion string
- (Output)
Output only. Version of the GitLab Enterprise server running on the host_uri.
- ServiceDirectory ConnectionConfig Gitlab Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- SslCa stringCertificate 
- Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
- 
ConnectionGitlab Enterprise Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- HostUri string
- Required. The URI of the GitLab Enterprise host this connection is for.
- 
ConnectionGitlab Enterprise Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- WebhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- ServerVersion string
- (Output)
Output only. Version of the GitLab Enterprise server running on the host_uri.
- ServiceDirectory ConnectionConfig Gitlab Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- SslCa stringCertificate 
- Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
- 
ConnectionGitlab Enterprise Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- hostUri String
- Required. The URI of the GitLab Enterprise host this connection is for.
- 
ConnectionGitlab Enterprise Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret StringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- serverVersion String
- (Output)
Output only. Version of the GitLab Enterprise server running on the host_uri.
- serviceDirectory ConnectionConfig Gitlab Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa StringCertificate 
- Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
- 
ConnectionGitlab Enterprise Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- hostUri string
- Required. The URI of the GitLab Enterprise host this connection is for.
- 
ConnectionGitlab Enterprise Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret stringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- serverVersion string
- (Output)
Output only. Version of the GitLab Enterprise server running on the host_uri.
- serviceDirectory ConnectionConfig Gitlab Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa stringCertificate 
- Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
- 
ConnectionGitlab Enterprise Config Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- host_uri str
- Required. The URI of the GitLab Enterprise host this connection is for.
- 
ConnectionGitlab Enterprise Config Read Authorizer Credential 
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhook_secret_ strsecret_ version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- server_version str
- (Output)
Output only. Version of the GitLab Enterprise server running on the host_uri.
- service_directory_ Connectionconfig Gitlab Enterprise Config Service Directory Config 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- ssl_ca_ strcertificate 
- Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
- Property Map
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- hostUri String
- Required. The URI of the GitLab Enterprise host this connection is for.
- Property Map
- Represents a personal access token that authorized the Connection, and associated metadata. Structure is documented below.
- webhookSecret StringSecret Version 
- Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
formatted as projects/*/secrets/*/versions/*. This is used to validate webhooks.
- serverVersion String
- (Output)
Output only. Version of the GitLab Enterprise server running on the host_uri.
- serviceDirectory Property MapConfig 
- ServiceDirectoryConfig represents Service Directory configuration for a connection. Structure is documented below.
- sslCa StringCertificate 
- Optional. SSL Certificate Authority certificate to use for requests to GitLab Enterprise instance.
ConnectionGitlabEnterpriseConfigAuthorizerCredential, ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs            
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- userToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- user_token_ strsecret_ version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionGitlabEnterpriseConfigReadAuthorizerCredential, ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs              
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- UserToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- Username string
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
- userToken stringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username string
- (Output) Output only. The username associated with this token.
- user_token_ strsecret_ version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username str
- (Output) Output only. The username associated with this token.
- userToken StringSecret Version 
- Required. A SecretManager resource containing the user token that authorizes
the Developer Connect connection. Format:
projects/*/secrets/*/versions/*.
- username String
- (Output) Output only. The username associated with this token.
ConnectionGitlabEnterpriseConfigServiceDirectoryConfig, ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs              
- Service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- Service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service String
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service string
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service str
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service String
- Required. The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
ConnectionInstallationState, ConnectionInstallationStateArgs      
- ActionUri string
- Output only. Link to follow for next action. Empty string if the installation is already complete.
- Message string
- Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
- Stage string
- (Output) Output only. Current step of the installation process. Possible values: STAGE_UNSPECIFIED PENDING_CREATE_APP PENDING_USER_OAUTH PENDING_INSTALL_APP COMPLETE
- ActionUri string
- Output only. Link to follow for next action. Empty string if the installation is already complete.
- Message string
- Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
- Stage string
- (Output) Output only. Current step of the installation process. Possible values: STAGE_UNSPECIFIED PENDING_CREATE_APP PENDING_USER_OAUTH PENDING_INSTALL_APP COMPLETE
- actionUri String
- Output only. Link to follow for next action. Empty string if the installation is already complete.
- message String
- Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
- stage String
- (Output) Output only. Current step of the installation process. Possible values: STAGE_UNSPECIFIED PENDING_CREATE_APP PENDING_USER_OAUTH PENDING_INSTALL_APP COMPLETE
- actionUri string
- Output only. Link to follow for next action. Empty string if the installation is already complete.
- message string
- Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
- stage string
- (Output) Output only. Current step of the installation process. Possible values: STAGE_UNSPECIFIED PENDING_CREATE_APP PENDING_USER_OAUTH PENDING_INSTALL_APP COMPLETE
- action_uri str
- Output only. Link to follow for next action. Empty string if the installation is already complete.
- message str
- Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
- stage str
- (Output) Output only. Current step of the installation process. Possible values: STAGE_UNSPECIFIED PENDING_CREATE_APP PENDING_USER_OAUTH PENDING_INSTALL_APP COMPLETE
- actionUri String
- Output only. Link to follow for next action. Empty string if the installation is already complete.
- message String
- Output only. Message of what the user should do next to continue the installation. Empty string if the installation is already complete.
- stage String
- (Output) Output only. Current step of the installation process. Possible values: STAGE_UNSPECIFIED PENDING_CREATE_APP PENDING_USER_OAUTH PENDING_INSTALL_APP COMPLETE
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the google-betaTerraform Provider.