Skip to content

Commit

Permalink
Upgrade pulumi-java to 0.9.9 (#283)
Browse files Browse the repository at this point in the history
* make tfgen

* make build_sdks

---------

Co-authored-by: dirien-bot <botdirien.de>
  • Loading branch information
dirien authored Jan 29, 2024
1 parent a61de68 commit 1657a91
Show file tree
Hide file tree
Showing 256 changed files with 11,640 additions and 7,218 deletions.
1 change: 1 addition & 0 deletions .pulumi-java-gen.version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
0.9.9
4 changes: 3 additions & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
module github.com/pulumiverse/pulumi-exoscale/provider

go 1.20
go 1.21

toolchain go1.21.6

replace (
github.com/exoscale/terraform-provider-exoscale/shim => ./shim
Expand Down
25 changes: 25 additions & 0 deletions sdk/dotnet/AntiAffinityGroup.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,31 @@
namespace Pulumiverse.Exoscale
{
/// <summary>
/// Manage Exoscale [Anti-Affinity Groups](https://community.exoscale.com/documentation/compute/anti-affinity-groups/).
///
/// Corresponding data source: exoscale_anti_affinity_group.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Exoscale = Pulumiverse.Exoscale;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var myAntiAffinityGroup = new Exoscale.AntiAffinityGroup("myAntiAffinityGroup", new()
/// {
/// Description = "Prevent compute instances to run on the same host",
/// });
///
/// });
/// ```
///
/// Please refer to the examples
/// directory for complete configuration examples.
///
/// ## Import
///
/// An existing anti-affinity group may be imported by `&lt;ID&gt;`
Expand Down
43 changes: 40 additions & 3 deletions sdk/dotnet/ComputeInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,43 @@
namespace Pulumiverse.Exoscale
{
/// <summary>
/// Manage Exoscale [Compute Instances](https://community.exoscale.com/documentation/compute/).
///
/// Corresponding data sources: exoscale_compute_instance, exoscale_compute_instance_list.
///
/// After the creation, you can retrieve the password of an instance with [Exoscale CLI](https://github.com/exoscale/cli): `exo compute instance reveal-password NAME`.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Exoscale = Pulumi.Exoscale;
/// using Exoscale = Pulumiverse.Exoscale;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var myTemplate = Exoscale.GetTemplate.Invoke(new()
/// {
/// Zone = "ch-gva-2",
/// Name = "Linux Ubuntu 22.04 LTS 64-bit",
/// });
///
/// var myInstance = new Exoscale.ComputeInstance("myInstance", new()
/// {
/// Zone = "ch-gva-2",
/// TemplateId = myTemplate.Apply(getTemplateResult =&gt; getTemplateResult.Id),
/// Type = "standard.medium",
/// DiskSize = 10,
/// });
///
/// });
/// ```
///
/// Please refer to the examples
/// directory for complete configuration examples.
///
/// ## Import
///
/// An existing compute instance may be imported by `&lt;ID&gt;@&lt;zone&gt;`
Expand Down Expand Up @@ -45,7 +82,7 @@ public partial class ComputeInstance : global::Pulumi.CustomResource
public Output<string?> DeployTargetId { get; private set; } = null!;

/// <summary>
/// The instance disk size (GiB; at least `10`). **WARNING**: updating this attribute stops/restarts the instance.
/// The instance disk size (GiB; at least `10`). Can not be decreased after creation. **WARNING**: updating this attribute stops/restarts the instance.
/// </summary>
[Output("diskSize")]
public Output<int> DiskSize { get; private set; } = null!;
Expand Down Expand Up @@ -218,7 +255,7 @@ public InputList<string> AntiAffinityGroupIds
public Input<string>? DeployTargetId { get; set; }

/// <summary>
/// The instance disk size (GiB; at least `10`). **WARNING**: updating this attribute stops/restarts the instance.
/// The instance disk size (GiB; at least `10`). Can not be decreased after creation. **WARNING**: updating this attribute stops/restarts the instance.
/// </summary>
[Input("diskSize")]
public Input<int>? DiskSize { get; set; }
Expand Down Expand Up @@ -364,7 +401,7 @@ public InputList<string> AntiAffinityGroupIds
public Input<string>? DeployTargetId { get; set; }

/// <summary>
/// The instance disk size (GiB; at least `10`). **WARNING**: updating this attribute stops/restarts the instance.
/// The instance disk size (GiB; at least `10`). Can not be decreased after creation. **WARNING**: updating this attribute stops/restarts the instance.
/// </summary>
[Input("diskSize")]
public Input<int>? DiskSize { get; set; }
Expand Down
2 changes: 2 additions & 0 deletions sdk/dotnet/Database.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
namespace Pulumiverse.Exoscale
{
/// <summary>
/// Manage Exoscale [Database Services (DBaaS)](https://community.exoscale.com/documentation/dbaas/).
///
/// ## Import
///
/// An existing database service may be imported by `&lt;name&gt;@&lt;zone&gt;`
Expand Down
24 changes: 24 additions & 0 deletions sdk/dotnet/Domain.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,30 @@
namespace Pulumiverse.Exoscale
{
/// <summary>
/// Manage Exoscale [DNS](https://community.exoscale.com/documentation/dns/) Domains.
///
/// Corresponding data source: exoscale_domain.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Exoscale = Pulumiverse.Exoscale;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var myDomain = new Exoscale.Domain("myDomain");
///
/// });
/// ```
///
/// Next step is to attach exoscale_domain_record(s) to the domain.
///
/// Please refer to the examples
/// directory for complete configuration examples.
///
/// ## Import
///
/// An existing DNS domain may be imported by `ID`
Expand Down
48 changes: 48 additions & 0 deletions sdk/dotnet/DomainRecord.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,42 @@
namespace Pulumiverse.Exoscale
{
/// <summary>
/// Manage Exoscale [DNS](https://community.exoscale.com/documentation/dns/) Domain Records.
///
/// Corresponding data source: exoscale_domain_record.
///
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Exoscale = Pulumiverse.Exoscale;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var myDomain = new Exoscale.Domain("myDomain");
///
/// var myHost = new Exoscale.DomainRecord("myHost", new()
/// {
/// Domain = myDomain.Id,
/// RecordType = "A",
/// Content = "1.2.3.4",
/// });
///
/// var myHostAlias = new Exoscale.DomainRecord("myHostAlias", new()
/// {
/// Domain = myDomain.Id,
/// RecordType = "CNAME",
/// Content = myHost.Hostname,
/// });
///
/// });
/// ```
///
/// Please refer to the examples
/// directory for complete configuration examples.
///
/// ## Import
///
/// An existing DNS domain record may be imported by `&lt;ID&gt;`
Expand All @@ -32,6 +68,12 @@ public partial class DomainRecord : global::Pulumi.CustomResource
[Output("content")]
public Output<string> Content { get; private set; } = null!;

/// <summary>
/// The normalized value of the record
/// </summary>
[Output("contentNormalized")]
public Output<string> ContentNormalized { get; private set; } = null!;

/// <summary>
/// ❗ The parent exoscale.Domain to attach the record to.
/// </summary>
Expand Down Expand Up @@ -165,6 +207,12 @@ public sealed class DomainRecordState : global::Pulumi.ResourceArgs
[Input("content")]
public Input<string>? Content { get; set; }

/// <summary>
/// The normalized value of the record
/// </summary>
[Input("contentNormalized")]
public Input<string>? ContentNormalized { get; set; }

/// <summary>
/// ❗ The parent exoscale.Domain to attach the record to.
/// </summary>
Expand Down
Loading

0 comments on commit 1657a91

Please sign in to comment.