Skip to content

Commit

Permalink
Merge branch 'feat/v0.0.121' into 'main'
Browse files Browse the repository at this point in the history
Generate from terraform provider v0.0.121
  • Loading branch information
dougsong committed Nov 3, 2023
2 parents f877c98 + b5f7414 commit 1a8c53c
Show file tree
Hide file tree
Showing 162 changed files with 31,990 additions and 619 deletions.
3,068 changes: 3,023 additions & 45 deletions provider/cmd/pulumi-resource-volcengine/schema.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion provider/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
github.com/hashicorp/terraform-plugin-sdk v1.9.1
github.com/pulumi/pulumi-terraform-bridge/v3 v3.57.0
github.com/pulumi/pulumi/sdk/v3 v3.76.1
github.com/volcengine/terraform-provider-volcengine v0.0.117
github.com/volcengine/terraform-provider-volcengine v0.0.121
)

require (
Expand Down
4 changes: 2 additions & 2 deletions provider/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1732,8 +1732,8 @@ github.com/vmihailenco/msgpack/v5 v5.3.5/go.mod h1:7xyJ9e+0+9SaZT0Wt1RGleJXzli6Q
github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgqMEUPoW2WPyhdI=
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
github.com/volcengine/terraform-provider-volcengine v0.0.117 h1:ifSBLzLS+BaydFDmPNxixFrHe16NXC0CxN8RB9sECT0=
github.com/volcengine/terraform-provider-volcengine v0.0.117/go.mod h1:nHE+W7UPw526nvKfFuuUbxRPhzFOmz2Gt37FhaYXYnI=
github.com/volcengine/terraform-provider-volcengine v0.0.121 h1:t7nSpECXW3dc+q67G21LlMC5o/i0tLoPIfRv+alNH+M=
github.com/volcengine/terraform-provider-volcengine v0.0.121/go.mod h1:nHE+W7UPw526nvKfFuuUbxRPhzFOmz2Gt37FhaYXYnI=
github.com/volcengine/volc-sdk-golang v1.0.23 h1:anOslb2Qp6ywnsbyq9jqR0ljuO63kg9PY+4OehIk5R8=
github.com/volcengine/volc-sdk-golang v1.0.23/go.mod h1:AfG/PZRUkHJ9inETvbjNifTDgut25Wbkm2QoYBTbvyU=
github.com/volcengine/volcengine-go-sdk v1.0.75 h1:FLNABNe7D5adaul3hLs4Co3oFC4xqIK5+QpKAdW/49Y=
Expand Down
655 changes: 337 additions & 318 deletions provider/resources.go

Large diffs are not rendered by default.

61 changes: 17 additions & 44 deletions sdk/dotnet/Volcengine/Bioos/Cluster.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,9 @@ namespace Volcengine.Pulumi.Volcengine.Bioos
/// var foo = new Volcengine.Bioos.Cluster("foo", new()
/// {
/// Description = "test-description",
/// SharedConfigs = new[]
/// SharedConfig = new Volcengine.Bioos.Inputs.ClusterSharedConfigArgs
/// {
/// new Volcengine.Bioos.Inputs.ClusterSharedConfigArgs
/// {
/// Enable = true,
/// },
/// Enable = true,
/// },
/// });
///
Expand Down Expand Up @@ -69,14 +66,14 @@ public partial class Cluster : global::Pulumi.CustomResource
/// <summary>
/// The configuration of the shared cluster.
/// </summary>
[Output("sharedConfigs")]
public Output<ImmutableArray<Outputs.ClusterSharedConfig>> SharedConfigs { get; private set; } = null!;
[Output("sharedConfig")]
public Output<Outputs.ClusterSharedConfig> SharedConfig { get; private set; } = null!;

/// <summary>
/// The configuration of the vke cluster.
/// The configuration of the vke cluster. This cluster type is not recommended. It is recommended to use a shared cluster.
/// </summary>
[Output("vkeConfigs")]
public Output<ImmutableArray<Outputs.ClusterVkeConfig>> VkeConfigs { get; private set; } = null!;
[Output("vkeConfig")]
public Output<Outputs.ClusterVkeConfig> VkeConfig { get; private set; } = null!;


/// <summary>
Expand Down Expand Up @@ -137,29 +134,17 @@ public sealed class ClusterArgs : global::Pulumi.ResourceArgs
[Input("name")]
public Input<string>? Name { get; set; }

[Input("sharedConfigs")]
private InputList<Inputs.ClusterSharedConfigArgs>? _sharedConfigs;

/// <summary>
/// The configuration of the shared cluster.
/// </summary>
public InputList<Inputs.ClusterSharedConfigArgs> SharedConfigs
{
get => _sharedConfigs ?? (_sharedConfigs = new InputList<Inputs.ClusterSharedConfigArgs>());
set => _sharedConfigs = value;
}

[Input("vkeConfigs")]
private InputList<Inputs.ClusterVkeConfigArgs>? _vkeConfigs;
[Input("sharedConfig")]
public Input<Inputs.ClusterSharedConfigArgs>? SharedConfig { get; set; }

/// <summary>
/// The configuration of the vke cluster.
/// The configuration of the vke cluster. This cluster type is not recommended. It is recommended to use a shared cluster.
/// </summary>
public InputList<Inputs.ClusterVkeConfigArgs> VkeConfigs
{
get => _vkeConfigs ?? (_vkeConfigs = new InputList<Inputs.ClusterVkeConfigArgs>());
set => _vkeConfigs = value;
}
[Input("vkeConfig")]
public Input<Inputs.ClusterVkeConfigArgs>? VkeConfig { get; set; }

public ClusterArgs()
{
Expand Down Expand Up @@ -187,29 +172,17 @@ public sealed class ClusterState : global::Pulumi.ResourceArgs
[Input("name")]
public Input<string>? Name { get; set; }

[Input("sharedConfigs")]
private InputList<Inputs.ClusterSharedConfigGetArgs>? _sharedConfigs;

/// <summary>
/// The configuration of the shared cluster.
/// </summary>
public InputList<Inputs.ClusterSharedConfigGetArgs> SharedConfigs
{
get => _sharedConfigs ?? (_sharedConfigs = new InputList<Inputs.ClusterSharedConfigGetArgs>());
set => _sharedConfigs = value;
}

[Input("vkeConfigs")]
private InputList<Inputs.ClusterVkeConfigGetArgs>? _vkeConfigs;
[Input("sharedConfig")]
public Input<Inputs.ClusterSharedConfigGetArgs>? SharedConfig { get; set; }

/// <summary>
/// The configuration of the vke cluster.
/// The configuration of the vke cluster. This cluster type is not recommended. It is recommended to use a shared cluster.
/// </summary>
public InputList<Inputs.ClusterVkeConfigGetArgs> VkeConfigs
{
get => _vkeConfigs ?? (_vkeConfigs = new InputList<Inputs.ClusterVkeConfigGetArgs>());
set => _vkeConfigs = value;
}
[Input("vkeConfig")]
public Input<Inputs.ClusterVkeConfigGetArgs>? VkeConfig { get; set; }

public ClusterState()
{
Expand Down
3 changes: 3 additions & 0 deletions sdk/dotnet/Volcengine/Bioos/Clusters.cs
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,9 @@ public sealed class ClustersResult
/// whether it is a public cluster.
/// </summary>
public readonly bool? Public;
/// <summary>
/// The status of the cluster.
/// </summary>
public readonly ImmutableArray<string> Statuses;
/// <summary>
/// The total count of Cluster query.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Volcengine.Pulumi.Volcengine.Bioos.Inputs
public sealed class ClusterSharedConfigArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// Whether to enable a shared cluster.
/// Whether to enable a shared cluster. This value must be `true`.
/// </summary>
[Input("enable", required: true)]
public Input<bool> Enable { get; set; } = null!;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Volcengine.Pulumi.Volcengine.Bioos.Inputs
public sealed class ClusterSharedConfigGetArgs : global::Pulumi.ResourceArgs
{
/// <summary>
/// Whether to enable a shared cluster.
/// Whether to enable a shared cluster. This value must be `true`.
/// </summary>
[Input("enable", required: true)]
public Input<bool> Enable { get; set; } = null!;
Expand Down
2 changes: 1 addition & 1 deletion sdk/dotnet/Volcengine/Bioos/Outputs/ClusterSharedConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ namespace Volcengine.Pulumi.Volcengine.Bioos.Outputs
public sealed class ClusterSharedConfig
{
/// <summary>
/// Whether to enable a shared cluster.
/// Whether to enable a shared cluster. This value must be `true`.
/// </summary>
public readonly bool Enable;

Expand Down
14 changes: 14 additions & 0 deletions sdk/dotnet/Volcengine/Bioos/Outputs/ClustersItemResult.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,18 @@ public sealed class ClustersItemResult
/// </summary>
public readonly bool Public;
/// <summary>
/// The configuration of the shared cluster.
/// </summary>
public readonly ImmutableArray<Outputs.ClustersItemSharedConfigResult> SharedConfigs;
/// <summary>
/// The start time of the cluster.
/// </summary>
public readonly int StartTime;
/// <summary>
/// The status of the clusters.
/// </summary>
public readonly string Status;
/// <summary>
/// The end time of the cluster.
/// </summary>
public readonly int StoppedTime;
Expand All @@ -63,8 +71,12 @@ public sealed class ClustersItemResult

bool @public,

ImmutableArray<Outputs.ClustersItemSharedConfigResult> sharedConfigs,

int startTime,

string status,

int stoppedTime,

string vkeConfigId,
Expand All @@ -76,7 +88,9 @@ public sealed class ClustersItemResult
Id = id;
Name = name;
Public = @public;
SharedConfigs = sharedConfigs;
StartTime = startTime;
Status = status;
StoppedTime = stoppedTime;
VkeConfigId = vkeConfigId;
VkeConfigStorageClass = vkeConfigStorageClass;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
using Pulumi;

namespace Volcengine.Pulumi.Volcengine.Bioos.Outputs
{

[OutputType]
public sealed class ClustersItemSharedConfigResult
{
/// <summary>
/// Whether to enable a shared cluster. This value must be `true`.
/// </summary>
public readonly bool Enable;

[OutputConstructor]
private ClustersItemSharedConfigResult(bool enable)
{
Enable = enable;
}
}
}
2 changes: 1 addition & 1 deletion sdk/dotnet/Volcengine/Bioos/Workspace.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public partial class Workspace : global::Pulumi.CustomResource
/// Cover path (relative path in tos bucket).
/// </summary>
[Output("coverPath")]
public Output<string?> CoverPath { get; private set; } = null!;
public Output<string> CoverPath { get; private set; } = null!;

/// <summary>
/// The description of the workspace.
Expand Down
Loading

0 comments on commit 1a8c53c

Please sign in to comment.