More renames
This commit is contained in:
@@ -7,9 +7,9 @@ using System.Collections.Immutable;
|
||||
using System.Threading.Tasks;
|
||||
using Pulumi.Serialization;
|
||||
|
||||
namespace Pulumi.Xyz
|
||||
namespace Pulumi.DockerNative
|
||||
{
|
||||
[XyzResourceType("pulumi:providers:xyz")]
|
||||
[DockerNativeResourceType("pulumi:providers:docker-native")]
|
||||
public partial class Provider : global::Pulumi.ProviderResource
|
||||
{
|
||||
/// <summary>
|
||||
@@ -20,7 +20,7 @@ namespace Pulumi.Xyz
|
||||
/// <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 Provider(string name, ProviderArgs? args = null, CustomResourceOptions? options = null)
|
||||
: base("xyz", name, args ?? new ProviderArgs(), MakeResourceOptions(options, ""))
|
||||
: base("docker-native", name, args ?? new ProviderArgs(), MakeResourceOptions(options, ""))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -29,6 +29,7 @@ namespace Pulumi.Xyz
|
||||
var defaultOptions = new CustomResourceOptions
|
||||
{
|
||||
Version = Utilities.Version,
|
||||
PluginDownloadURL = "github.com/pulumi/pulumi-docker-native",
|
||||
};
|
||||
var merged = CustomResourceOptions.Merge(defaultOptions, options);
|
||||
// Override the ID if one was specified for consistency with other language SDKs.
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
|
||||
<PropertyGroup>
|
||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||
<Authors>Pulumi Corp.</Authors>
|
||||
<Company>Pulumi Corp.</Company>
|
||||
<Description></Description>
|
||||
<Authors>pulumi</Authors>
|
||||
<Company>pulumi</Company>
|
||||
<Description>Description</Description>
|
||||
<PackageLicenseExpression></PackageLicenseExpression>
|
||||
<PackageProjectUrl></PackageProjectUrl>
|
||||
<RepositoryUrl></RepositoryUrl>
|
||||
<PackageProjectUrl>pulumi.com</PackageProjectUrl>
|
||||
<RepositoryUrl>https://github.com/pulumi/pulumi-docker-native</RepositoryUrl>
|
||||
<PackageIcon>logo.png</PackageIcon>
|
||||
|
||||
<TargetFramework>net6.0</TargetFramework>
|
||||
@@ -0,0 +1 @@
|
||||
Description
|
||||
|
||||
@@ -7,9 +7,9 @@ using System.Collections.Immutable;
|
||||
using System.Threading.Tasks;
|
||||
using Pulumi.Serialization;
|
||||
|
||||
namespace Pulumi.Xyz
|
||||
namespace Pulumi.DockerNative
|
||||
{
|
||||
[XyzResourceType("xyz:index:Random")]
|
||||
[DockerNativeResourceType("docker-native:index:Random")]
|
||||
public partial class Random : global::Pulumi.CustomResource
|
||||
{
|
||||
[Output("length")]
|
||||
@@ -27,12 +27,12 @@ namespace Pulumi.Xyz
|
||||
/// <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 Random(string name, RandomArgs args, CustomResourceOptions? options = null)
|
||||
: base("xyz:index:Random", name, args ?? new RandomArgs(), MakeResourceOptions(options, ""))
|
||||
: base("docker-native:index:Random", name, args ?? new RandomArgs(), MakeResourceOptions(options, ""))
|
||||
{
|
||||
}
|
||||
|
||||
private Random(string name, Input<string> id, CustomResourceOptions? options = null)
|
||||
: base("xyz:index:Random", name, null, MakeResourceOptions(options, id))
|
||||
: base("docker-native:index:Random", name, null, MakeResourceOptions(options, id))
|
||||
{
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace Pulumi.Xyz
|
||||
var defaultOptions = new CustomResourceOptions
|
||||
{
|
||||
Version = Utilities.Version,
|
||||
PluginDownloadURL = "github.com/pulumi/pulumi-docker-native",
|
||||
};
|
||||
var merged = CustomResourceOptions.Merge(defaultOptions, options);
|
||||
// Override the ID if one was specified for consistency with other language SDKs.
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
// *** WARNING: this file was generated by pulumi. ***
|
||||
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
||||
|
||||
namespace Pulumi.Xyz
|
||||
namespace Pulumi.DockerNative
|
||||
{
|
||||
static class Utilities
|
||||
{
|
||||
@@ -53,6 +53,7 @@ namespace Pulumi.Xyz
|
||||
{
|
||||
var dst = src ?? new global::Pulumi.InvokeOptions{};
|
||||
dst.Version = src?.Version ?? Version;
|
||||
dst.PluginDownloadURL = src?.PluginDownloadURL ?? "github.com/pulumi/pulumi-docker-native";
|
||||
return dst;
|
||||
}
|
||||
|
||||
@@ -62,7 +63,7 @@ namespace Pulumi.Xyz
|
||||
static Utilities()
|
||||
{
|
||||
var assembly = global::System.Reflection.IntrospectionExtensions.GetTypeInfo(typeof(Utilities)).Assembly;
|
||||
using var stream = assembly.GetManifestResourceStream("Pulumi.Xyz.version.txt");
|
||||
using var stream = assembly.GetManifestResourceStream("Pulumi.DockerNative.version.txt");
|
||||
using var reader = new global::System.IO.StreamReader(stream ?? throw new global::System.NotSupportedException("Missing embedded version.txt file"));
|
||||
version = reader.ReadToEnd().Trim();
|
||||
var parts = version.Split("\n");
|
||||
@@ -74,9 +75,9 @@ namespace Pulumi.Xyz
|
||||
}
|
||||
}
|
||||
|
||||
internal sealed class XyzResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute
|
||||
internal sealed class DockerNativeResourceTypeAttribute : global::Pulumi.ResourceTypeAttribute
|
||||
{
|
||||
public XyzResourceTypeAttribute(string type) : base(type, Utilities.Version)
|
||||
public DockerNativeResourceTypeAttribute(string type) : base(type, Utilities.Version)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
"resource": true,
|
||||
"name": "xyz"
|
||||
"name": "docker-native",
|
||||
"server": "github.com/pulumi/pulumi-docker-native"
|
||||
}
|
||||
|
||||
@@ -1 +1 @@
|
||||
0.0.1-alpha.1699945013+97b0e04c
|
||||
0.0.1-alpha.1709845220+f294595e.dirty
|
||||
|
||||
Reference in New Issue
Block a user