Skip to content

Commit b5ffb46

Browse files
author
ci_volc_sdk_gen
committed
Auto generate pulumi SDK from terraform provider v0.0.96
1 parent 93b2190 commit b5ffb46

1,880 files changed

Lines changed: 19283 additions & 29764 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

provider/cmd/pulumi-resource-volcengine/schema.json

Lines changed: 2933 additions & 16197 deletions
Large diffs are not rendered by default.

provider/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ require (
1212
github.com/hashicorp/terraform-plugin-sdk v1.9.1
1313
github.com/pulumi/pulumi-terraform-bridge/v3 v3.53.0
1414
github.com/pulumi/pulumi/sdk/v3 v3.73.1-0.20230623071431-db579129f4c9
15-
github.com/volcengine/terraform-provider-volcengine v0.0.93
15+
github.com/volcengine/terraform-provider-volcengine v0.0.96
1616
)
1717

1818
require (

provider/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1731,8 +1731,8 @@ github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgq
17311731
github.com/vmihailenco/tagparser v0.1.2 h1:gnjoVuB/kljJ5wICEEOpx98oXMWPLj22G67Vbd1qPqc=
17321732
github.com/vmihailenco/tagparser/v2 v2.0.0 h1:y09buUbR+b5aycVFQs/g70pqKVZNBmxwAhO7/IwNM9g=
17331733
github.com/vmihailenco/tagparser/v2 v2.0.0/go.mod h1:Wri+At7QHww0WTrCBeu4J6bNtoV6mEfg5OIWRZA9qds=
1734-
github.com/volcengine/terraform-provider-volcengine v0.0.93 h1:lPByxMEHXFRpq1jxJ8lRrNv/d6qxFyvyXG1iHz06KSk=
1735-
github.com/volcengine/terraform-provider-volcengine v0.0.93/go.mod h1:HycDPtD+Ms7uNlYe/L3pKj8ZX2PdQb15fErdec822rY=
1734+
github.com/volcengine/terraform-provider-volcengine v0.0.96 h1:A3cEXYYBQDWT6w7RFXlTTFvkFDxbHqfhvLTfnj6Icyg=
1735+
github.com/volcengine/terraform-provider-volcengine v0.0.96/go.mod h1:HycDPtD+Ms7uNlYe/L3pKj8ZX2PdQb15fErdec822rY=
17361736
github.com/volcengine/volc-sdk-golang v1.0.23 h1:anOslb2Qp6ywnsbyq9jqR0ljuO63kg9PY+4OehIk5R8=
17371737
github.com/volcengine/volc-sdk-golang v1.0.23/go.mod h1:AfG/PZRUkHJ9inETvbjNifTDgut25Wbkm2QoYBTbvyU=
17381738
github.com/volcengine/volcengine-go-sdk v1.0.75 h1:FLNABNe7D5adaul3hLs4Co3oFC4xqIK5+QpKAdW/49Y=

provider/resources.go

Lines changed: 275 additions & 278 deletions
Large diffs are not rendered by default.

sdk/dotnet/Config/Config.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
using System;
55
using System.Collections.Immutable;
66

7-
namespace Volcengine.PulumiPackage.Volcengine
7+
namespace Volcengine.Pulumi.Volcengine
88
{
99
public static class Config
1010
{
@@ -30,7 +30,7 @@ public void Set(T value)
3030
}
3131
}
3232

33-
private static readonly Pulumi.Config __config = new Pulumi.Config("volcengine");
33+
private static readonly global::Pulumi.Config __config = new global::Pulumi.Config("volcengine");
3434

3535
private static readonly __Value<string?> _accessKey = new __Value<string?>(() => __config.Get("accessKey") ?? Utilities.GetEnv("VOLCENGINE_ACCESS_KEY"));
3636
/// <summary>

sdk/dotnet/Utilities.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
22
// *** Do not edit by hand unless you're certain you know what you are doing! ***
33

4-
namespace Volcengine.PulumiPackage.Volcengine
4+
namespace Volcengine.Pulumi.Volcengine
55
{
66
static class Utilities
77
{
@@ -63,7 +63,7 @@ static class Utilities
6363
static Utilities()
6464
{
6565
var assembly = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Utilities)).Assembly;
66-
using var stream = assembly.GetManifestResourceStream("Volcengine.PulumiPackage.Volcengine.version.txt");
66+
using var stream = assembly.GetManifestResourceStream("Volcengine.Pulumi.Volcengine.version.txt");
6767
using var reader = new global::System.IO.StreamReader(stream ?? throw new global::System.NotSupportedException("Missing embedded version.txt file"));
6868
version = reader.ReadToEnd().Trim();
6969
var parts = version.Split("\n");
@@ -75,7 +75,7 @@ static Utilities()
7575
}
7676
}
7777

78-
internal sealed class VolcengineResourceTypeAttribute : Pulumi.ResourceTypeAttribute
78+
internal sealed class VolcengineResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute
7979
{
8080
public VolcengineResourceTypeAttribute(string type) : base(type, Utilities.Version)
8181
{

sdk/dotnet/Volcengine.PulumiPackage.Volcengine.csproj renamed to sdk/dotnet/Volcengine.Pulumi.Volcengine.csproj

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,8 @@
1010
<RepositoryUrl>https://github.com/volcengine/pulumi-volcengine</RepositoryUrl>
1111
<PackageIcon>logo.png</PackageIcon>
1212

13-
<TargetFramework>netcoreapp3.1</TargetFramework>
13+
<TargetFramework>net6.0</TargetFramework>
1414
<Nullable>enable</Nullable>
15-
<UseSharedCompilation>false</UseSharedCompilation>
1615
</PropertyGroup>
1716

1817
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
@@ -39,7 +38,7 @@
3938
<None Include="version.txt" Pack="True" PackagePath="content" />
4039
</ItemGroup>
4140

42-
<ItemGroup>
41+
<ItemGroup>
4342
<EmbeddedResource Include="pulumi-plugin.json" />
4443
<None Include="pulumi-plugin.json" Pack="True" PackagePath="content" />
4544
</ItemGroup>

sdk/dotnet/Volcengine/Autoscaling/Inputs/ScalingConfigurationTagArgs.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
using Pulumi.Serialization;
99
using Pulumi;
1010

11-
namespace Volcengine.PulumiPackage.Volcengine.Autoscaling.Inputs
11+
namespace Volcengine.Pulumi.Volcengine.Autoscaling.Inputs
1212
{
1313

14-
public sealed class ScalingConfigurationTagArgs : Pulumi.ResourceArgs
14+
public sealed class ScalingConfigurationTagArgs : global::Pulumi.ResourceArgs
1515
{
1616
/// <summary>
1717
/// The Key of Tags.
@@ -28,5 +28,6 @@ public sealed class ScalingConfigurationTagArgs : Pulumi.ResourceArgs
2828
public ScalingConfigurationTagArgs()
2929
{
3030
}
31+
public static new ScalingConfigurationTagArgs Empty => new ScalingConfigurationTagArgs();
3132
}
3233
}

sdk/dotnet/Volcengine/Autoscaling/Inputs/ScalingConfigurationTagGetArgs.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
using Pulumi.Serialization;
99
using Pulumi;
1010

11-
namespace Volcengine.PulumiPackage.Volcengine.Autoscaling.Inputs
11+
namespace Volcengine.Pulumi.Volcengine.Autoscaling.Inputs
1212
{
1313

14-
public sealed class ScalingConfigurationTagGetArgs : Pulumi.ResourceArgs
14+
public sealed class ScalingConfigurationTagGetArgs : global::Pulumi.ResourceArgs
1515
{
1616
/// <summary>
1717
/// The Key of Tags.
@@ -28,5 +28,6 @@ public sealed class ScalingConfigurationTagGetArgs : Pulumi.ResourceArgs
2828
public ScalingConfigurationTagGetArgs()
2929
{
3030
}
31+
public static new ScalingConfigurationTagGetArgs Empty => new ScalingConfigurationTagGetArgs();
3132
}
3233
}

sdk/dotnet/Volcengine/Autoscaling/Inputs/ScalingConfigurationVolumeArgs.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
using Pulumi.Serialization;
99
using Pulumi;
1010

11-
namespace Volcengine.PulumiPackage.Volcengine.Autoscaling.Inputs
11+
namespace Volcengine.Pulumi.Volcengine.Autoscaling.Inputs
1212
{
1313

14-
public sealed class ScalingConfigurationVolumeArgs : Pulumi.ResourceArgs
14+
public sealed class ScalingConfigurationVolumeArgs : global::Pulumi.ResourceArgs
1515
{
1616
/// <summary>
1717
/// The delete with instance flag of volume. Valid values: true, false. Default value: true.
@@ -34,5 +34,6 @@ public sealed class ScalingConfigurationVolumeArgs : Pulumi.ResourceArgs
3434
public ScalingConfigurationVolumeArgs()
3535
{
3636
}
37+
public static new ScalingConfigurationVolumeArgs Empty => new ScalingConfigurationVolumeArgs();
3738
}
3839
}

0 commit comments

Comments
 (0)