Skip to content

Commit

Permalink
Upgrade pulumi-terraform-bridge to v3.63.1 (#310)
Browse files Browse the repository at this point in the history
This PR was generated via `$ upgrade-provider pulumi/pulumi-civo
--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 b829abf commit 5874871
Show file tree
Hide file tree
Showing 90 changed files with 2,818 additions and 3 deletions.
2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ replace github.com/hashicorp/terraform-plugin-sdk/v2 => github.com/pulumi/terraf

require (
github.com/civo/terraform-provider-civo v1.0.39
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
)

Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2197,8 +2197,8 @@ github.com/pulumi/pulumi-java/pkg v0.9.8 h1:c8mYsalnRXA2Ibgvv6scefOn6mW1Vb0UT0mc
github.com/pulumi/pulumi-java/pkg v0.9.8/go.mod h1:c6rSw/+q4O0IImgJ9axxoC6QesbPYWBaG5gimbHouUQ=
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.4 h1:rIzMmtcVpPX8ynaz6/nW5AHNY63DiNfCohqmxWvMpM4=
github.com/pulumi/pulumi-terraform-bridge/x/muxer v0.0.4/go.mod h1:Kt8RIZWa/N8rW3+0g6NrqCBmF3o+HuIhFaZpssEkG6w=
github.com/pulumi/pulumi-yaml v1.2.2 h1:W6BeUBLhDrJ2GSU0em1AUVelG9PBI4ABY61DdhJOO3E=
Expand Down
16 changes: 16 additions & 0 deletions sdk/dotnet/DnsDomainName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,22 @@ namespace Pulumi.Civo
/// <summary>
/// Provides a Civo DNS domain name resource.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a new domain name
/// var main = new Civo.DnsDomainName("main");
///
/// });
/// ```
///
/// ## Import
///
/// using domain name
Expand Down
82 changes: 82 additions & 0 deletions sdk/dotnet/Firewall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,88 @@ namespace Pulumi.Civo
/// <summary>
/// Provides a Civo firewall resource. This can be used to create, modify, and delete firewalls.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// // Create a network
/// var customNet = new Civo.Network("customNet", new()
/// {
/// Label = "my-custom-network",
/// });
///
/// // Create a firewall
/// var wwwFirewall = new Civo.Firewall("wwwFirewall", new()
/// {
/// NetworkId = customNet.Id,
/// });
///
/// // Create a firewall with the default rules
/// var wwwIndex_firewallFirewall = new Civo.Firewall("wwwIndex/firewallFirewall", new()
/// {
/// NetworkId = customNet.Id,
/// CreateDefaultRules = true,
/// });
///
/// // Create a firewall withouth the default rules but with a custom rule
/// var wwwCivoIndex_firewallFirewall = new Civo.Firewall("wwwCivoIndex/firewallFirewall", new()
/// {
/// NetworkId = customNet.Id,
/// CreateDefaultRules = false,
/// IngressRules = new[]
/// {
/// new Civo.Inputs.FirewallIngressRuleArgs
/// {
/// Label = "k8s",
/// Protocol = "tcp",
/// PortRange = "6443",
/// Cidrs = new[]
/// {
/// "192.168.1.1/32",
/// "192.168.10.4/32",
/// "192.168.10.10/32",
/// },
/// Action = "allow",
/// },
/// new Civo.Inputs.FirewallIngressRuleArgs
/// {
/// Label = "ssh",
/// Protocol = "tcp",
/// PortRange = "22",
/// Cidrs = new[]
/// {
/// "192.168.1.1/32",
/// "192.168.10.4/32",
/// "192.168.10.10/32",
/// },
/// Action = "allow",
/// },
/// },
/// EgressRules = new[]
/// {
/// new Civo.Inputs.FirewallEgressRuleArgs
/// {
/// Label = "all",
/// Protocol = "tcp",
/// PortRange = "1-65535",
/// Cidrs = new[]
/// {
/// "0.0.0.0/0",
/// },
/// Action = "allow",
/// },
/// },
/// });
///
/// });
/// ```
///
/// ## Import
///
/// using ID
Expand Down
46 changes: 46 additions & 0 deletions sdk/dotnet/GetDatabase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,29 @@ public static class GetDatabase
/// Get information of an Database for use in other resources. This data source provides all of the Database's properties as configured on your Civo account.
///
/// Note: This data source returns a single Database. When specifying a name, an error will be raised if more than one Databases with the same name found.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var test = Civo.GetDatabase.Invoke(new()
/// {
/// Name = "test-database",
/// Region = "LON1",
/// });
///
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetDatabaseResult> InvokeAsync(GetDatabaseArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetDatabaseResult>("civo:index/getDatabase:getDatabase", args ?? new GetDatabaseArgs(), options.WithDefaults());
Expand All @@ -23,6 +46,29 @@ public static Task<GetDatabaseResult> InvokeAsync(GetDatabaseArgs? args = null,
/// Get information of an Database for use in other resources. This data source provides all of the Database's properties as configured on your Civo account.
///
/// Note: This data source returns a single Database. When specifying a name, an error will be raised if more than one Databases with the same name found.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var test = Civo.GetDatabase.Invoke(new()
/// {
/// Name = "test-database",
/// Region = "LON1",
/// });
///
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetDatabaseResult> Invoke(GetDatabaseInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetDatabaseResult>("civo:index/getDatabase:getDatabase", args ?? new GetDatabaseInvokeArgs(), options.WithDefaults());
Expand Down
54 changes: 54 additions & 0 deletions sdk/dotnet/GetDnsDomainName.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,33 @@ public static class GetDnsDomainName
/// Get information on a domain. This data source provides the name and the id.
///
/// An error will be raised if the provided domain name is not in your Civo account.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var domain = Civo.GetDnsDomainName.Invoke(new()
/// {
/// Name = "domain.com",
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["domainOutput"] = domain.Apply(getDnsDomainNameResult =&gt; getDnsDomainNameResult.Name),
/// ["domainIdOutput"] = domain.Apply(getDnsDomainNameResult =&gt; getDnsDomainNameResult.Id),
/// };
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetDnsDomainNameResult> InvokeAsync(GetDnsDomainNameArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetDnsDomainNameResult>("civo:index/getDnsDomainName:getDnsDomainName", args ?? new GetDnsDomainNameArgs(), options.WithDefaults());
Expand All @@ -23,6 +50,33 @@ public static Task<GetDnsDomainNameResult> InvokeAsync(GetDnsDomainNameArgs? arg
/// Get information on a domain. This data source provides the name and the id.
///
/// An error will be raised if the provided domain name is not in your Civo account.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var domain = Civo.GetDnsDomainName.Invoke(new()
/// {
/// Name = "domain.com",
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["domainOutput"] = domain.Apply(getDnsDomainNameResult =&gt; getDnsDomainNameResult.Name),
/// ["domainIdOutput"] = domain.Apply(getDnsDomainNameResult =&gt; getDnsDomainNameResult.Id),
/// };
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetDnsDomainNameResult> Invoke(GetDnsDomainNameInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetDnsDomainNameResult>("civo:index/getDnsDomainName:getDnsDomainName", args ?? new GetDnsDomainNameInvokeArgs(), options.WithDefaults());
Expand Down
66 changes: 66 additions & 0 deletions sdk/dotnet/GetDnsDomainRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,39 @@ public static class GetDnsDomainRecord
/// Get information on a DNS record. This data source provides the name, TTL, and zone file as configured on your Civo account.
///
/// An error will be raised if the provided domain name or record are not in your Civo account.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var domain = Civo.GetDnsDomainName.Invoke(new()
/// {
/// Name = "domain.com",
/// });
///
/// var www = Civo.GetDnsDomainRecord.Invoke(new()
/// {
/// DomainId = domain.Apply(getDnsDomainNameResult =&gt; getDnsDomainNameResult.Id),
/// Name = "www",
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["recordType"] = www.Apply(getDnsDomainRecordResult =&gt; getDnsDomainRecordResult.Type),
/// ["recordTtl"] = www.Apply(getDnsDomainRecordResult =&gt; getDnsDomainRecordResult.Ttl),
/// };
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetDnsDomainRecordResult> InvokeAsync(GetDnsDomainRecordArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetDnsDomainRecordResult>("civo:index/getDnsDomainRecord:getDnsDomainRecord", args ?? new GetDnsDomainRecordArgs(), options.WithDefaults());
Expand All @@ -23,6 +56,39 @@ public static Task<GetDnsDomainRecordResult> InvokeAsync(GetDnsDomainRecordArgs
/// Get information on a DNS record. This data source provides the name, TTL, and zone file as configured on your Civo account.
///
/// An error will be raised if the provided domain name or record are not in your Civo account.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var domain = Civo.GetDnsDomainName.Invoke(new()
/// {
/// Name = "domain.com",
/// });
///
/// var www = Civo.GetDnsDomainRecord.Invoke(new()
/// {
/// DomainId = domain.Apply(getDnsDomainNameResult =&gt; getDnsDomainNameResult.Id),
/// Name = "www",
/// });
///
/// return new Dictionary&lt;string, object?&gt;
/// {
/// ["recordType"] = www.Apply(getDnsDomainRecordResult =&gt; getDnsDomainRecordResult.Type),
/// ["recordTtl"] = www.Apply(getDnsDomainRecordResult =&gt; getDnsDomainRecordResult.Ttl),
/// };
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetDnsDomainRecordResult> Invoke(GetDnsDomainRecordInvokeArgs args, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetDnsDomainRecordResult>("civo:index/getDnsDomainRecord:getDnsDomainRecord", args ?? new GetDnsDomainRecordInvokeArgs(), options.WithDefaults());
Expand Down
46 changes: 46 additions & 0 deletions sdk/dotnet/GetFirewall.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,29 @@ public static class GetFirewall
/// This data source provides all of the firewall's properties as configured on your Civo account.
///
/// Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for a specific firewall inside that region.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var test = Civo.GetFirewall.Invoke(new()
/// {
/// Name = "test-firewall",
/// Region = "LON1",
/// });
///
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Task<GetFirewallResult> InvokeAsync(GetFirewallArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetFirewallResult>("civo:index/getFirewall:getFirewall", args ?? new GetFirewallArgs(), options.WithDefaults());
Expand All @@ -27,6 +50,29 @@ public static Task<GetFirewallResult> InvokeAsync(GetFirewallArgs? args = null,
/// This data source provides all of the firewall's properties as configured on your Civo account.
///
/// Firewalls may be looked up by id or name, and you can optionally pass region if you want to make a lookup for a specific firewall inside that region.
///
/// {{% examples %}}
/// ## Example Usage
/// {{% example %}}
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Civo = Pulumi.Civo;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var test = Civo.GetFirewall.Invoke(new()
/// {
/// Name = "test-firewall",
/// Region = "LON1",
/// });
///
/// });
/// ```
/// {{% /example %}}
/// {{% /examples %}}
/// </summary>
public static Output<GetFirewallResult> Invoke(GetFirewallInvokeArgs? args = null, InvokeOptions? options = null)
=> global::Pulumi.Deployment.Instance.Invoke<GetFirewallResult>("civo:index/getFirewall:getFirewall", args ?? new GetFirewallInvokeArgs(), options.WithDefaults());
Expand Down
Loading

0 comments on commit 5874871

Please sign in to comment.