Skip to content

Commit

Permalink
Upgrade pulumi-terraform-bridge to v3.63.1 (#410)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-gitlab
--kind=bridge --target-bridge-version=v3.63.1 --pr-reviewers=t0yv0
--pr-description=`.

---

- Upgrading pulumi-terraform-bridge from v3.63.0 to v3.63.1.
  • Loading branch information
pulumi-bot authored Oct 25, 2023
1 parent c1ef01d commit 3a4c9e6
Show file tree
Hide file tree
Showing 430 changed files with 12,937 additions and 5 deletions.
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.21

require (
github.com/pulumi/pulumi-terraform-bridge/pf v0.18.2
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1
github.com/pulumi/pulumi/sdk/v3 v3.90.1
gitlab.com/gitlab-org/terraform-provider-gitlab v0.0.0
)
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2182,8 +2182,8 @@ github.com/pulumi/pulumi-terraform-bridge/pf v0.18.2 h1:lSm5nbZETkeVNJQTcGOmuHCS
github.com/pulumi/pulumi-terraform-bridge/pf v0.18.2/go.mod h1:4ii0lFkIQMhCZg5du0xEtAB36Kk0WuLtDVO/ntTxRIs=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1 h1:SCg1gjfY9N4yn8U8peIUYATifjoDABkyR7H9lmefsfc=
github.com/pulumi/pulumi-terraform-bridge/testing v0.0.1/go.mod h1:7OeUPH8rpt5ipyj9EFcnXpuzQ8SHL0dyqdfa8nOacdk=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0 h1:otdmkNsMGyZ+proUZClznZo+cEchkSSkmaGcq+Gf+6s=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.0/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1 h1:hBgediyT2LdS5yfD5AMiCmBJ/TYP94Xxv6a4TcAfV0g=
github.com/pulumi/pulumi-terraform-bridge/v3 v3.63.1/go.mod h1:6YVbDo019OeHkQWo9MnUbBy6cCgCQeoXZDjmR9SYmUA=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6 h1:uy8P3aaAbrOrGvytvCb2KsYqZMA9TJiY8IKeVQgNAJo=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.6/go.mod h1:uw1IN0Mlvi5SL0cmWzmKqZ+ZDNueRIXkr9aE+XQkrug=
github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E=
Expand Down
23 changes: 23 additions & 0 deletions sdk/dotnet/Application.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ namespace Pulumi.GitLab
///
/// **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/applications.html)
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =>
/// {
/// var oidc = new GitLab.Application("oidc", new()
/// {
/// Confidential = true,
/// RedirectUrl = "https://mycompany.com",
/// Scopes = new[]
/// {
/// "openid",
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// Gitlab applications can be imported with their id, e.g.
Expand Down
21 changes: 21 additions & 0 deletions sdk/dotnet/ApplicationSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,27 @@

namespace Pulumi.GitLab
{
/// <summary>
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Set the 2FA settings
/// var @this = new GitLab.ApplicationSettings("this", new()
/// {
/// RequireTwoFactorAuthentication = true,
/// TwoFactorGracePeriod = 24,
/// });
///
/// });
/// ```
/// </summary>
[GitLabResourceType("gitlab:index/applicationSettings:ApplicationSettings")]
public partial class ApplicationSettings : global::Pulumi.CustomResource
{
Expand Down
26 changes: 26 additions & 0 deletions sdk/dotnet/Branch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,32 @@ namespace Pulumi.GitLab
///
/// **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/branches.html)
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a project for the branch to use
/// var exampleProject = new GitLab.Project("exampleProject", new()
/// {
/// Description = "An example project",
/// NamespaceId = gitlab_group.Example.Id,
/// });
///
/// var exampleBranch = new GitLab.Branch("exampleBranch", new()
/// {
/// Ref = "main",
/// Project = exampleProject.Id,
/// });
///
/// });
/// ```
///
/// ## Import
///
/// Gitlab branches can be imported with a key composed of `&lt;project_id&gt;:&lt;branch_name&gt;`, e.g.
Expand Down
33 changes: 33 additions & 0 deletions sdk/dotnet/ClusterAgent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,39 @@ namespace Pulumi.GitLab
///
/// **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html)
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = new GitLab.ClusterAgent("example", new()
/// {
/// Project = "12345",
/// });
///
/// // Optionally, configure the agent as described in
/// // https://docs.gitlab.com/ee/user/clusters/agent/install/index.html#create-an-agent-configuration-file
/// var exampleAgentConfig = new GitLab.RepositoryFile("exampleAgentConfig", new()
/// {
/// Project = example.Project,
/// Branch = "main",
/// FilePath = example.Name.Apply(name =&gt; $".gitlab/agents/{name}"),
/// Content = @" gitops:
/// ...
/// ",
/// AuthorEmail = "terraform@example.com",
/// AuthorName = "Terraform",
/// CommitMessage = example.Name.Apply(name =&gt; $"feature: add agent config for {name}"),
/// });
///
/// });
/// ```
///
/// ## Import
///
/// GitLab Agent for Kubernetes can be imported with the following command and the id pattern `&lt;project&gt;:&lt;agent-id&gt;`
Expand Down
57 changes: 57 additions & 0 deletions sdk/dotnet/ClusterAgentToken.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,63 @@ namespace Pulumi.GitLab
///
/// **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/cluster_agents.html#create-an-agent-token)
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
/// using Helm = Pulumi.Helm;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create token for an agent
/// var example = new GitLab.ClusterAgentToken("example", new()
/// {
/// Project = "12345",
/// AgentId = 42,
/// Description = "some token",
/// });
///
/// var thisProject = GitLab.GetProject.Invoke(new()
/// {
/// PathWithNamespace = "my-org/example",
/// });
///
/// var thisClusterAgent = new GitLab.ClusterAgent("thisClusterAgent", new()
/// {
/// Project = thisProject.Apply(getProjectResult =&gt; getProjectResult.Id),
/// });
///
/// var thisClusterAgentToken = new GitLab.ClusterAgentToken("thisClusterAgentToken", new()
/// {
/// Project = thisProject.Apply(getProjectResult =&gt; getProjectResult.Id),
/// AgentId = thisClusterAgent.AgentId,
/// Description = "Token for the my-agent used with `gitlab-agent` Helm Chart",
/// });
///
/// var gitlabAgent = new Helm.Index.Helm_release("gitlabAgent", new()
/// {
/// Name = "gitlab-agent",
/// Namespace = "gitlab-agent",
/// CreateNamespace = true,
/// Repository = "https://charts.gitlab.io",
/// Chart = "gitlab-agent",
/// Version = "1.2.0",
/// Set = new[]
/// {
///
/// {
/// { "name", "config.token" },
/// { "value", thisClusterAgentToken.Token },
/// },
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// A token for a GitLab Agent for Kubernetes can be imported with the following command and the id pattern `&lt;project&gt;:&lt;agent-id&gt;:&lt;token-id&gt;`
Expand Down
22 changes: 22 additions & 0 deletions sdk/dotnet/ComplianceFramework.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,28 @@ namespace Pulumi.GitLab
///
/// **Upstream API**: [GitLab GraphQL API docs](https://docs.gitlab.com/ee/api/graphql/reference/#mutationcreatecomplianceframework)
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var sample = new GitLab.ComplianceFramework("sample", new()
/// {
/// Color = "#87BEEF",
/// Default = false,
/// Description = "A HIPAA Compliance Framework",
/// NamespacePath = "top-level-group",
/// PipelineConfigurationFullPath = ".hipaa.yml@top-level-group/compliance-frameworks",
/// });
///
/// });
/// ```
///
/// ## Import
///
/// Gitlab compliance frameworks can be imported with a key composed of `&lt;namespace_path&gt;:&lt;framework_id&gt;`, e.g.
Expand Down
20 changes: 20 additions & 0 deletions sdk/dotnet/DeployKey.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,26 @@ namespace Pulumi.GitLab
///
/// **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_keys.html)
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var example = new GitLab.DeployKey("example", new()
/// {
/// Key = "ssh-ed25519 AAAA...",
/// Project = "example/deploying",
/// Title = "Example deploy key",
/// });
///
/// });
/// ```
///
/// ## Import
///
/// GitLab deploy keys can be imported using an id made up of `{project_id}:{deploy_key_id}`, e.g. `project_id` can be whatever the [get single project api][get_single_project] takes for its `:id` value, so for example
Expand Down
34 changes: 34 additions & 0 deletions sdk/dotnet/DeployKeyEnable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,40 @@ namespace Pulumi.GitLab
///
/// **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/deploy_keys.html#enable-a-deploy-key)
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // A repo to host the deployment key
/// var parentProject = new GitLab.Project("parentProject");
///
/// // A second repo to use the deployment key from the parent project
/// var fooProject = new GitLab.Project("fooProject");
///
/// // Upload a deployment key for the parent repo
/// var parentDeployKey = new GitLab.DeployKey("parentDeployKey", new()
/// {
/// Project = parentProject.Id,
/// Title = "Example deploy key",
/// Key = "ssh-ed25519 AAAA...",
/// });
///
/// // Enable the deployment key on the second repo
/// var fooDeployKeyEnable = new GitLab.DeployKeyEnable("fooDeployKeyEnable", new()
/// {
/// Project = fooProject.Id,
/// KeyId = parentDeployKey.DeployKeyId,
/// });
///
/// });
/// ```
///
/// ## Import
///
/// GitLab enabled deploy keys can be imported using an id made up of `{project_id}:{deploy_key_id}`, e.g. `project_id` can be whatever the [get single project api][get_single_project] takes for its `:id` value, so for example
Expand Down
46 changes: 46 additions & 0 deletions sdk/dotnet/GetBranch.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,29 @@ public static class GetBranch
/// The `gitlab.Branch` data source allows details of a repository branch to be retrieved by its name and project.
///
/// **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/branches.html#get-single-repository-branch)
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var foo = GitLab.GetBranch.Invoke(new()
/// {
/// Name = "example",
/// Project = "foo/bar",
/// });
///
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetBranchResult> InvokeAsync(GetBranchArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetBranchResult>("gitlab:index/getBranch:getBranch", args ?? new GetBranchArgs(), options.WithDefaults());
Expand All @@ -23,6 +46,29 @@ public static Task<GetBranchResult> InvokeAsync(GetBranchArgs args, InvokeOption
/// The `gitlab.Branch` data source allows details of a repository branch to be retrieved by its name and project.
///
/// **Upstream API**: [GitLab REST API docs](https://docs.gitlab.com/ee/api/branches.html#get-single-repository-branch)
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using GitLab = Pulumi.GitLab;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var foo = GitLab.GetBranch.Invoke(new()
/// {
/// Name = "example",
/// Project = "foo/bar",
/// });
///
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetBranchResult> Invoke(GetBranchInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetBranchResult>("gitlab:index/getBranch:getBranch", args ?? new GetBranchInvokeArgs(), options.WithDefaults());
Expand Down
Loading

0 comments on commit 3a4c9e6

Please sign in to comment.