From f1105613f6d08639c9f304b419c37b25b4b0d193 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Mon, 13 Nov 2023 18:33:02 +0000 Subject: [PATCH] make build_sdks --- sdk/go/random/provider.go | 13 ------------ sdk/go/random/randomId.go | 37 --------------------------------- sdk/go/random/randomInteger.go | 37 --------------------------------- sdk/go/random/randomPassword.go | 37 --------------------------------- sdk/go/random/randomPet.go | 37 --------------------------------- sdk/go/random/randomShuffle.go | 37 --------------------------------- sdk/go/random/randomString.go | 37 --------------------------------- sdk/go/random/randomUuid.go | 37 --------------------------------- 8 files changed, 272 deletions(-) diff --git a/sdk/go/random/provider.go b/sdk/go/random/provider.go index f243dca26c..c16a522cb3 100644 --- a/sdk/go/random/provider.go +++ b/sdk/go/random/provider.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-random/sdk/v4/go/random/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The provider type for the random package. By default, resources use package-wide configuration @@ -66,12 +65,6 @@ func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutp return pulumi.ToOutputWithContext(ctx, i).(ProviderOutput) } -func (i *Provider) ToOutput(ctx context.Context) pulumix.Output[*Provider] { - return pulumix.Output[*Provider]{ - OutputState: i.ToProviderOutputWithContext(ctx).OutputState, - } -} - type ProviderOutput struct{ *pulumi.OutputState } func (ProviderOutput) ElementType() reflect.Type { @@ -86,12 +79,6 @@ func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) Provide return o } -func (o ProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*Provider] { - return pulumix.Output[*Provider]{ - OutputState: o.OutputState, - } -} - func init() { pulumi.RegisterInputType(reflect.TypeOf((*ProviderInput)(nil)).Elem(), &Provider{}) pulumi.RegisterOutputType(ProviderOutput{}) diff --git a/sdk/go/random/randomId.go b/sdk/go/random/randomId.go index b1427db3e4..e91442643c 100644 --- a/sdk/go/random/randomId.go +++ b/sdk/go/random/randomId.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-random/sdk/v4/go/random/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The resource `RandomId` generates random numbers that are intended to be @@ -219,12 +218,6 @@ func (i *RandomId) ToRandomIdOutputWithContext(ctx context.Context) RandomIdOutp return pulumi.ToOutputWithContext(ctx, i).(RandomIdOutput) } -func (i *RandomId) ToOutput(ctx context.Context) pulumix.Output[*RandomId] { - return pulumix.Output[*RandomId]{ - OutputState: i.ToRandomIdOutputWithContext(ctx).OutputState, - } -} - // RandomIdArrayInput is an input type that accepts RandomIdArray and RandomIdArrayOutput values. // You can construct a concrete instance of `RandomIdArrayInput` via: // @@ -250,12 +243,6 @@ func (i RandomIdArray) ToRandomIdArrayOutputWithContext(ctx context.Context) Ran return pulumi.ToOutputWithContext(ctx, i).(RandomIdArrayOutput) } -func (i RandomIdArray) ToOutput(ctx context.Context) pulumix.Output[[]*RandomId] { - return pulumix.Output[[]*RandomId]{ - OutputState: i.ToRandomIdArrayOutputWithContext(ctx).OutputState, - } -} - // RandomIdMapInput is an input type that accepts RandomIdMap and RandomIdMapOutput values. // You can construct a concrete instance of `RandomIdMapInput` via: // @@ -281,12 +268,6 @@ func (i RandomIdMap) ToRandomIdMapOutputWithContext(ctx context.Context) RandomI return pulumi.ToOutputWithContext(ctx, i).(RandomIdMapOutput) } -func (i RandomIdMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomId] { - return pulumix.Output[map[string]*RandomId]{ - OutputState: i.ToRandomIdMapOutputWithContext(ctx).OutputState, - } -} - type RandomIdOutput struct{ *pulumi.OutputState } func (RandomIdOutput) ElementType() reflect.Type { @@ -301,12 +282,6 @@ func (o RandomIdOutput) ToRandomIdOutputWithContext(ctx context.Context) RandomI return o } -func (o RandomIdOutput) ToOutput(ctx context.Context) pulumix.Output[*RandomId] { - return pulumix.Output[*RandomId]{ - OutputState: o.OutputState, - } -} - // The generated id presented in base64 without additional transformations. func (o RandomIdOutput) B64Std() pulumi.StringOutput { return o.ApplyT(func(v *RandomId) pulumi.StringOutput { return v.B64Std }).(pulumi.StringOutput) @@ -356,12 +331,6 @@ func (o RandomIdArrayOutput) ToRandomIdArrayOutputWithContext(ctx context.Contex return o } -func (o RandomIdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RandomId] { - return pulumix.Output[[]*RandomId]{ - OutputState: o.OutputState, - } -} - func (o RandomIdArrayOutput) Index(i pulumi.IntInput) RandomIdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RandomId { return vs[0].([]*RandomId)[vs[1].(int)] @@ -382,12 +351,6 @@ func (o RandomIdMapOutput) ToRandomIdMapOutputWithContext(ctx context.Context) R return o } -func (o RandomIdMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomId] { - return pulumix.Output[map[string]*RandomId]{ - OutputState: o.OutputState, - } -} - func (o RandomIdMapOutput) MapIndex(k pulumi.StringInput) RandomIdOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RandomId { return vs[0].(map[string]*RandomId)[vs[1].(string)] diff --git a/sdk/go/random/randomInteger.go b/sdk/go/random/randomInteger.go index b65ac93ef9..782143ad4a 100644 --- a/sdk/go/random/randomInteger.go +++ b/sdk/go/random/randomInteger.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-random/sdk/v4/go/random/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The resource `RandomInteger` generates random values from a given range, described by the `min` and `max` attributes of a given resource. @@ -198,12 +197,6 @@ func (i *RandomInteger) ToRandomIntegerOutputWithContext(ctx context.Context) Ra return pulumi.ToOutputWithContext(ctx, i).(RandomIntegerOutput) } -func (i *RandomInteger) ToOutput(ctx context.Context) pulumix.Output[*RandomInteger] { - return pulumix.Output[*RandomInteger]{ - OutputState: i.ToRandomIntegerOutputWithContext(ctx).OutputState, - } -} - // RandomIntegerArrayInput is an input type that accepts RandomIntegerArray and RandomIntegerArrayOutput values. // You can construct a concrete instance of `RandomIntegerArrayInput` via: // @@ -229,12 +222,6 @@ func (i RandomIntegerArray) ToRandomIntegerArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RandomIntegerArrayOutput) } -func (i RandomIntegerArray) ToOutput(ctx context.Context) pulumix.Output[[]*RandomInteger] { - return pulumix.Output[[]*RandomInteger]{ - OutputState: i.ToRandomIntegerArrayOutputWithContext(ctx).OutputState, - } -} - // RandomIntegerMapInput is an input type that accepts RandomIntegerMap and RandomIntegerMapOutput values. // You can construct a concrete instance of `RandomIntegerMapInput` via: // @@ -260,12 +247,6 @@ func (i RandomIntegerMap) ToRandomIntegerMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(RandomIntegerMapOutput) } -func (i RandomIntegerMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomInteger] { - return pulumix.Output[map[string]*RandomInteger]{ - OutputState: i.ToRandomIntegerMapOutputWithContext(ctx).OutputState, - } -} - type RandomIntegerOutput struct{ *pulumi.OutputState } func (RandomIntegerOutput) ElementType() reflect.Type { @@ -280,12 +261,6 @@ func (o RandomIntegerOutput) ToRandomIntegerOutputWithContext(ctx context.Contex return o } -func (o RandomIntegerOutput) ToOutput(ctx context.Context) pulumix.Output[*RandomInteger] { - return pulumix.Output[*RandomInteger]{ - OutputState: o.OutputState, - } -} - // Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. func (o RandomIntegerOutput) Keepers() pulumi.StringMapOutput { return o.ApplyT(func(v *RandomInteger) pulumi.StringMapOutput { return v.Keepers }).(pulumi.StringMapOutput) @@ -325,12 +300,6 @@ func (o RandomIntegerArrayOutput) ToRandomIntegerArrayOutputWithContext(ctx cont return o } -func (o RandomIntegerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RandomInteger] { - return pulumix.Output[[]*RandomInteger]{ - OutputState: o.OutputState, - } -} - func (o RandomIntegerArrayOutput) Index(i pulumi.IntInput) RandomIntegerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RandomInteger { return vs[0].([]*RandomInteger)[vs[1].(int)] @@ -351,12 +320,6 @@ func (o RandomIntegerMapOutput) ToRandomIntegerMapOutputWithContext(ctx context. return o } -func (o RandomIntegerMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomInteger] { - return pulumix.Output[map[string]*RandomInteger]{ - OutputState: o.OutputState, - } -} - func (o RandomIntegerMapOutput) MapIndex(k pulumi.StringInput) RandomIntegerOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RandomInteger { return vs[0].(map[string]*RandomInteger)[vs[1].(string)] diff --git a/sdk/go/random/randomPassword.go b/sdk/go/random/randomPassword.go index eff9261f8a..89611f844f 100644 --- a/sdk/go/random/randomPassword.go +++ b/sdk/go/random/randomPassword.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-random/sdk/v4/go/random/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Identical to random_string. @@ -291,12 +290,6 @@ func (i *RandomPassword) ToRandomPasswordOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RandomPasswordOutput) } -func (i *RandomPassword) ToOutput(ctx context.Context) pulumix.Output[*RandomPassword] { - return pulumix.Output[*RandomPassword]{ - OutputState: i.ToRandomPasswordOutputWithContext(ctx).OutputState, - } -} - // RandomPasswordArrayInput is an input type that accepts RandomPasswordArray and RandomPasswordArrayOutput values. // You can construct a concrete instance of `RandomPasswordArrayInput` via: // @@ -322,12 +315,6 @@ func (i RandomPasswordArray) ToRandomPasswordArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(RandomPasswordArrayOutput) } -func (i RandomPasswordArray) ToOutput(ctx context.Context) pulumix.Output[[]*RandomPassword] { - return pulumix.Output[[]*RandomPassword]{ - OutputState: i.ToRandomPasswordArrayOutputWithContext(ctx).OutputState, - } -} - // RandomPasswordMapInput is an input type that accepts RandomPasswordMap and RandomPasswordMapOutput values. // You can construct a concrete instance of `RandomPasswordMapInput` via: // @@ -353,12 +340,6 @@ func (i RandomPasswordMap) ToRandomPasswordMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RandomPasswordMapOutput) } -func (i RandomPasswordMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomPassword] { - return pulumix.Output[map[string]*RandomPassword]{ - OutputState: i.ToRandomPasswordMapOutputWithContext(ctx).OutputState, - } -} - type RandomPasswordOutput struct{ *pulumi.OutputState } func (RandomPasswordOutput) ElementType() reflect.Type { @@ -373,12 +354,6 @@ func (o RandomPasswordOutput) ToRandomPasswordOutputWithContext(ctx context.Cont return o } -func (o RandomPasswordOutput) ToOutput(ctx context.Context) pulumix.Output[*RandomPassword] { - return pulumix.Output[*RandomPassword]{ - OutputState: o.OutputState, - } -} - // A bcrypt hash of the generated random string. **NOTE**: If the generated random string is greater than 72 bytes in length, `bcryptHash` will contain a hash of the first 72 bytes. func (o RandomPasswordOutput) BcryptHash() pulumi.StringOutput { return o.ApplyT(func(v *RandomPassword) pulumi.StringOutput { return v.BcryptHash }).(pulumi.StringOutput) @@ -465,12 +440,6 @@ func (o RandomPasswordArrayOutput) ToRandomPasswordArrayOutputWithContext(ctx co return o } -func (o RandomPasswordArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RandomPassword] { - return pulumix.Output[[]*RandomPassword]{ - OutputState: o.OutputState, - } -} - func (o RandomPasswordArrayOutput) Index(i pulumi.IntInput) RandomPasswordOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RandomPassword { return vs[0].([]*RandomPassword)[vs[1].(int)] @@ -491,12 +460,6 @@ func (o RandomPasswordMapOutput) ToRandomPasswordMapOutputWithContext(ctx contex return o } -func (o RandomPasswordMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomPassword] { - return pulumix.Output[map[string]*RandomPassword]{ - OutputState: o.OutputState, - } -} - func (o RandomPasswordMapOutput) MapIndex(k pulumi.StringInput) RandomPasswordOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RandomPassword { return vs[0].(map[string]*RandomPassword)[vs[1].(string)] diff --git a/sdk/go/random/randomPet.go b/sdk/go/random/randomPet.go index 55771e09df..227fdba990 100644 --- a/sdk/go/random/randomPet.go +++ b/sdk/go/random/randomPet.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-random/sdk/v4/go/random/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The resource `RandomPet` generates random pet names that are intended to be used as unique identifiers for other resources. @@ -173,12 +172,6 @@ func (i *RandomPet) ToRandomPetOutputWithContext(ctx context.Context) RandomPetO return pulumi.ToOutputWithContext(ctx, i).(RandomPetOutput) } -func (i *RandomPet) ToOutput(ctx context.Context) pulumix.Output[*RandomPet] { - return pulumix.Output[*RandomPet]{ - OutputState: i.ToRandomPetOutputWithContext(ctx).OutputState, - } -} - // RandomPetArrayInput is an input type that accepts RandomPetArray and RandomPetArrayOutput values. // You can construct a concrete instance of `RandomPetArrayInput` via: // @@ -204,12 +197,6 @@ func (i RandomPetArray) ToRandomPetArrayOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RandomPetArrayOutput) } -func (i RandomPetArray) ToOutput(ctx context.Context) pulumix.Output[[]*RandomPet] { - return pulumix.Output[[]*RandomPet]{ - OutputState: i.ToRandomPetArrayOutputWithContext(ctx).OutputState, - } -} - // RandomPetMapInput is an input type that accepts RandomPetMap and RandomPetMapOutput values. // You can construct a concrete instance of `RandomPetMapInput` via: // @@ -235,12 +222,6 @@ func (i RandomPetMap) ToRandomPetMapOutputWithContext(ctx context.Context) Rando return pulumi.ToOutputWithContext(ctx, i).(RandomPetMapOutput) } -func (i RandomPetMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomPet] { - return pulumix.Output[map[string]*RandomPet]{ - OutputState: i.ToRandomPetMapOutputWithContext(ctx).OutputState, - } -} - type RandomPetOutput struct{ *pulumi.OutputState } func (RandomPetOutput) ElementType() reflect.Type { @@ -255,12 +236,6 @@ func (o RandomPetOutput) ToRandomPetOutputWithContext(ctx context.Context) Rando return o } -func (o RandomPetOutput) ToOutput(ctx context.Context) pulumix.Output[*RandomPet] { - return pulumix.Output[*RandomPet]{ - OutputState: o.OutputState, - } -} - // Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. func (o RandomPetOutput) Keepers() pulumi.StringMapOutput { return o.ApplyT(func(v *RandomPet) pulumi.StringMapOutput { return v.Keepers }).(pulumi.StringMapOutput) @@ -295,12 +270,6 @@ func (o RandomPetArrayOutput) ToRandomPetArrayOutputWithContext(ctx context.Cont return o } -func (o RandomPetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RandomPet] { - return pulumix.Output[[]*RandomPet]{ - OutputState: o.OutputState, - } -} - func (o RandomPetArrayOutput) Index(i pulumi.IntInput) RandomPetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RandomPet { return vs[0].([]*RandomPet)[vs[1].(int)] @@ -321,12 +290,6 @@ func (o RandomPetMapOutput) ToRandomPetMapOutputWithContext(ctx context.Context) return o } -func (o RandomPetMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomPet] { - return pulumix.Output[map[string]*RandomPet]{ - OutputState: o.OutputState, - } -} - func (o RandomPetMapOutput) MapIndex(k pulumi.StringInput) RandomPetOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RandomPet { return vs[0].(map[string]*RandomPet)[vs[1].(string)] diff --git a/sdk/go/random/randomShuffle.go b/sdk/go/random/randomShuffle.go index f2b38d83cf..5c0681148a 100644 --- a/sdk/go/random/randomShuffle.go +++ b/sdk/go/random/randomShuffle.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-random/sdk/v4/go/random/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The resource `RandomShuffle` generates a random permutation of a list of strings given as an argument. @@ -178,12 +177,6 @@ func (i *RandomShuffle) ToRandomShuffleOutputWithContext(ctx context.Context) Ra return pulumi.ToOutputWithContext(ctx, i).(RandomShuffleOutput) } -func (i *RandomShuffle) ToOutput(ctx context.Context) pulumix.Output[*RandomShuffle] { - return pulumix.Output[*RandomShuffle]{ - OutputState: i.ToRandomShuffleOutputWithContext(ctx).OutputState, - } -} - // RandomShuffleArrayInput is an input type that accepts RandomShuffleArray and RandomShuffleArrayOutput values. // You can construct a concrete instance of `RandomShuffleArrayInput` via: // @@ -209,12 +202,6 @@ func (i RandomShuffleArray) ToRandomShuffleArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RandomShuffleArrayOutput) } -func (i RandomShuffleArray) ToOutput(ctx context.Context) pulumix.Output[[]*RandomShuffle] { - return pulumix.Output[[]*RandomShuffle]{ - OutputState: i.ToRandomShuffleArrayOutputWithContext(ctx).OutputState, - } -} - // RandomShuffleMapInput is an input type that accepts RandomShuffleMap and RandomShuffleMapOutput values. // You can construct a concrete instance of `RandomShuffleMapInput` via: // @@ -240,12 +227,6 @@ func (i RandomShuffleMap) ToRandomShuffleMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(RandomShuffleMapOutput) } -func (i RandomShuffleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomShuffle] { - return pulumix.Output[map[string]*RandomShuffle]{ - OutputState: i.ToRandomShuffleMapOutputWithContext(ctx).OutputState, - } -} - type RandomShuffleOutput struct{ *pulumi.OutputState } func (RandomShuffleOutput) ElementType() reflect.Type { @@ -260,12 +241,6 @@ func (o RandomShuffleOutput) ToRandomShuffleOutputWithContext(ctx context.Contex return o } -func (o RandomShuffleOutput) ToOutput(ctx context.Context) pulumix.Output[*RandomShuffle] { - return pulumix.Output[*RandomShuffle]{ - OutputState: o.OutputState, - } -} - // The list of strings to shuffle. func (o RandomShuffleOutput) Inputs() pulumi.StringArrayOutput { return o.ApplyT(func(v *RandomShuffle) pulumi.StringArrayOutput { return v.Inputs }).(pulumi.StringArrayOutput) @@ -305,12 +280,6 @@ func (o RandomShuffleArrayOutput) ToRandomShuffleArrayOutputWithContext(ctx cont return o } -func (o RandomShuffleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RandomShuffle] { - return pulumix.Output[[]*RandomShuffle]{ - OutputState: o.OutputState, - } -} - func (o RandomShuffleArrayOutput) Index(i pulumi.IntInput) RandomShuffleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RandomShuffle { return vs[0].([]*RandomShuffle)[vs[1].(int)] @@ -331,12 +300,6 @@ func (o RandomShuffleMapOutput) ToRandomShuffleMapOutputWithContext(ctx context. return o } -func (o RandomShuffleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomShuffle] { - return pulumix.Output[map[string]*RandomShuffle]{ - OutputState: o.OutputState, - } -} - func (o RandomShuffleMapOutput) MapIndex(k pulumi.StringInput) RandomShuffleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RandomShuffle { return vs[0].(map[string]*RandomShuffle)[vs[1].(string)] diff --git a/sdk/go/random/randomString.go b/sdk/go/random/randomString.go index cbbbebef13..05a30503f5 100644 --- a/sdk/go/random/randomString.go +++ b/sdk/go/random/randomString.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-random/sdk/v4/go/random/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The resource `RandomString` generates a random permutation of alphanumeric characters and optionally special characters. @@ -273,12 +272,6 @@ func (i *RandomString) ToRandomStringOutputWithContext(ctx context.Context) Rand return pulumi.ToOutputWithContext(ctx, i).(RandomStringOutput) } -func (i *RandomString) ToOutput(ctx context.Context) pulumix.Output[*RandomString] { - return pulumix.Output[*RandomString]{ - OutputState: i.ToRandomStringOutputWithContext(ctx).OutputState, - } -} - // RandomStringArrayInput is an input type that accepts RandomStringArray and RandomStringArrayOutput values. // You can construct a concrete instance of `RandomStringArrayInput` via: // @@ -304,12 +297,6 @@ func (i RandomStringArray) ToRandomStringArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(RandomStringArrayOutput) } -func (i RandomStringArray) ToOutput(ctx context.Context) pulumix.Output[[]*RandomString] { - return pulumix.Output[[]*RandomString]{ - OutputState: i.ToRandomStringArrayOutputWithContext(ctx).OutputState, - } -} - // RandomStringMapInput is an input type that accepts RandomStringMap and RandomStringMapOutput values. // You can construct a concrete instance of `RandomStringMapInput` via: // @@ -335,12 +322,6 @@ func (i RandomStringMap) ToRandomStringMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RandomStringMapOutput) } -func (i RandomStringMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomString] { - return pulumix.Output[map[string]*RandomString]{ - OutputState: i.ToRandomStringMapOutputWithContext(ctx).OutputState, - } -} - type RandomStringOutput struct{ *pulumi.OutputState } func (RandomStringOutput) ElementType() reflect.Type { @@ -355,12 +336,6 @@ func (o RandomStringOutput) ToRandomStringOutputWithContext(ctx context.Context) return o } -func (o RandomStringOutput) ToOutput(ctx context.Context) pulumix.Output[*RandomString] { - return pulumix.Output[*RandomString]{ - OutputState: o.OutputState, - } -} - // Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. func (o RandomStringOutput) Keepers() pulumi.StringMapOutput { return o.ApplyT(func(v *RandomString) pulumi.StringMapOutput { return v.Keepers }).(pulumi.StringMapOutput) @@ -442,12 +417,6 @@ func (o RandomStringArrayOutput) ToRandomStringArrayOutputWithContext(ctx contex return o } -func (o RandomStringArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RandomString] { - return pulumix.Output[[]*RandomString]{ - OutputState: o.OutputState, - } -} - func (o RandomStringArrayOutput) Index(i pulumi.IntInput) RandomStringOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RandomString { return vs[0].([]*RandomString)[vs[1].(int)] @@ -468,12 +437,6 @@ func (o RandomStringMapOutput) ToRandomStringMapOutputWithContext(ctx context.Co return o } -func (o RandomStringMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomString] { - return pulumix.Output[map[string]*RandomString]{ - OutputState: o.OutputState, - } -} - func (o RandomStringMapOutput) MapIndex(k pulumi.StringInput) RandomStringOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RandomString { return vs[0].(map[string]*RandomString)[vs[1].(string)] diff --git a/sdk/go/random/randomUuid.go b/sdk/go/random/randomUuid.go index 455d18c0d4..48d8fe108a 100644 --- a/sdk/go/random/randomUuid.go +++ b/sdk/go/random/randomUuid.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-random/sdk/v4/go/random/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The resource `RandomUuid` generates random uuid string that is intended to be used as unique identifiers for other resources. @@ -146,12 +145,6 @@ func (i *RandomUuid) ToRandomUuidOutputWithContext(ctx context.Context) RandomUu return pulumi.ToOutputWithContext(ctx, i).(RandomUuidOutput) } -func (i *RandomUuid) ToOutput(ctx context.Context) pulumix.Output[*RandomUuid] { - return pulumix.Output[*RandomUuid]{ - OutputState: i.ToRandomUuidOutputWithContext(ctx).OutputState, - } -} - // RandomUuidArrayInput is an input type that accepts RandomUuidArray and RandomUuidArrayOutput values. // You can construct a concrete instance of `RandomUuidArrayInput` via: // @@ -177,12 +170,6 @@ func (i RandomUuidArray) ToRandomUuidArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(RandomUuidArrayOutput) } -func (i RandomUuidArray) ToOutput(ctx context.Context) pulumix.Output[[]*RandomUuid] { - return pulumix.Output[[]*RandomUuid]{ - OutputState: i.ToRandomUuidArrayOutputWithContext(ctx).OutputState, - } -} - // RandomUuidMapInput is an input type that accepts RandomUuidMap and RandomUuidMapOutput values. // You can construct a concrete instance of `RandomUuidMapInput` via: // @@ -208,12 +195,6 @@ func (i RandomUuidMap) ToRandomUuidMapOutputWithContext(ctx context.Context) Ran return pulumi.ToOutputWithContext(ctx, i).(RandomUuidMapOutput) } -func (i RandomUuidMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomUuid] { - return pulumix.Output[map[string]*RandomUuid]{ - OutputState: i.ToRandomUuidMapOutputWithContext(ctx).OutputState, - } -} - type RandomUuidOutput struct{ *pulumi.OutputState } func (RandomUuidOutput) ElementType() reflect.Type { @@ -228,12 +209,6 @@ func (o RandomUuidOutput) ToRandomUuidOutputWithContext(ctx context.Context) Ran return o } -func (o RandomUuidOutput) ToOutput(ctx context.Context) pulumix.Output[*RandomUuid] { - return pulumix.Output[*RandomUuid]{ - OutputState: o.OutputState, - } -} - // Arbitrary map of values that, when changed, will trigger recreation of resource. See the main provider documentation for more information. func (o RandomUuidOutput) Keepers() pulumi.StringMapOutput { return o.ApplyT(func(v *RandomUuid) pulumi.StringMapOutput { return v.Keepers }).(pulumi.StringMapOutput) @@ -258,12 +233,6 @@ func (o RandomUuidArrayOutput) ToRandomUuidArrayOutputWithContext(ctx context.Co return o } -func (o RandomUuidArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RandomUuid] { - return pulumix.Output[[]*RandomUuid]{ - OutputState: o.OutputState, - } -} - func (o RandomUuidArrayOutput) Index(i pulumi.IntInput) RandomUuidOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RandomUuid { return vs[0].([]*RandomUuid)[vs[1].(int)] @@ -284,12 +253,6 @@ func (o RandomUuidMapOutput) ToRandomUuidMapOutputWithContext(ctx context.Contex return o } -func (o RandomUuidMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RandomUuid] { - return pulumix.Output[map[string]*RandomUuid]{ - OutputState: o.OutputState, - } -} - func (o RandomUuidMapOutput) MapIndex(k pulumi.StringInput) RandomUuidOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RandomUuid { return vs[0].(map[string]*RandomUuid)[vs[1].(string)]