Skip to content

Commit

Permalink
Merge branch 'feat/v0.0.133' into 'main'
Browse files Browse the repository at this point in the history
Generate from terraform provider v0.0.133
  • Loading branch information
dougsong committed Dec 26, 2023
2 parents 4920e9b + a63646a commit b4603b3
Show file tree
Hide file tree
Showing 352 changed files with 90,733 additions and 29,101 deletions.
61,797 changes: 33,738 additions & 28,059 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.123
github.com/volcengine/terraform-provider-volcengine v0.0.133
)

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.123 h1:X8NkU4nyt8gmGt5bo7CSUJ6+0g2IRknLL/3aaQcLfNo=
github.com/volcengine/terraform-provider-volcengine v0.0.123/go.mod h1:nHE+W7UPw526nvKfFuuUbxRPhzFOmz2Gt37FhaYXYnI=
github.com/volcengine/terraform-provider-volcengine v0.0.133 h1:wjPRLVSx54gvlr8ptWpoufqQEn4SCttlwgxICHwe8Nk=
github.com/volcengine/terraform-provider-volcengine v0.0.133/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
596 changes: 313 additions & 283 deletions provider/resources.go

Large diffs are not rendered by default.

214 changes: 214 additions & 0 deletions sdk/dotnet/Volcengine/Alb/Acl.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,214 @@
// *** 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.Alb
{
/// <summary>
/// Provides a resource to manage alb acl
/// ## Example Usage
///
/// ```csharp
/// using System.Collections.Generic;
/// using System.Linq;
/// using Pulumi;
/// using Volcengine = Volcengine.Pulumi.Volcengine;
///
/// return await Deployment.RunAsync(() =&gt;
/// {
/// var foo = new Volcengine.Alb.Acl("foo", new()
/// {
/// AclEntries = new[]
/// {
/// new Volcengine.Alb.Inputs.AclAclEntryArgs
/// {
/// Description = "e1",
/// Entry = "172.20.1.0/24",
/// },
/// new Volcengine.Alb.Inputs.AclAclEntryArgs
/// {
/// Description = "e2",
/// Entry = "172.20.3.0/24",
/// },
/// },
/// AclName = "tf-test-1",
/// Description = "tftest",
/// });
///
/// });
/// ```
///
/// ## Import
///
/// Acl can be imported using the id, e.g.
///
/// ```sh
/// $ pulumi import volcengine:alb/acl:Acl default acl-mizl7m1kqccg5smt1bdpijuj
/// ```
/// </summary>
[VolcengineResourceType("volcengine:alb/acl:Acl")]
public partial class Acl : global::Pulumi.CustomResource
{
/// <summary>
/// The acl entry set of the Acl.
/// </summary>
[Output("aclEntries")]
public Output<ImmutableArray<Outputs.AclAclEntry>> AclEntries { get; private set; } = null!;

/// <summary>
/// The name of Acl.
/// </summary>
[Output("aclName")]
public Output<string> AclName { get; private set; } = null!;

/// <summary>
/// Create time of Acl.
/// </summary>
[Output("createTime")]
public Output<string> CreateTime { get; private set; } = null!;

/// <summary>
/// The description of the Acl.
/// </summary>
[Output("description")]
public Output<string?> Description { get; private set; } = null!;

/// <summary>
/// The project name of the Acl.
/// </summary>
[Output("projectName")]
public Output<string> ProjectName { get; private set; } = null!;


/// <summary>
/// Create a Acl resource with the given unique name, arguments, and options.
/// </summary>
///
/// <param name="name">The unique name of the resource</param>
/// <param name="args">The arguments used to populate this resource's properties</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public Acl(string name, AclArgs? args = null, CustomResourceOptions? options = null)
: base("volcengine:alb/acl:Acl", name, args ?? new AclArgs(), MakeResourceOptions(options, ""))
{
}

private Acl(string name, Input<string> id, AclState? state = null, CustomResourceOptions? options = null)
: base("volcengine:alb/acl:Acl", name, state, MakeResourceOptions(options, id))
{
}

private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id)
{
var defaultOptions = new CustomResourceOptions
{
Version = Utilities.Version,
PluginDownloadURL = "github://api.github.com/volcengine",
};
var merged = CustomResourceOptions.Merge(defaultOptions, options);
// Override the ID if one was specified for consistency with other language SDKs.
merged.Id = id ?? merged.Id;
return merged;
}
/// <summary>
/// Get an existing Acl resource's state with the given name, ID, and optional extra
/// properties used to qualify the lookup.
/// </summary>
///
/// <param name="name">The unique name of the resulting resource.</param>
/// <param name="id">The unique provider ID of the resource to lookup.</param>
/// <param name="state">Any extra arguments used during the lookup.</param>
/// <param name="options">A bag of options that control this resource's behavior</param>
public static Acl Get(string name, Input<string> id, AclState? state = null, CustomResourceOptions? options = null)
{
return new Acl(name, id, state, options);
}
}

public sealed class AclArgs : global::Pulumi.ResourceArgs
{
[Input("aclEntries")]
private InputList<Inputs.AclAclEntryArgs>? _aclEntries;

/// <summary>
/// The acl entry set of the Acl.
/// </summary>
public InputList<Inputs.AclAclEntryArgs> AclEntries
{
get => _aclEntries ?? (_aclEntries = new InputList<Inputs.AclAclEntryArgs>());
set => _aclEntries = value;
}

/// <summary>
/// The name of Acl.
/// </summary>
[Input("aclName")]
public Input<string>? AclName { get; set; }

/// <summary>
/// The description of the Acl.
/// </summary>
[Input("description")]
public Input<string>? Description { get; set; }

/// <summary>
/// The project name of the Acl.
/// </summary>
[Input("projectName")]
public Input<string>? ProjectName { get; set; }

public AclArgs()
{
}
public static new AclArgs Empty => new AclArgs();
}

public sealed class AclState : global::Pulumi.ResourceArgs
{
[Input("aclEntries")]
private InputList<Inputs.AclAclEntryGetArgs>? _aclEntries;

/// <summary>
/// The acl entry set of the Acl.
/// </summary>
public InputList<Inputs.AclAclEntryGetArgs> AclEntries
{
get => _aclEntries ?? (_aclEntries = new InputList<Inputs.AclAclEntryGetArgs>());
set => _aclEntries = value;
}

/// <summary>
/// The name of Acl.
/// </summary>
[Input("aclName")]
public Input<string>? AclName { get; set; }

/// <summary>
/// Create time of Acl.
/// </summary>
[Input("createTime")]
public Input<string>? CreateTime { get; set; }

/// <summary>
/// The description of the Acl.
/// </summary>
[Input("description")]
public Input<string>? Description { get; set; }

/// <summary>
/// The project name of the Acl.
/// </summary>
[Input("projectName")]
public Input<string>? ProjectName { get; set; }

public AclState()
{
}
public static new AclState Empty => new AclState();
}
}
Loading

0 comments on commit b4603b3

Please sign in to comment.