From 0d5936b055b5b598d8cbe6a7c62bfc6431e73de7 Mon Sep 17 00:00:00 2001 From: Ian Wahbe Date: Fri, 17 Nov 2023 09:27:27 -0800 Subject: [PATCH] make build_sdks --- sdk/go/vault/ad/getAccessCredentials.go | 7 - sdk/go/vault/ad/secretBackend.go | 37 - sdk/go/vault/ad/secretLibrary.go | 37 - sdk/go/vault/ad/secretRole.go | 37 - sdk/go/vault/alicloud/authBackendRole.go | 37 - sdk/go/vault/approle/authBackendLogin.go | 37 - sdk/go/vault/approle/authBackendRole.go | 37 - .../vault/approle/authBackendRoleSecretId.go | 37 - sdk/go/vault/approle/getAuthBackendRoleId.go | 7 - sdk/go/vault/audit.go | 37 - sdk/go/vault/auditRequestHeader.go | 37 - sdk/go/vault/authBackend.go | 37 - sdk/go/vault/aws/authBackendCert.go | 37 - sdk/go/vault/aws/authBackendClient.go | 37 - sdk/go/vault/aws/authBackendConfigIdentity.go | 37 - .../vault/aws/authBackendIdentityWhitelist.go | 37 - sdk/go/vault/aws/authBackendLogin.go | 37 - sdk/go/vault/aws/authBackendRole.go | 37 - sdk/go/vault/aws/authBackendRoleTag.go | 37 - .../vault/aws/authBackendRoletagBlacklist.go | 37 - sdk/go/vault/aws/authBackendStsRole.go | 37 - sdk/go/vault/aws/getAccessCredentials.go | 7 - .../vault/aws/getStaticAccessCredentials.go | 7 - sdk/go/vault/aws/secretBackend.go | 37 - sdk/go/vault/aws/secretBackendRole.go | 37 - sdk/go/vault/aws/secretBackendStaticRole.go | 37 - sdk/go/vault/azure/authBackendConfig.go | 37 - sdk/go/vault/azure/authBackendRole.go | 37 - sdk/go/vault/azure/backend.go | 37 - sdk/go/vault/azure/backendRole.go | 37 - sdk/go/vault/azure/getAccessCredentials.go | 7 - sdk/go/vault/azure/pulumiTypes.go | 49 - sdk/go/vault/certAuthBackendRole.go | 37 - sdk/go/vault/config/pulumiTypes.go | 181 ---- sdk/go/vault/consul/secretBackend.go | 37 - sdk/go/vault/consul/secretBackendRole.go | 37 - sdk/go/vault/database/pulumiTypes.go | 865 ------------------ .../vault/database/secretBackendConnection.go | 37 - sdk/go/vault/database/secretBackendRole.go | 37 - .../vault/database/secretBackendStaticRole.go | 37 - sdk/go/vault/database/secretsMount.go | 37 - sdk/go/vault/egpPolicy.go | 37 - sdk/go/vault/gcp/authBackend.go | 37 - sdk/go/vault/gcp/authBackendRole.go | 37 - sdk/go/vault/gcp/getAuthBackendRole.go | 7 - sdk/go/vault/gcp/pulumiTypes.go | 73 -- sdk/go/vault/gcp/secretBackend.go | 37 - sdk/go/vault/gcp/secretImpersonatedAccount.go | 37 - sdk/go/vault/gcp/secretRoleset.go | 37 - sdk/go/vault/gcp/secretStaticAccount.go | 37 - sdk/go/vault/generic/endpoint.go | 37 - sdk/go/vault/generic/getSecret.go | 7 - sdk/go/vault/generic/secret.go | 37 - sdk/go/vault/getAuthBackend.go | 7 - sdk/go/vault/getAuthBackends.go | 7 - sdk/go/vault/getNomadAccessToken.go | 7 - sdk/go/vault/getPolicyDocument.go | 7 - sdk/go/vault/getRaftAutopilotState.go | 7 - sdk/go/vault/github/authBackend.go | 37 - sdk/go/vault/github/pulumiTypes.go | 25 - sdk/go/vault/github/team.go | 37 - sdk/go/vault/github/user.go | 37 - sdk/go/vault/identity/entity.go | 37 - sdk/go/vault/identity/entityAlias.go | 37 - sdk/go/vault/identity/entityPolicies.go | 37 - sdk/go/vault/identity/getEntity.go | 7 - sdk/go/vault/identity/getGroup.go | 7 - sdk/go/vault/identity/getOidcClientCreds.go | 7 - sdk/go/vault/identity/getOidcOpenidConfig.go | 7 - sdk/go/vault/identity/getOidcPublicKeys.go | 7 - sdk/go/vault/identity/group.go | 37 - sdk/go/vault/identity/groupAlias.go | 37 - sdk/go/vault/identity/groupMemberEntityIds.go | 37 - sdk/go/vault/identity/groupMemberGroupIds.go | 37 - sdk/go/vault/identity/groupPolicies.go | 37 - sdk/go/vault/identity/mfaDuo.go | 37 - sdk/go/vault/identity/mfaLoginEnforcement.go | 37 - sdk/go/vault/identity/mfaOkta.go | 37 - sdk/go/vault/identity/mfaPingid.go | 37 - sdk/go/vault/identity/mfaTotp.go | 37 - sdk/go/vault/identity/oidc.go | 37 - sdk/go/vault/identity/oidcAssignment.go | 37 - sdk/go/vault/identity/oidcClient.go | 37 - sdk/go/vault/identity/oidcKey.go | 37 - .../vault/identity/oidcKeyAllowedClientID.go | 37 - sdk/go/vault/identity/oidcProvider.go | 37 - sdk/go/vault/identity/oidcRole.go | 37 - sdk/go/vault/identity/oidcScope.go | 37 - sdk/go/vault/identity/pulumiTypes.go | 25 - sdk/go/vault/jwt/authBackend.go | 37 - sdk/go/vault/jwt/authBackendRole.go | 37 - sdk/go/vault/jwt/pulumiTypes.go | 25 - sdk/go/vault/kmip/secretBackend.go | 37 - sdk/go/vault/kmip/secretRole.go | 37 - sdk/go/vault/kmip/secretScope.go | 37 - sdk/go/vault/kubernetes/authBackendConfig.go | 37 - sdk/go/vault/kubernetes/authBackendRole.go | 37 - .../vault/kubernetes/getAuthBackendConfig.go | 7 - sdk/go/vault/kubernetes/getAuthBackendRole.go | 7 - .../kubernetes/getServiceAccountToken.go | 7 - sdk/go/vault/kubernetes/secretBackend.go | 37 - sdk/go/vault/kubernetes/secretBackendRole.go | 37 - sdk/go/vault/kv/getSecret.go | 7 - sdk/go/vault/kv/getSecretSubkeysV2.go | 7 - sdk/go/vault/kv/getSecretV2.go | 7 - sdk/go/vault/kv/getSecretsList.go | 7 - sdk/go/vault/kv/getSecretsListV2.go | 7 - sdk/go/vault/kv/pulumiTypes.go | 25 - sdk/go/vault/kv/secret.go | 37 - sdk/go/vault/kv/secretBackendV2.go | 37 - sdk/go/vault/kv/secretV2.go | 37 - sdk/go/vault/ldap/authBackend.go | 37 - sdk/go/vault/ldap/authBackendGroup.go | 37 - sdk/go/vault/ldap/authBackendUser.go | 37 - sdk/go/vault/ldap/getDynamicCredentials.go | 7 - sdk/go/vault/ldap/getStaticCredentials.go | 7 - sdk/go/vault/ldap/secretBackend.go | 37 - sdk/go/vault/ldap/secretBackendDynamicRole.go | 37 - sdk/go/vault/ldap/secretBackendLibrarySet.go | 37 - sdk/go/vault/ldap/secretBackendStaticRole.go | 37 - sdk/go/vault/managed/keys.go | 37 - sdk/go/vault/managed/pulumiTypes.go | 73 -- sdk/go/vault/mfaDuo.go | 37 - sdk/go/vault/mfaOkta.go | 37 - sdk/go/vault/mfaPingid.go | 37 - sdk/go/vault/mfaTotp.go | 37 - sdk/go/vault/mongodbatlas/secretBackend.go | 37 - sdk/go/vault/mongodbatlas/secretRole.go | 37 - sdk/go/vault/mount.go | 37 - sdk/go/vault/namespace.go | 37 - sdk/go/vault/nomadSecretBackend.go | 37 - sdk/go/vault/nomadSecretRole.go | 37 - sdk/go/vault/okta/authBackend.go | 37 - sdk/go/vault/okta/authBackendGroup.go | 37 - sdk/go/vault/okta/authBackendUser.go | 37 - sdk/go/vault/okta/pulumiTypes.go | 49 - sdk/go/vault/passwordPolicy.go | 37 - sdk/go/vault/pkisecret/getBackendIssuer.go | 7 - sdk/go/vault/pkisecret/getBackendIssuers.go | 7 - sdk/go/vault/pkisecret/getBackendKey.go | 7 - sdk/go/vault/pkisecret/getBackendKeys.go | 7 - sdk/go/vault/pkisecret/pulumiTypes.go | 25 - sdk/go/vault/pkisecret/secretBackendCert.go | 37 - .../vault/pkisecret/secretBackendConfigCa.go | 37 - .../pkisecret/secretBackendConfigIssuers.go | 37 - .../pkisecret/secretBackendConfigUrls.go | 37 - .../vault/pkisecret/secretBackendCrlConfig.go | 37 - .../secretBackendIntermediateCertRequest.go | 37 - .../secretBackendIntermediateSetSigned.go | 37 - sdk/go/vault/pkisecret/secretBackendIssuer.go | 37 - sdk/go/vault/pkisecret/secretBackendKey.go | 37 - sdk/go/vault/pkisecret/secretBackendRole.go | 37 - .../vault/pkisecret/secretBackendRootCert.go | 37 - .../secretBackendRootSignIntermediate.go | 37 - sdk/go/vault/pkisecret/secretBackendSign.go | 37 - sdk/go/vault/policy.go | 37 - sdk/go/vault/provider.go | 13 - sdk/go/vault/pulumiTypes.go | 433 --------- sdk/go/vault/quotaLeaseCount.go | 37 - sdk/go/vault/quotaRateLimit.go | 37 - sdk/go/vault/rabbitmq/pulumiTypes.go | 73 -- sdk/go/vault/rabbitmq/secretBackend.go | 37 - sdk/go/vault/rabbitmq/secretBackendRole.go | 37 - sdk/go/vault/raftAutopilot.go | 37 - sdk/go/vault/raftSnapshotAgentConfig.go | 37 - sdk/go/vault/rgpPolicy.go | 37 - sdk/go/vault/saml/authBackend.go | 37 - sdk/go/vault/saml/authBackendRole.go | 37 - sdk/go/vault/ssh/pulumiTypes.go | 25 - sdk/go/vault/ssh/secretBackendCa.go | 37 - sdk/go/vault/ssh/secretBackendRole.go | 37 - sdk/go/vault/terraformcloud/secretBackend.go | 37 - sdk/go/vault/terraformcloud/secretCreds.go | 37 - sdk/go/vault/terraformcloud/secretRole.go | 37 - sdk/go/vault/token.go | 37 - sdk/go/vault/tokenauth/authBackendRole.go | 37 - sdk/go/vault/transform/alphabet.go | 37 - sdk/go/vault/transform/getDecode.go | 7 - sdk/go/vault/transform/getEncode.go | 7 - sdk/go/vault/transform/role.go | 37 - sdk/go/vault/transform/template.go | 37 - sdk/go/vault/transform/transformation.go | 37 - sdk/go/vault/transit/getDecrypt.go | 7 - sdk/go/vault/transit/getEncrypt.go | 7 - sdk/go/vault/transit/secretBackendKey.go | 37 - sdk/go/vault/transit/secretCacheConfig.go | 37 - 186 files changed, 7236 deletions(-) diff --git a/sdk/go/vault/ad/getAccessCredentials.go b/sdk/go/vault/ad/getAccessCredentials.go index bfd2a7cd7..1b844a1ae 100644 --- a/sdk/go/vault/ad/getAccessCredentials.go +++ b/sdk/go/vault/ad/getAccessCredentials.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetAccessCredentials(ctx *pulumi.Context, args *GetAccessCredentialsArgs, opts ...pulumi.InvokeOption) (*GetAccessCredentialsResult, error) { @@ -99,12 +98,6 @@ func (o GetAccessCredentialsResultOutput) ToGetAccessCredentialsResultOutputWith return o } -func (o GetAccessCredentialsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAccessCredentialsResult] { - return pulumix.Output[GetAccessCredentialsResult]{ - OutputState: o.OutputState, - } -} - func (o GetAccessCredentialsResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetAccessCredentialsResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/ad/secretBackend.go b/sdk/go/vault/ad/secretBackend.go index 1b0c345fe..06e678350 100644 --- a/sdk/go/vault/ad/secretBackend.go +++ b/sdk/go/vault/ad/secretBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -653,12 +652,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -684,12 +677,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -715,12 +702,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -735,12 +716,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // Use anonymous binds when performing LDAP group searches // (if true the initial credentials will still be used for the initial connection test). func (o SecretBackendOutput) AnonymousGroupSearch() pulumi.BoolPtrOutput { @@ -964,12 +939,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -990,12 +959,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/ad/secretLibrary.go b/sdk/go/vault/ad/secretLibrary.go index 754860d5b..446a4e0e1 100644 --- a/sdk/go/vault/ad/secretLibrary.go +++ b/sdk/go/vault/ad/secretLibrary.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -251,12 +250,6 @@ func (i *SecretLibrary) ToSecretLibraryOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretLibraryOutput) } -func (i *SecretLibrary) ToOutput(ctx context.Context) pulumix.Output[*SecretLibrary] { - return pulumix.Output[*SecretLibrary]{ - OutputState: i.ToSecretLibraryOutputWithContext(ctx).OutputState, - } -} - // SecretLibraryArrayInput is an input type that accepts SecretLibraryArray and SecretLibraryArrayOutput values. // You can construct a concrete instance of `SecretLibraryArrayInput` via: // @@ -282,12 +275,6 @@ func (i SecretLibraryArray) ToSecretLibraryArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretLibraryArrayOutput) } -func (i SecretLibraryArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretLibrary] { - return pulumix.Output[[]*SecretLibrary]{ - OutputState: i.ToSecretLibraryArrayOutputWithContext(ctx).OutputState, - } -} - // SecretLibraryMapInput is an input type that accepts SecretLibraryMap and SecretLibraryMapOutput values. // You can construct a concrete instance of `SecretLibraryMapInput` via: // @@ -313,12 +300,6 @@ func (i SecretLibraryMap) ToSecretLibraryMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretLibraryMapOutput) } -func (i SecretLibraryMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretLibrary] { - return pulumix.Output[map[string]*SecretLibrary]{ - OutputState: i.ToSecretLibraryMapOutputWithContext(ctx).OutputState, - } -} - type SecretLibraryOutput struct{ *pulumi.OutputState } func (SecretLibraryOutput) ElementType() reflect.Type { @@ -333,12 +314,6 @@ func (o SecretLibraryOutput) ToSecretLibraryOutputWithContext(ctx context.Contex return o } -func (o SecretLibraryOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretLibrary] { - return pulumix.Output[*SecretLibrary]{ - OutputState: o.OutputState, - } -} - // The path the AD secret backend is mounted at, // with no leading or trailing `/`s. func (o SecretLibraryOutput) Backend() pulumi.StringOutput { @@ -395,12 +370,6 @@ func (o SecretLibraryArrayOutput) ToSecretLibraryArrayOutputWithContext(ctx cont return o } -func (o SecretLibraryArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretLibrary] { - return pulumix.Output[[]*SecretLibrary]{ - OutputState: o.OutputState, - } -} - func (o SecretLibraryArrayOutput) Index(i pulumi.IntInput) SecretLibraryOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretLibrary { return vs[0].([]*SecretLibrary)[vs[1].(int)] @@ -421,12 +390,6 @@ func (o SecretLibraryMapOutput) ToSecretLibraryMapOutputWithContext(ctx context. return o } -func (o SecretLibraryMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretLibrary] { - return pulumix.Output[map[string]*SecretLibrary]{ - OutputState: o.OutputState, - } -} - func (o SecretLibraryMapOutput) MapIndex(k pulumi.StringInput) SecretLibraryOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretLibrary { return vs[0].(map[string]*SecretLibrary)[vs[1].(string)] diff --git a/sdk/go/vault/ad/secretRole.go b/sdk/go/vault/ad/secretRole.go index 6092fcc4d..34ba07887 100644 --- a/sdk/go/vault/ad/secretRole.go +++ b/sdk/go/vault/ad/secretRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -242,12 +241,6 @@ func (i *SecretRole) ToSecretRoleOutputWithContext(ctx context.Context) SecretRo return pulumi.ToOutputWithContext(ctx, i).(SecretRoleOutput) } -func (i *SecretRole) ToOutput(ctx context.Context) pulumix.Output[*SecretRole] { - return pulumix.Output[*SecretRole]{ - OutputState: i.ToSecretRoleOutputWithContext(ctx).OutputState, - } -} - // SecretRoleArrayInput is an input type that accepts SecretRoleArray and SecretRoleArrayOutput values. // You can construct a concrete instance of `SecretRoleArrayInput` via: // @@ -273,12 +266,6 @@ func (i SecretRoleArray) ToSecretRoleArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretRoleArrayOutput) } -func (i SecretRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRole] { - return pulumix.Output[[]*SecretRole]{ - OutputState: i.ToSecretRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretRoleMapInput is an input type that accepts SecretRoleMap and SecretRoleMapOutput values. // You can construct a concrete instance of `SecretRoleMapInput` via: // @@ -304,12 +291,6 @@ func (i SecretRoleMap) ToSecretRoleMapOutputWithContext(ctx context.Context) Sec return pulumi.ToOutputWithContext(ctx, i).(SecretRoleMapOutput) } -func (i SecretRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRole] { - return pulumix.Output[map[string]*SecretRole]{ - OutputState: i.ToSecretRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretRoleOutput struct{ *pulumi.OutputState } func (SecretRoleOutput) ElementType() reflect.Type { @@ -324,12 +305,6 @@ func (o SecretRoleOutput) ToSecretRoleOutputWithContext(ctx context.Context) Sec return o } -func (o SecretRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretRole] { - return pulumix.Output[*SecretRole]{ - OutputState: o.OutputState, - } -} - // The path the AD secret backend is mounted at, // with no leading or trailing `/`s. func (o SecretRoleOutput) Backend() pulumi.StringOutput { @@ -386,12 +361,6 @@ func (o SecretRoleArrayOutput) ToSecretRoleArrayOutputWithContext(ctx context.Co return o } -func (o SecretRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRole] { - return pulumix.Output[[]*SecretRole]{ - OutputState: o.OutputState, - } -} - func (o SecretRoleArrayOutput) Index(i pulumi.IntInput) SecretRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretRole { return vs[0].([]*SecretRole)[vs[1].(int)] @@ -412,12 +381,6 @@ func (o SecretRoleMapOutput) ToSecretRoleMapOutputWithContext(ctx context.Contex return o } -func (o SecretRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRole] { - return pulumix.Output[map[string]*SecretRole]{ - OutputState: o.OutputState, - } -} - func (o SecretRoleMapOutput) MapIndex(k pulumi.StringInput) SecretRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretRole { return vs[0].(map[string]*SecretRole)[vs[1].(string)] diff --git a/sdk/go/vault/alicloud/authBackendRole.go b/sdk/go/vault/alicloud/authBackendRole.go index 85c9fee44..22d014f47 100644 --- a/sdk/go/vault/alicloud/authBackendRole.go +++ b/sdk/go/vault/alicloud/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to create a role in an [AliCloud auth backend within Vault](https://www.vaultproject.io/docs/auth/alicloud.html). @@ -390,12 +389,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -421,12 +414,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -452,12 +439,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -472,12 +453,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - // The role's arn. func (o AuthBackendRoleOutput) Arn() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackendRole) pulumi.StringOutput { return v.Arn }).(pulumi.StringOutput) @@ -581,12 +556,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -607,12 +576,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/approle/authBackendLogin.go b/sdk/go/vault/approle/authBackendLogin.go index e465b938a..6e6c18bed 100644 --- a/sdk/go/vault/approle/authBackendLogin.go +++ b/sdk/go/vault/approle/authBackendLogin.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Logs into Vault using the AppRole auth backend. See the [Vault @@ -257,12 +256,6 @@ func (i *AuthBackendLogin) ToAuthBackendLoginOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AuthBackendLoginOutput) } -func (i *AuthBackendLogin) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendLogin] { - return pulumix.Output[*AuthBackendLogin]{ - OutputState: i.ToAuthBackendLoginOutputWithContext(ctx).OutputState, - } -} - // AuthBackendLoginArrayInput is an input type that accepts AuthBackendLoginArray and AuthBackendLoginArrayOutput values. // You can construct a concrete instance of `AuthBackendLoginArrayInput` via: // @@ -288,12 +281,6 @@ func (i AuthBackendLoginArray) ToAuthBackendLoginArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendLoginArrayOutput) } -func (i AuthBackendLoginArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendLogin] { - return pulumix.Output[[]*AuthBackendLogin]{ - OutputState: i.ToAuthBackendLoginArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendLoginMapInput is an input type that accepts AuthBackendLoginMap and AuthBackendLoginMapOutput values. // You can construct a concrete instance of `AuthBackendLoginMapInput` via: // @@ -319,12 +306,6 @@ func (i AuthBackendLoginMap) ToAuthBackendLoginMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuthBackendLoginMapOutput) } -func (i AuthBackendLoginMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendLogin] { - return pulumix.Output[map[string]*AuthBackendLogin]{ - OutputState: i.ToAuthBackendLoginMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendLoginOutput struct{ *pulumi.OutputState } func (AuthBackendLoginOutput) ElementType() reflect.Type { @@ -339,12 +320,6 @@ func (o AuthBackendLoginOutput) ToAuthBackendLoginOutputWithContext(ctx context. return o } -func (o AuthBackendLoginOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendLogin] { - return pulumix.Output[*AuthBackendLogin]{ - OutputState: o.OutputState, - } -} - // The accessor for the token. func (o AuthBackendLoginOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackendLogin) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -418,12 +393,6 @@ func (o AuthBackendLoginArrayOutput) ToAuthBackendLoginArrayOutputWithContext(ct return o } -func (o AuthBackendLoginArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendLogin] { - return pulumix.Output[[]*AuthBackendLogin]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendLoginArrayOutput) Index(i pulumi.IntInput) AuthBackendLoginOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendLogin { return vs[0].([]*AuthBackendLogin)[vs[1].(int)] @@ -444,12 +413,6 @@ func (o AuthBackendLoginMapOutput) ToAuthBackendLoginMapOutputWithContext(ctx co return o } -func (o AuthBackendLoginMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendLogin] { - return pulumix.Output[map[string]*AuthBackendLogin]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendLoginMapOutput) MapIndex(k pulumi.StringInput) AuthBackendLoginOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendLogin { return vs[0].(map[string]*AuthBackendLogin)[vs[1].(string)] diff --git a/sdk/go/vault/approle/authBackendRole.go b/sdk/go/vault/approle/authBackendRole.go index 370e10de8..cfd96c84e 100644 --- a/sdk/go/vault/approle/authBackendRole.go +++ b/sdk/go/vault/approle/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an AppRole auth backend role in a Vault server. See the [Vault @@ -447,12 +446,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -478,12 +471,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -509,12 +496,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -529,12 +510,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - // The unique name of the auth backend to configure. // Defaults to `approle`. func (o AuthBackendRoleOutput) Backend() pulumi.StringPtrOutput { @@ -661,12 +636,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -687,12 +656,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/approle/authBackendRoleSecretId.go b/sdk/go/vault/approle/authBackendRoleSecretId.go index 661de55a2..29352439a 100644 --- a/sdk/go/vault/approle/authBackendRoleSecretId.go +++ b/sdk/go/vault/approle/authBackendRoleSecretId.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an AppRole auth backend SecretID in a Vault server. See the [Vault @@ -319,12 +318,6 @@ func (i *AuthBackendRoleSecretId) ToAuthBackendRoleSecretIdOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleSecretIdOutput) } -func (i *AuthBackendRoleSecretId) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRoleSecretId] { - return pulumix.Output[*AuthBackendRoleSecretId]{ - OutputState: i.ToAuthBackendRoleSecretIdOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleSecretIdArrayInput is an input type that accepts AuthBackendRoleSecretIdArray and AuthBackendRoleSecretIdArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleSecretIdArrayInput` via: // @@ -350,12 +343,6 @@ func (i AuthBackendRoleSecretIdArray) ToAuthBackendRoleSecretIdArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleSecretIdArrayOutput) } -func (i AuthBackendRoleSecretIdArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRoleSecretId] { - return pulumix.Output[[]*AuthBackendRoleSecretId]{ - OutputState: i.ToAuthBackendRoleSecretIdArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleSecretIdMapInput is an input type that accepts AuthBackendRoleSecretIdMap and AuthBackendRoleSecretIdMapOutput values. // You can construct a concrete instance of `AuthBackendRoleSecretIdMapInput` via: // @@ -381,12 +368,6 @@ func (i AuthBackendRoleSecretIdMap) ToAuthBackendRoleSecretIdMapOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleSecretIdMapOutput) } -func (i AuthBackendRoleSecretIdMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRoleSecretId] { - return pulumix.Output[map[string]*AuthBackendRoleSecretId]{ - OutputState: i.ToAuthBackendRoleSecretIdMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleSecretIdOutput struct{ *pulumi.OutputState } func (AuthBackendRoleSecretIdOutput) ElementType() reflect.Type { @@ -401,12 +382,6 @@ func (o AuthBackendRoleSecretIdOutput) ToAuthBackendRoleSecretIdOutputWithContex return o } -func (o AuthBackendRoleSecretIdOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRoleSecretId] { - return pulumix.Output[*AuthBackendRoleSecretId]{ - OutputState: o.OutputState, - } -} - // The unique ID for this SecretID that can be safely logged. func (o AuthBackendRoleSecretIdOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackendRoleSecretId) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -488,12 +463,6 @@ func (o AuthBackendRoleSecretIdArrayOutput) ToAuthBackendRoleSecretIdArrayOutput return o } -func (o AuthBackendRoleSecretIdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRoleSecretId] { - return pulumix.Output[[]*AuthBackendRoleSecretId]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleSecretIdArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleSecretIdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRoleSecretId { return vs[0].([]*AuthBackendRoleSecretId)[vs[1].(int)] @@ -514,12 +483,6 @@ func (o AuthBackendRoleSecretIdMapOutput) ToAuthBackendRoleSecretIdMapOutputWith return o } -func (o AuthBackendRoleSecretIdMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRoleSecretId] { - return pulumix.Output[map[string]*AuthBackendRoleSecretId]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleSecretIdMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleSecretIdOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRoleSecretId { return vs[0].(map[string]*AuthBackendRoleSecretId)[vs[1].(string)] diff --git a/sdk/go/vault/approle/getAuthBackendRoleId.go b/sdk/go/vault/approle/getAuthBackendRoleId.go index 2bb938152..df46920d5 100644 --- a/sdk/go/vault/approle/getAuthBackendRoleId.go +++ b/sdk/go/vault/approle/getAuthBackendRoleId.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Reads the Role ID of an AppRole from a Vault server. @@ -122,12 +121,6 @@ func (o GetAuthBackendRoleIdResultOutput) ToGetAuthBackendRoleIdResultOutputWith return o } -func (o GetAuthBackendRoleIdResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAuthBackendRoleIdResult] { - return pulumix.Output[GetAuthBackendRoleIdResult]{ - OutputState: o.OutputState, - } -} - func (o GetAuthBackendRoleIdResultOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v GetAuthBackendRoleIdResult) *string { return v.Backend }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/vault/audit.go b/sdk/go/vault/audit.go index 487c688a2..1eb141807 100644 --- a/sdk/go/vault/audit.go +++ b/sdk/go/vault/audit.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -249,12 +248,6 @@ func (i *Audit) ToAuditOutputWithContext(ctx context.Context) AuditOutput { return pulumi.ToOutputWithContext(ctx, i).(AuditOutput) } -func (i *Audit) ToOutput(ctx context.Context) pulumix.Output[*Audit] { - return pulumix.Output[*Audit]{ - OutputState: i.ToAuditOutputWithContext(ctx).OutputState, - } -} - // AuditArrayInput is an input type that accepts AuditArray and AuditArrayOutput values. // You can construct a concrete instance of `AuditArrayInput` via: // @@ -280,12 +273,6 @@ func (i AuditArray) ToAuditArrayOutputWithContext(ctx context.Context) AuditArra return pulumi.ToOutputWithContext(ctx, i).(AuditArrayOutput) } -func (i AuditArray) ToOutput(ctx context.Context) pulumix.Output[[]*Audit] { - return pulumix.Output[[]*Audit]{ - OutputState: i.ToAuditArrayOutputWithContext(ctx).OutputState, - } -} - // AuditMapInput is an input type that accepts AuditMap and AuditMapOutput values. // You can construct a concrete instance of `AuditMapInput` via: // @@ -311,12 +298,6 @@ func (i AuditMap) ToAuditMapOutputWithContext(ctx context.Context) AuditMapOutpu return pulumi.ToOutputWithContext(ctx, i).(AuditMapOutput) } -func (i AuditMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Audit] { - return pulumix.Output[map[string]*Audit]{ - OutputState: i.ToAuditMapOutputWithContext(ctx).OutputState, - } -} - type AuditOutput struct{ *pulumi.OutputState } func (AuditOutput) ElementType() reflect.Type { @@ -331,12 +312,6 @@ func (o AuditOutput) ToAuditOutputWithContext(ctx context.Context) AuditOutput { return o } -func (o AuditOutput) ToOutput(ctx context.Context) pulumix.Output[*Audit] { - return pulumix.Output[*Audit]{ - OutputState: o.OutputState, - } -} - // Human-friendly description of the audit device. func (o AuditOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *Audit) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) @@ -386,12 +361,6 @@ func (o AuditArrayOutput) ToAuditArrayOutputWithContext(ctx context.Context) Aud return o } -func (o AuditArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Audit] { - return pulumix.Output[[]*Audit]{ - OutputState: o.OutputState, - } -} - func (o AuditArrayOutput) Index(i pulumi.IntInput) AuditOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Audit { return vs[0].([]*Audit)[vs[1].(int)] @@ -412,12 +381,6 @@ func (o AuditMapOutput) ToAuditMapOutputWithContext(ctx context.Context) AuditMa return o } -func (o AuditMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Audit] { - return pulumix.Output[map[string]*Audit]{ - OutputState: o.OutputState, - } -} - func (o AuditMapOutput) MapIndex(k pulumi.StringInput) AuditOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Audit { return vs[0].(map[string]*Audit)[vs[1].(string)] diff --git a/sdk/go/vault/auditRequestHeader.go b/sdk/go/vault/auditRequestHeader.go index 8e5513362..fc4b85496 100644 --- a/sdk/go/vault/auditRequestHeader.go +++ b/sdk/go/vault/auditRequestHeader.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages additional request headers that appear in audited requests. @@ -148,12 +147,6 @@ func (i *AuditRequestHeader) ToAuditRequestHeaderOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AuditRequestHeaderOutput) } -func (i *AuditRequestHeader) ToOutput(ctx context.Context) pulumix.Output[*AuditRequestHeader] { - return pulumix.Output[*AuditRequestHeader]{ - OutputState: i.ToAuditRequestHeaderOutputWithContext(ctx).OutputState, - } -} - // AuditRequestHeaderArrayInput is an input type that accepts AuditRequestHeaderArray and AuditRequestHeaderArrayOutput values. // You can construct a concrete instance of `AuditRequestHeaderArrayInput` via: // @@ -179,12 +172,6 @@ func (i AuditRequestHeaderArray) ToAuditRequestHeaderArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AuditRequestHeaderArrayOutput) } -func (i AuditRequestHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuditRequestHeader] { - return pulumix.Output[[]*AuditRequestHeader]{ - OutputState: i.ToAuditRequestHeaderArrayOutputWithContext(ctx).OutputState, - } -} - // AuditRequestHeaderMapInput is an input type that accepts AuditRequestHeaderMap and AuditRequestHeaderMapOutput values. // You can construct a concrete instance of `AuditRequestHeaderMapInput` via: // @@ -210,12 +197,6 @@ func (i AuditRequestHeaderMap) ToAuditRequestHeaderMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuditRequestHeaderMapOutput) } -func (i AuditRequestHeaderMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuditRequestHeader] { - return pulumix.Output[map[string]*AuditRequestHeader]{ - OutputState: i.ToAuditRequestHeaderMapOutputWithContext(ctx).OutputState, - } -} - type AuditRequestHeaderOutput struct{ *pulumi.OutputState } func (AuditRequestHeaderOutput) ElementType() reflect.Type { @@ -230,12 +211,6 @@ func (o AuditRequestHeaderOutput) ToAuditRequestHeaderOutputWithContext(ctx cont return o } -func (o AuditRequestHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[*AuditRequestHeader] { - return pulumix.Output[*AuditRequestHeader]{ - OutputState: o.OutputState, - } -} - // Whether this header's value should be HMAC'd in the audit logs. func (o AuditRequestHeaderOutput) Hmac() pulumi.BoolPtrOutput { return o.ApplyT(func(v *AuditRequestHeader) pulumi.BoolPtrOutput { return v.Hmac }).(pulumi.BoolPtrOutput) @@ -265,12 +240,6 @@ func (o AuditRequestHeaderArrayOutput) ToAuditRequestHeaderArrayOutputWithContex return o } -func (o AuditRequestHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuditRequestHeader] { - return pulumix.Output[[]*AuditRequestHeader]{ - OutputState: o.OutputState, - } -} - func (o AuditRequestHeaderArrayOutput) Index(i pulumi.IntInput) AuditRequestHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuditRequestHeader { return vs[0].([]*AuditRequestHeader)[vs[1].(int)] @@ -291,12 +260,6 @@ func (o AuditRequestHeaderMapOutput) ToAuditRequestHeaderMapOutputWithContext(ct return o } -func (o AuditRequestHeaderMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuditRequestHeader] { - return pulumix.Output[map[string]*AuditRequestHeader]{ - OutputState: o.OutputState, - } -} - func (o AuditRequestHeaderMapOutput) MapIndex(k pulumi.StringInput) AuditRequestHeaderOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuditRequestHeader { return vs[0].(map[string]*AuditRequestHeader)[vs[1].(string)] diff --git a/sdk/go/vault/authBackend.go b/sdk/go/vault/authBackend.go index 396711024..9c168a88c 100644 --- a/sdk/go/vault/authBackend.go +++ b/sdk/go/vault/authBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Import @@ -205,12 +204,6 @@ func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBa return pulumi.ToOutputWithContext(ctx, i).(AuthBackendOutput) } -func (i *AuthBackend) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: i.ToAuthBackendOutputWithContext(ctx).OutputState, - } -} - // AuthBackendArrayInput is an input type that accepts AuthBackendArray and AuthBackendArrayOutput values. // You can construct a concrete instance of `AuthBackendArrayInput` via: // @@ -236,12 +229,6 @@ func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendArrayOutput) } -func (i AuthBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: i.ToAuthBackendArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendMapInput is an input type that accepts AuthBackendMap and AuthBackendMapOutput values. // You can construct a concrete instance of `AuthBackendMapInput` via: // @@ -267,12 +254,6 @@ func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthBackendMapOutput) } -func (i AuthBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: i.ToAuthBackendMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendOutput struct{ *pulumi.OutputState } func (AuthBackendOutput) ElementType() reflect.Type { @@ -287,12 +268,6 @@ func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) A return o } -func (o AuthBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: o.OutputState, - } -} - // The accessor for this auth method func (o AuthBackendOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackend) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -353,12 +328,6 @@ func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context. return o } -func (o AuthBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].([]*AuthBackend)[vs[1].(int)] @@ -379,12 +348,6 @@ func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Cont return o } -func (o AuthBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].(map[string]*AuthBackend)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendCert.go b/sdk/go/vault/aws/authBackendCert.go index 94f9a058a..8ee530783 100644 --- a/sdk/go/vault/aws/authBackendCert.go +++ b/sdk/go/vault/aws/authBackendCert.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Import @@ -197,12 +196,6 @@ func (i *AuthBackendCert) ToAuthBackendCertOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendCertOutput) } -func (i *AuthBackendCert) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendCert] { - return pulumix.Output[*AuthBackendCert]{ - OutputState: i.ToAuthBackendCertOutputWithContext(ctx).OutputState, - } -} - // AuthBackendCertArrayInput is an input type that accepts AuthBackendCertArray and AuthBackendCertArrayOutput values. // You can construct a concrete instance of `AuthBackendCertArrayInput` via: // @@ -228,12 +221,6 @@ func (i AuthBackendCertArray) ToAuthBackendCertArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendCertArrayOutput) } -func (i AuthBackendCertArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendCert] { - return pulumix.Output[[]*AuthBackendCert]{ - OutputState: i.ToAuthBackendCertArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendCertMapInput is an input type that accepts AuthBackendCertMap and AuthBackendCertMapOutput values. // You can construct a concrete instance of `AuthBackendCertMapInput` via: // @@ -259,12 +246,6 @@ func (i AuthBackendCertMap) ToAuthBackendCertMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendCertMapOutput) } -func (i AuthBackendCertMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendCert] { - return pulumix.Output[map[string]*AuthBackendCert]{ - OutputState: i.ToAuthBackendCertMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendCertOutput struct{ *pulumi.OutputState } func (AuthBackendCertOutput) ElementType() reflect.Type { @@ -279,12 +260,6 @@ func (o AuthBackendCertOutput) ToAuthBackendCertOutputWithContext(ctx context.Co return o } -func (o AuthBackendCertOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendCert] { - return pulumix.Output[*AuthBackendCert]{ - OutputState: o.OutputState, - } -} - // The Base64 encoded AWS Public key required to // verify PKCS7 signature of the EC2 instance metadata. You can find this key in // the [AWS @@ -333,12 +308,6 @@ func (o AuthBackendCertArrayOutput) ToAuthBackendCertArrayOutputWithContext(ctx return o } -func (o AuthBackendCertArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendCert] { - return pulumix.Output[[]*AuthBackendCert]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendCertArrayOutput) Index(i pulumi.IntInput) AuthBackendCertOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendCert { return vs[0].([]*AuthBackendCert)[vs[1].(int)] @@ -359,12 +328,6 @@ func (o AuthBackendCertMapOutput) ToAuthBackendCertMapOutputWithContext(ctx cont return o } -func (o AuthBackendCertMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendCert] { - return pulumix.Output[map[string]*AuthBackendCert]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendCertMapOutput) MapIndex(k pulumi.StringInput) AuthBackendCertOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendCert { return vs[0].(map[string]*AuthBackendCert)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendClient.go b/sdk/go/vault/aws/authBackendClient.go index a63d2c5f5..1074be275 100644 --- a/sdk/go/vault/aws/authBackendClient.go +++ b/sdk/go/vault/aws/authBackendClient.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -321,12 +320,6 @@ func (i *AuthBackendClient) ToAuthBackendClientOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AuthBackendClientOutput) } -func (i *AuthBackendClient) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendClient] { - return pulumix.Output[*AuthBackendClient]{ - OutputState: i.ToAuthBackendClientOutputWithContext(ctx).OutputState, - } -} - // AuthBackendClientArrayInput is an input type that accepts AuthBackendClientArray and AuthBackendClientArrayOutput values. // You can construct a concrete instance of `AuthBackendClientArrayInput` via: // @@ -352,12 +345,6 @@ func (i AuthBackendClientArray) ToAuthBackendClientArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendClientArrayOutput) } -func (i AuthBackendClientArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendClient] { - return pulumix.Output[[]*AuthBackendClient]{ - OutputState: i.ToAuthBackendClientArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendClientMapInput is an input type that accepts AuthBackendClientMap and AuthBackendClientMapOutput values. // You can construct a concrete instance of `AuthBackendClientMapInput` via: // @@ -383,12 +370,6 @@ func (i AuthBackendClientMap) ToAuthBackendClientMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendClientMapOutput) } -func (i AuthBackendClientMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendClient] { - return pulumix.Output[map[string]*AuthBackendClient]{ - OutputState: i.ToAuthBackendClientMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendClientOutput struct{ *pulumi.OutputState } func (AuthBackendClientOutput) ElementType() reflect.Type { @@ -403,12 +384,6 @@ func (o AuthBackendClientOutput) ToAuthBackendClientOutputWithContext(ctx contex return o } -func (o AuthBackendClientOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendClient] { - return pulumix.Output[*AuthBackendClient]{ - OutputState: o.OutputState, - } -} - // The AWS access key that Vault should use for the // auth backend. func (o AuthBackendClientOutput) AccessKey() pulumi.StringPtrOutput { @@ -489,12 +464,6 @@ func (o AuthBackendClientArrayOutput) ToAuthBackendClientArrayOutputWithContext( return o } -func (o AuthBackendClientArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendClient] { - return pulumix.Output[[]*AuthBackendClient]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendClientArrayOutput) Index(i pulumi.IntInput) AuthBackendClientOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendClient { return vs[0].([]*AuthBackendClient)[vs[1].(int)] @@ -515,12 +484,6 @@ func (o AuthBackendClientMapOutput) ToAuthBackendClientMapOutputWithContext(ctx return o } -func (o AuthBackendClientMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendClient] { - return pulumix.Output[map[string]*AuthBackendClient]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendClientMapOutput) MapIndex(k pulumi.StringInput) AuthBackendClientOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendClient { return vs[0].(map[string]*AuthBackendClient)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendConfigIdentity.go b/sdk/go/vault/aws/authBackendConfigIdentity.go index 2e599d82c..4bb266d6b 100644 --- a/sdk/go/vault/aws/authBackendConfigIdentity.go +++ b/sdk/go/vault/aws/authBackendConfigIdentity.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an AWS auth backend identity configuration in a Vault server. This configuration defines how Vault interacts @@ -232,12 +231,6 @@ func (i *AuthBackendConfigIdentity) ToAuthBackendConfigIdentityOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigIdentityOutput) } -func (i *AuthBackendConfigIdentity) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendConfigIdentity] { - return pulumix.Output[*AuthBackendConfigIdentity]{ - OutputState: i.ToAuthBackendConfigIdentityOutputWithContext(ctx).OutputState, - } -} - // AuthBackendConfigIdentityArrayInput is an input type that accepts AuthBackendConfigIdentityArray and AuthBackendConfigIdentityArrayOutput values. // You can construct a concrete instance of `AuthBackendConfigIdentityArrayInput` via: // @@ -263,12 +256,6 @@ func (i AuthBackendConfigIdentityArray) ToAuthBackendConfigIdentityArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigIdentityArrayOutput) } -func (i AuthBackendConfigIdentityArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendConfigIdentity] { - return pulumix.Output[[]*AuthBackendConfigIdentity]{ - OutputState: i.ToAuthBackendConfigIdentityArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendConfigIdentityMapInput is an input type that accepts AuthBackendConfigIdentityMap and AuthBackendConfigIdentityMapOutput values. // You can construct a concrete instance of `AuthBackendConfigIdentityMapInput` via: // @@ -294,12 +281,6 @@ func (i AuthBackendConfigIdentityMap) ToAuthBackendConfigIdentityMapOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigIdentityMapOutput) } -func (i AuthBackendConfigIdentityMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendConfigIdentity] { - return pulumix.Output[map[string]*AuthBackendConfigIdentity]{ - OutputState: i.ToAuthBackendConfigIdentityMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendConfigIdentityOutput struct{ *pulumi.OutputState } func (AuthBackendConfigIdentityOutput) ElementType() reflect.Type { @@ -314,12 +295,6 @@ func (o AuthBackendConfigIdentityOutput) ToAuthBackendConfigIdentityOutputWithCo return o } -func (o AuthBackendConfigIdentityOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendConfigIdentity] { - return pulumix.Output[*AuthBackendConfigIdentity]{ - OutputState: o.OutputState, - } -} - // Unique name of the auth backend to configure. func (o AuthBackendConfigIdentityOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v *AuthBackendConfigIdentity) pulumi.StringPtrOutput { return v.Backend }).(pulumi.StringPtrOutput) @@ -371,12 +346,6 @@ func (o AuthBackendConfigIdentityArrayOutput) ToAuthBackendConfigIdentityArrayOu return o } -func (o AuthBackendConfigIdentityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendConfigIdentity] { - return pulumix.Output[[]*AuthBackendConfigIdentity]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendConfigIdentityArrayOutput) Index(i pulumi.IntInput) AuthBackendConfigIdentityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendConfigIdentity { return vs[0].([]*AuthBackendConfigIdentity)[vs[1].(int)] @@ -397,12 +366,6 @@ func (o AuthBackendConfigIdentityMapOutput) ToAuthBackendConfigIdentityMapOutput return o } -func (o AuthBackendConfigIdentityMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendConfigIdentity] { - return pulumix.Output[map[string]*AuthBackendConfigIdentity]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendConfigIdentityMapOutput) MapIndex(k pulumi.StringInput) AuthBackendConfigIdentityOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendConfigIdentity { return vs[0].(map[string]*AuthBackendConfigIdentity)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendIdentityWhitelist.go b/sdk/go/vault/aws/authBackendIdentityWhitelist.go index fe8d6e5b7..136ca4479 100644 --- a/sdk/go/vault/aws/authBackendIdentityWhitelist.go +++ b/sdk/go/vault/aws/authBackendIdentityWhitelist.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Configures the periodic tidying operation of the whitelisted identity entries. @@ -204,12 +203,6 @@ func (i *AuthBackendIdentityWhitelist) ToAuthBackendIdentityWhitelistOutputWithC return pulumi.ToOutputWithContext(ctx, i).(AuthBackendIdentityWhitelistOutput) } -func (i *AuthBackendIdentityWhitelist) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendIdentityWhitelist] { - return pulumix.Output[*AuthBackendIdentityWhitelist]{ - OutputState: i.ToAuthBackendIdentityWhitelistOutputWithContext(ctx).OutputState, - } -} - // AuthBackendIdentityWhitelistArrayInput is an input type that accepts AuthBackendIdentityWhitelistArray and AuthBackendIdentityWhitelistArrayOutput values. // You can construct a concrete instance of `AuthBackendIdentityWhitelistArrayInput` via: // @@ -235,12 +228,6 @@ func (i AuthBackendIdentityWhitelistArray) ToAuthBackendIdentityWhitelistArrayOu return pulumi.ToOutputWithContext(ctx, i).(AuthBackendIdentityWhitelistArrayOutput) } -func (i AuthBackendIdentityWhitelistArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendIdentityWhitelist] { - return pulumix.Output[[]*AuthBackendIdentityWhitelist]{ - OutputState: i.ToAuthBackendIdentityWhitelistArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendIdentityWhitelistMapInput is an input type that accepts AuthBackendIdentityWhitelistMap and AuthBackendIdentityWhitelistMapOutput values. // You can construct a concrete instance of `AuthBackendIdentityWhitelistMapInput` via: // @@ -266,12 +253,6 @@ func (i AuthBackendIdentityWhitelistMap) ToAuthBackendIdentityWhitelistMapOutput return pulumi.ToOutputWithContext(ctx, i).(AuthBackendIdentityWhitelistMapOutput) } -func (i AuthBackendIdentityWhitelistMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendIdentityWhitelist] { - return pulumix.Output[map[string]*AuthBackendIdentityWhitelist]{ - OutputState: i.ToAuthBackendIdentityWhitelistMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendIdentityWhitelistOutput struct{ *pulumi.OutputState } func (AuthBackendIdentityWhitelistOutput) ElementType() reflect.Type { @@ -286,12 +267,6 @@ func (o AuthBackendIdentityWhitelistOutput) ToAuthBackendIdentityWhitelistOutput return o } -func (o AuthBackendIdentityWhitelistOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendIdentityWhitelist] { - return pulumix.Output[*AuthBackendIdentityWhitelist]{ - OutputState: o.OutputState, - } -} - // The path of the AWS backend being configured. func (o AuthBackendIdentityWhitelistOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v *AuthBackendIdentityWhitelist) pulumi.StringPtrOutput { return v.Backend }).(pulumi.StringPtrOutput) @@ -332,12 +307,6 @@ func (o AuthBackendIdentityWhitelistArrayOutput) ToAuthBackendIdentityWhitelistA return o } -func (o AuthBackendIdentityWhitelistArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendIdentityWhitelist] { - return pulumix.Output[[]*AuthBackendIdentityWhitelist]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendIdentityWhitelistArrayOutput) Index(i pulumi.IntInput) AuthBackendIdentityWhitelistOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendIdentityWhitelist { return vs[0].([]*AuthBackendIdentityWhitelist)[vs[1].(int)] @@ -358,12 +327,6 @@ func (o AuthBackendIdentityWhitelistMapOutput) ToAuthBackendIdentityWhitelistMap return o } -func (o AuthBackendIdentityWhitelistMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendIdentityWhitelist] { - return pulumix.Output[map[string]*AuthBackendIdentityWhitelist]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendIdentityWhitelistMapOutput) MapIndex(k pulumi.StringInput) AuthBackendIdentityWhitelistOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendIdentityWhitelist { return vs[0].(map[string]*AuthBackendIdentityWhitelist)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendLogin.go b/sdk/go/vault/aws/authBackendLogin.go index fe6afa7a2..0d474fcc6 100644 --- a/sdk/go/vault/aws/authBackendLogin.go +++ b/sdk/go/vault/aws/authBackendLogin.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Logs into a Vault server using an AWS auth backend. Login can be @@ -343,12 +342,6 @@ func (i *AuthBackendLogin) ToAuthBackendLoginOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AuthBackendLoginOutput) } -func (i *AuthBackendLogin) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendLogin] { - return pulumix.Output[*AuthBackendLogin]{ - OutputState: i.ToAuthBackendLoginOutputWithContext(ctx).OutputState, - } -} - // AuthBackendLoginArrayInput is an input type that accepts AuthBackendLoginArray and AuthBackendLoginArrayOutput values. // You can construct a concrete instance of `AuthBackendLoginArrayInput` via: // @@ -374,12 +367,6 @@ func (i AuthBackendLoginArray) ToAuthBackendLoginArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendLoginArrayOutput) } -func (i AuthBackendLoginArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendLogin] { - return pulumix.Output[[]*AuthBackendLogin]{ - OutputState: i.ToAuthBackendLoginArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendLoginMapInput is an input type that accepts AuthBackendLoginMap and AuthBackendLoginMapOutput values. // You can construct a concrete instance of `AuthBackendLoginMapInput` via: // @@ -405,12 +392,6 @@ func (i AuthBackendLoginMap) ToAuthBackendLoginMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuthBackendLoginMapOutput) } -func (i AuthBackendLoginMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendLogin] { - return pulumix.Output[map[string]*AuthBackendLogin]{ - OutputState: i.ToAuthBackendLoginMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendLoginOutput struct{ *pulumi.OutputState } func (AuthBackendLoginOutput) ElementType() reflect.Type { @@ -425,12 +406,6 @@ func (o AuthBackendLoginOutput) ToAuthBackendLoginOutputWithContext(ctx context. return o } -func (o AuthBackendLoginOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendLogin] { - return pulumix.Output[*AuthBackendLogin]{ - OutputState: o.OutputState, - } -} - // The token's accessor. func (o AuthBackendLoginOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackendLogin) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -559,12 +534,6 @@ func (o AuthBackendLoginArrayOutput) ToAuthBackendLoginArrayOutputWithContext(ct return o } -func (o AuthBackendLoginArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendLogin] { - return pulumix.Output[[]*AuthBackendLogin]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendLoginArrayOutput) Index(i pulumi.IntInput) AuthBackendLoginOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendLogin { return vs[0].([]*AuthBackendLogin)[vs[1].(int)] @@ -585,12 +554,6 @@ func (o AuthBackendLoginMapOutput) ToAuthBackendLoginMapOutputWithContext(ctx co return o } -func (o AuthBackendLoginMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendLogin] { - return pulumix.Output[map[string]*AuthBackendLogin]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendLoginMapOutput) MapIndex(k pulumi.StringInput) AuthBackendLoginOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendLogin { return vs[0].(map[string]*AuthBackendLogin)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendRole.go b/sdk/go/vault/aws/authBackendRole.go index 73f9f12f2..67e2d0c97 100644 --- a/sdk/go/vault/aws/authBackendRole.go +++ b/sdk/go/vault/aws/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an AWS auth backend role in a Vault server. Roles constrain the @@ -808,12 +807,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -839,12 +832,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -870,12 +857,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -890,12 +871,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - // If set to `true`, allows migration of // the underlying instance where the client resides. func (o AuthBackendRoleOutput) AllowInstanceMigration() pulumi.BoolPtrOutput { @@ -1126,12 +1101,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -1152,12 +1121,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendRoleTag.go b/sdk/go/vault/aws/authBackendRoleTag.go index c760158e3..395f3e665 100644 --- a/sdk/go/vault/aws/authBackendRoleTag.go +++ b/sdk/go/vault/aws/authBackendRoleTag.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Reads role tag information from an AWS auth backend in Vault. @@ -208,12 +207,6 @@ func (i *AuthBackendRoleTag) ToAuthBackendRoleTagOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleTagOutput) } -func (i *AuthBackendRoleTag) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRoleTag] { - return pulumix.Output[*AuthBackendRoleTag]{ - OutputState: i.ToAuthBackendRoleTagOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleTagArrayInput is an input type that accepts AuthBackendRoleTagArray and AuthBackendRoleTagArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleTagArrayInput` via: // @@ -239,12 +232,6 @@ func (i AuthBackendRoleTagArray) ToAuthBackendRoleTagArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleTagArrayOutput) } -func (i AuthBackendRoleTagArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRoleTag] { - return pulumix.Output[[]*AuthBackendRoleTag]{ - OutputState: i.ToAuthBackendRoleTagArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleTagMapInput is an input type that accepts AuthBackendRoleTagMap and AuthBackendRoleTagMapOutput values. // You can construct a concrete instance of `AuthBackendRoleTagMapInput` via: // @@ -270,12 +257,6 @@ func (i AuthBackendRoleTagMap) ToAuthBackendRoleTagMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleTagMapOutput) } -func (i AuthBackendRoleTagMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRoleTag] { - return pulumix.Output[map[string]*AuthBackendRoleTag]{ - OutputState: i.ToAuthBackendRoleTagMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleTagOutput struct{ *pulumi.OutputState } func (AuthBackendRoleTagOutput) ElementType() reflect.Type { @@ -290,12 +271,6 @@ func (o AuthBackendRoleTagOutput) ToAuthBackendRoleTagOutputWithContext(ctx cont return o } -func (o AuthBackendRoleTagOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRoleTag] { - return pulumix.Output[*AuthBackendRoleTag]{ - OutputState: o.OutputState, - } -} - // If set, allows migration of the underlying instances where the client resides. Use with caution. func (o AuthBackendRoleTagOutput) AllowInstanceMigration() pulumi.BoolPtrOutput { return o.ApplyT(func(v *AuthBackendRoleTag) pulumi.BoolPtrOutput { return v.AllowInstanceMigration }).(pulumi.BoolPtrOutput) @@ -365,12 +340,6 @@ func (o AuthBackendRoleTagArrayOutput) ToAuthBackendRoleTagArrayOutputWithContex return o } -func (o AuthBackendRoleTagArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRoleTag] { - return pulumix.Output[[]*AuthBackendRoleTag]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleTagArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleTagOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRoleTag { return vs[0].([]*AuthBackendRoleTag)[vs[1].(int)] @@ -391,12 +360,6 @@ func (o AuthBackendRoleTagMapOutput) ToAuthBackendRoleTagMapOutputWithContext(ct return o } -func (o AuthBackendRoleTagMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRoleTag] { - return pulumix.Output[map[string]*AuthBackendRoleTag]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleTagMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleTagOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRoleTag { return vs[0].(map[string]*AuthBackendRoleTag)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendRoletagBlacklist.go b/sdk/go/vault/aws/authBackendRoletagBlacklist.go index 283e95041..296a3e736 100644 --- a/sdk/go/vault/aws/authBackendRoletagBlacklist.go +++ b/sdk/go/vault/aws/authBackendRoletagBlacklist.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Configures the periodic tidying operation of the blacklisted role tag entries. @@ -200,12 +199,6 @@ func (i *AuthBackendRoletagBlacklist) ToAuthBackendRoletagBlacklistOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoletagBlacklistOutput) } -func (i *AuthBackendRoletagBlacklist) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRoletagBlacklist] { - return pulumix.Output[*AuthBackendRoletagBlacklist]{ - OutputState: i.ToAuthBackendRoletagBlacklistOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoletagBlacklistArrayInput is an input type that accepts AuthBackendRoletagBlacklistArray and AuthBackendRoletagBlacklistArrayOutput values. // You can construct a concrete instance of `AuthBackendRoletagBlacklistArrayInput` via: // @@ -231,12 +224,6 @@ func (i AuthBackendRoletagBlacklistArray) ToAuthBackendRoletagBlacklistArrayOutp return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoletagBlacklistArrayOutput) } -func (i AuthBackendRoletagBlacklistArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRoletagBlacklist] { - return pulumix.Output[[]*AuthBackendRoletagBlacklist]{ - OutputState: i.ToAuthBackendRoletagBlacklistArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoletagBlacklistMapInput is an input type that accepts AuthBackendRoletagBlacklistMap and AuthBackendRoletagBlacklistMapOutput values. // You can construct a concrete instance of `AuthBackendRoletagBlacklistMapInput` via: // @@ -262,12 +249,6 @@ func (i AuthBackendRoletagBlacklistMap) ToAuthBackendRoletagBlacklistMapOutputWi return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoletagBlacklistMapOutput) } -func (i AuthBackendRoletagBlacklistMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRoletagBlacklist] { - return pulumix.Output[map[string]*AuthBackendRoletagBlacklist]{ - OutputState: i.ToAuthBackendRoletagBlacklistMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoletagBlacklistOutput struct{ *pulumi.OutputState } func (AuthBackendRoletagBlacklistOutput) ElementType() reflect.Type { @@ -282,12 +263,6 @@ func (o AuthBackendRoletagBlacklistOutput) ToAuthBackendRoletagBlacklistOutputWi return o } -func (o AuthBackendRoletagBlacklistOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRoletagBlacklist] { - return pulumix.Output[*AuthBackendRoletagBlacklist]{ - OutputState: o.OutputState, - } -} - // The path the AWS auth backend being configured was // mounted at. func (o AuthBackendRoletagBlacklistOutput) Backend() pulumi.StringOutput { @@ -329,12 +304,6 @@ func (o AuthBackendRoletagBlacklistArrayOutput) ToAuthBackendRoletagBlacklistArr return o } -func (o AuthBackendRoletagBlacklistArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRoletagBlacklist] { - return pulumix.Output[[]*AuthBackendRoletagBlacklist]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoletagBlacklistArrayOutput) Index(i pulumi.IntInput) AuthBackendRoletagBlacklistOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRoletagBlacklist { return vs[0].([]*AuthBackendRoletagBlacklist)[vs[1].(int)] @@ -355,12 +324,6 @@ func (o AuthBackendRoletagBlacklistMapOutput) ToAuthBackendRoletagBlacklistMapOu return o } -func (o AuthBackendRoletagBlacklistMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRoletagBlacklist] { - return pulumix.Output[map[string]*AuthBackendRoletagBlacklist]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoletagBlacklistMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoletagBlacklistOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRoletagBlacklist { return vs[0].(map[string]*AuthBackendRoletagBlacklist)[vs[1].(string)] diff --git a/sdk/go/vault/aws/authBackendStsRole.go b/sdk/go/vault/aws/authBackendStsRole.go index a87ded211..074633c54 100644 --- a/sdk/go/vault/aws/authBackendStsRole.go +++ b/sdk/go/vault/aws/authBackendStsRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -202,12 +201,6 @@ func (i *AuthBackendStsRole) ToAuthBackendStsRoleOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(AuthBackendStsRoleOutput) } -func (i *AuthBackendStsRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendStsRole] { - return pulumix.Output[*AuthBackendStsRole]{ - OutputState: i.ToAuthBackendStsRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendStsRoleArrayInput is an input type that accepts AuthBackendStsRoleArray and AuthBackendStsRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendStsRoleArrayInput` via: // @@ -233,12 +226,6 @@ func (i AuthBackendStsRoleArray) ToAuthBackendStsRoleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(AuthBackendStsRoleArrayOutput) } -func (i AuthBackendStsRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendStsRole] { - return pulumix.Output[[]*AuthBackendStsRole]{ - OutputState: i.ToAuthBackendStsRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendStsRoleMapInput is an input type that accepts AuthBackendStsRoleMap and AuthBackendStsRoleMapOutput values. // You can construct a concrete instance of `AuthBackendStsRoleMapInput` via: // @@ -264,12 +251,6 @@ func (i AuthBackendStsRoleMap) ToAuthBackendStsRoleMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendStsRoleMapOutput) } -func (i AuthBackendStsRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendStsRole] { - return pulumix.Output[map[string]*AuthBackendStsRole]{ - OutputState: i.ToAuthBackendStsRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendStsRoleOutput struct{ *pulumi.OutputState } func (AuthBackendStsRoleOutput) ElementType() reflect.Type { @@ -284,12 +265,6 @@ func (o AuthBackendStsRoleOutput) ToAuthBackendStsRoleOutputWithContext(ctx cont return o } -func (o AuthBackendStsRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendStsRole] { - return pulumix.Output[*AuthBackendStsRole]{ - OutputState: o.OutputState, - } -} - // The AWS account ID to configure the STS role for. func (o AuthBackendStsRoleOutput) AccountId() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackendStsRole) pulumi.StringOutput { return v.AccountId }).(pulumi.StringOutput) @@ -329,12 +304,6 @@ func (o AuthBackendStsRoleArrayOutput) ToAuthBackendStsRoleArrayOutputWithContex return o } -func (o AuthBackendStsRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendStsRole] { - return pulumix.Output[[]*AuthBackendStsRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendStsRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendStsRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendStsRole { return vs[0].([]*AuthBackendStsRole)[vs[1].(int)] @@ -355,12 +324,6 @@ func (o AuthBackendStsRoleMapOutput) ToAuthBackendStsRoleMapOutputWithContext(ct return o } -func (o AuthBackendStsRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendStsRole] { - return pulumix.Output[map[string]*AuthBackendStsRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendStsRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendStsRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendStsRole { return vs[0].(map[string]*AuthBackendStsRole)[vs[1].(string)] diff --git a/sdk/go/vault/aws/getAccessCredentials.go b/sdk/go/vault/aws/getAccessCredentials.go index 4992dc082..51ff59d74 100644 --- a/sdk/go/vault/aws/getAccessCredentials.go +++ b/sdk/go/vault/aws/getAccessCredentials.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetAccessCredentials(ctx *pulumi.Context, args *GetAccessCredentialsArgs, opts ...pulumi.InvokeOption) (*GetAccessCredentialsResult, error) { @@ -141,12 +140,6 @@ func (o GetAccessCredentialsResultOutput) ToGetAccessCredentialsResultOutputWith return o } -func (o GetAccessCredentialsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAccessCredentialsResult] { - return pulumix.Output[GetAccessCredentialsResult]{ - OutputState: o.OutputState, - } -} - // The AWS Access Key ID returned by Vault. func (o GetAccessCredentialsResultOutput) AccessKey() pulumi.StringOutput { return o.ApplyT(func(v GetAccessCredentialsResult) string { return v.AccessKey }).(pulumi.StringOutput) diff --git a/sdk/go/vault/aws/getStaticAccessCredentials.go b/sdk/go/vault/aws/getStaticAccessCredentials.go index ac17f8639..c19d9079c 100644 --- a/sdk/go/vault/aws/getStaticAccessCredentials.go +++ b/sdk/go/vault/aws/getStaticAccessCredentials.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetStaticAccessCredentials(ctx *pulumi.Context, args *GetStaticAccessCredentialsArgs, opts ...pulumi.InvokeOption) (*GetStaticAccessCredentialsResult, error) { @@ -79,12 +78,6 @@ func (o GetStaticAccessCredentialsResultOutput) ToGetStaticAccessCredentialsResu return o } -func (o GetStaticAccessCredentialsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetStaticAccessCredentialsResult] { - return pulumix.Output[GetStaticAccessCredentialsResult]{ - OutputState: o.OutputState, - } -} - func (o GetStaticAccessCredentialsResultOutput) AccessKey() pulumi.StringOutput { return o.ApplyT(func(v GetStaticAccessCredentialsResult) string { return v.AccessKey }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/aws/secretBackend.go b/sdk/go/vault/aws/secretBackend.go index 149acd6eb..2f9654ac9 100644 --- a/sdk/go/vault/aws/secretBackend.go +++ b/sdk/go/vault/aws/secretBackend.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Import @@ -276,12 +275,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -307,12 +300,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -338,12 +325,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -358,12 +339,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // The AWS Access Key ID this backend should use to // issue new credentials. Vault uses the official AWS SDK to authenticate, and thus can also use standard AWS environment credentials, shared file credentials or IAM role/ECS task credentials. func (o SecretBackendOutput) AccessKey() pulumi.StringPtrOutput { @@ -451,12 +426,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -477,12 +446,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/aws/secretBackendRole.go b/sdk/go/vault/aws/secretBackendRole.go index 35667d00d..b1f3863e7 100644 --- a/sdk/go/vault/aws/secretBackendRole.go +++ b/sdk/go/vault/aws/secretBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -439,12 +438,6 @@ func (i *SecretBackendRole) ToSecretBackendRoleOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleOutput) } -func (i *SecretBackendRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleArrayInput is an input type that accepts SecretBackendRoleArray and SecretBackendRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleArrayInput` via: // @@ -470,12 +463,6 @@ func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleArrayOutput) } -func (i SecretBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleMapInput is an input type that accepts SecretBackendRoleMap and SecretBackendRoleMapOutput values. // You can construct a concrete instance of `SecretBackendRoleMapInput` via: // @@ -501,12 +488,6 @@ func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleMapOutput) } -func (i SecretBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleOutput struct{ *pulumi.OutputState } func (SecretBackendRoleOutput) ElementType() reflect.Type { @@ -521,12 +502,6 @@ func (o SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext(ctx contex return o } -func (o SecretBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - // The path the AWS secret backend is mounted at, // with no leading or trailing `/`s. func (o SecretBackendRoleOutput) Backend() pulumi.StringOutput { @@ -635,12 +610,6 @@ func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext( return o } -func (o SecretBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].([]*SecretBackendRole)[vs[1].(int)] @@ -661,12 +630,6 @@ func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext(ctx return o } -func (o SecretBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].(map[string]*SecretBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/aws/secretBackendStaticRole.go b/sdk/go/vault/aws/secretBackendStaticRole.go index 0ed2c9772..4e3d27d6f 100644 --- a/sdk/go/vault/aws/secretBackendStaticRole.go +++ b/sdk/go/vault/aws/secretBackendStaticRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -212,12 +211,6 @@ func (i *SecretBackendStaticRole) ToSecretBackendStaticRoleOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleOutput) } -func (i *SecretBackendStaticRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendStaticRole] { - return pulumix.Output[*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendStaticRoleArrayInput is an input type that accepts SecretBackendStaticRoleArray and SecretBackendStaticRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendStaticRoleArrayInput` via: // @@ -243,12 +236,6 @@ func (i SecretBackendStaticRoleArray) ToSecretBackendStaticRoleArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleArrayOutput) } -func (i SecretBackendStaticRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendStaticRole] { - return pulumix.Output[[]*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendStaticRoleMapInput is an input type that accepts SecretBackendStaticRoleMap and SecretBackendStaticRoleMapOutput values. // You can construct a concrete instance of `SecretBackendStaticRoleMapInput` via: // @@ -274,12 +261,6 @@ func (i SecretBackendStaticRoleMap) ToSecretBackendStaticRoleMapOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleMapOutput) } -func (i SecretBackendStaticRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendStaticRole] { - return pulumix.Output[map[string]*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendStaticRoleOutput struct{ *pulumi.OutputState } func (SecretBackendStaticRoleOutput) ElementType() reflect.Type { @@ -294,12 +275,6 @@ func (o SecretBackendStaticRoleOutput) ToSecretBackendStaticRoleOutputWithContex return o } -func (o SecretBackendStaticRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendStaticRole] { - return pulumix.Output[*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - // The unique path this backend should be mounted at. Must // not begin or end with a `/`. Defaults to `aws` func (o SecretBackendStaticRoleOutput) Backend() pulumi.StringPtrOutput { @@ -344,12 +319,6 @@ func (o SecretBackendStaticRoleArrayOutput) ToSecretBackendStaticRoleArrayOutput return o } -func (o SecretBackendStaticRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendStaticRole] { - return pulumix.Output[[]*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendStaticRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendStaticRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendStaticRole { return vs[0].([]*SecretBackendStaticRole)[vs[1].(int)] @@ -370,12 +339,6 @@ func (o SecretBackendStaticRoleMapOutput) ToSecretBackendStaticRoleMapOutputWith return o } -func (o SecretBackendStaticRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendStaticRole] { - return pulumix.Output[map[string]*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendStaticRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendStaticRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendStaticRole { return vs[0].(map[string]*SecretBackendStaticRole)[vs[1].(string)] diff --git a/sdk/go/vault/azure/authBackendConfig.go b/sdk/go/vault/azure/authBackendConfig.go index df9021e71..e700f1679 100644 --- a/sdk/go/vault/azure/authBackendConfig.go +++ b/sdk/go/vault/azure/authBackendConfig.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -274,12 +273,6 @@ func (i *AuthBackendConfig) ToAuthBackendConfigOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigOutput) } -func (i *AuthBackendConfig) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendConfig] { - return pulumix.Output[*AuthBackendConfig]{ - OutputState: i.ToAuthBackendConfigOutputWithContext(ctx).OutputState, - } -} - // AuthBackendConfigArrayInput is an input type that accepts AuthBackendConfigArray and AuthBackendConfigArrayOutput values. // You can construct a concrete instance of `AuthBackendConfigArrayInput` via: // @@ -305,12 +298,6 @@ func (i AuthBackendConfigArray) ToAuthBackendConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigArrayOutput) } -func (i AuthBackendConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendConfig] { - return pulumix.Output[[]*AuthBackendConfig]{ - OutputState: i.ToAuthBackendConfigArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendConfigMapInput is an input type that accepts AuthBackendConfigMap and AuthBackendConfigMapOutput values. // You can construct a concrete instance of `AuthBackendConfigMapInput` via: // @@ -336,12 +323,6 @@ func (i AuthBackendConfigMap) ToAuthBackendConfigMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigMapOutput) } -func (i AuthBackendConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendConfig] { - return pulumix.Output[map[string]*AuthBackendConfig]{ - OutputState: i.ToAuthBackendConfigMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendConfigOutput struct{ *pulumi.OutputState } func (AuthBackendConfigOutput) ElementType() reflect.Type { @@ -356,12 +337,6 @@ func (o AuthBackendConfigOutput) ToAuthBackendConfigOutputWithContext(ctx contex return o } -func (o AuthBackendConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendConfig] { - return pulumix.Output[*AuthBackendConfig]{ - OutputState: o.OutputState, - } -} - // The path the Azure auth backend being configured was // mounted at. Defaults to `azure`. func (o AuthBackendConfigOutput) Backend() pulumi.StringPtrOutput { @@ -421,12 +396,6 @@ func (o AuthBackendConfigArrayOutput) ToAuthBackendConfigArrayOutputWithContext( return o } -func (o AuthBackendConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendConfig] { - return pulumix.Output[[]*AuthBackendConfig]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendConfigArrayOutput) Index(i pulumi.IntInput) AuthBackendConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendConfig { return vs[0].([]*AuthBackendConfig)[vs[1].(int)] @@ -447,12 +416,6 @@ func (o AuthBackendConfigMapOutput) ToAuthBackendConfigMapOutputWithContext(ctx return o } -func (o AuthBackendConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendConfig] { - return pulumix.Output[map[string]*AuthBackendConfig]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendConfigMapOutput) MapIndex(k pulumi.StringInput) AuthBackendConfigOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendConfig { return vs[0].(map[string]*AuthBackendConfig)[vs[1].(string)] diff --git a/sdk/go/vault/azure/authBackendRole.go b/sdk/go/vault/azure/authBackendRole.go index 783e5effa..926bca30b 100644 --- a/sdk/go/vault/azure/authBackendRole.go +++ b/sdk/go/vault/azure/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an Azure auth backend role in a Vault server. Roles constrain the @@ -492,12 +491,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -523,12 +516,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -554,12 +541,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -574,12 +555,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - // Unique name of the auth backend to configure. func (o AuthBackendRoleOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v *AuthBackendRole) pulumi.StringPtrOutput { return v.Backend }).(pulumi.StringPtrOutput) @@ -716,12 +691,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -742,12 +711,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/azure/backend.go b/sdk/go/vault/azure/backend.go index 4d0202554..807b156db 100644 --- a/sdk/go/vault/azure/backend.go +++ b/sdk/go/vault/azure/backend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -303,12 +302,6 @@ func (i *Backend) ToBackendOutputWithContext(ctx context.Context) BackendOutput return pulumi.ToOutputWithContext(ctx, i).(BackendOutput) } -func (i *Backend) ToOutput(ctx context.Context) pulumix.Output[*Backend] { - return pulumix.Output[*Backend]{ - OutputState: i.ToBackendOutputWithContext(ctx).OutputState, - } -} - // BackendArrayInput is an input type that accepts BackendArray and BackendArrayOutput values. // You can construct a concrete instance of `BackendArrayInput` via: // @@ -334,12 +327,6 @@ func (i BackendArray) ToBackendArrayOutputWithContext(ctx context.Context) Backe return pulumi.ToOutputWithContext(ctx, i).(BackendArrayOutput) } -func (i BackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*Backend] { - return pulumix.Output[[]*Backend]{ - OutputState: i.ToBackendArrayOutputWithContext(ctx).OutputState, - } -} - // BackendMapInput is an input type that accepts BackendMap and BackendMapOutput values. // You can construct a concrete instance of `BackendMapInput` via: // @@ -365,12 +352,6 @@ func (i BackendMap) ToBackendMapOutputWithContext(ctx context.Context) BackendMa return pulumi.ToOutputWithContext(ctx, i).(BackendMapOutput) } -func (i BackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Backend] { - return pulumix.Output[map[string]*Backend]{ - OutputState: i.ToBackendMapOutputWithContext(ctx).OutputState, - } -} - type BackendOutput struct{ *pulumi.OutputState } func (BackendOutput) ElementType() reflect.Type { @@ -385,12 +366,6 @@ func (o BackendOutput) ToBackendOutputWithContext(ctx context.Context) BackendOu return o } -func (o BackendOutput) ToOutput(ctx context.Context) pulumix.Output[*Backend] { - return pulumix.Output[*Backend]{ - OutputState: o.OutputState, - } -} - // The OAuth2 client id to connect to Azure. func (o BackendOutput) ClientId() pulumi.StringPtrOutput { return o.ApplyT(func(v *Backend) pulumi.StringPtrOutput { return v.ClientId }).(pulumi.StringPtrOutput) @@ -461,12 +436,6 @@ func (o BackendArrayOutput) ToBackendArrayOutputWithContext(ctx context.Context) return o } -func (o BackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Backend] { - return pulumix.Output[[]*Backend]{ - OutputState: o.OutputState, - } -} - func (o BackendArrayOutput) Index(i pulumi.IntInput) BackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Backend { return vs[0].([]*Backend)[vs[1].(int)] @@ -487,12 +456,6 @@ func (o BackendMapOutput) ToBackendMapOutputWithContext(ctx context.Context) Bac return o } -func (o BackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Backend] { - return pulumix.Output[map[string]*Backend]{ - OutputState: o.OutputState, - } -} - func (o BackendMapOutput) MapIndex(k pulumi.StringInput) BackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Backend { return vs[0].(map[string]*Backend)[vs[1].(string)] diff --git a/sdk/go/vault/azure/backendRole.go b/sdk/go/vault/azure/backendRole.go index a4f58fd6c..65fad5583 100644 --- a/sdk/go/vault/azure/backendRole.go +++ b/sdk/go/vault/azure/backendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -280,12 +279,6 @@ func (i *BackendRole) ToBackendRoleOutputWithContext(ctx context.Context) Backen return pulumi.ToOutputWithContext(ctx, i).(BackendRoleOutput) } -func (i *BackendRole) ToOutput(ctx context.Context) pulumix.Output[*BackendRole] { - return pulumix.Output[*BackendRole]{ - OutputState: i.ToBackendRoleOutputWithContext(ctx).OutputState, - } -} - // BackendRoleArrayInput is an input type that accepts BackendRoleArray and BackendRoleArrayOutput values. // You can construct a concrete instance of `BackendRoleArrayInput` via: // @@ -311,12 +304,6 @@ func (i BackendRoleArray) ToBackendRoleArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(BackendRoleArrayOutput) } -func (i BackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackendRole] { - return pulumix.Output[[]*BackendRole]{ - OutputState: i.ToBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // BackendRoleMapInput is an input type that accepts BackendRoleMap and BackendRoleMapOutput values. // You can construct a concrete instance of `BackendRoleMapInput` via: // @@ -342,12 +329,6 @@ func (i BackendRoleMap) ToBackendRoleMapOutputWithContext(ctx context.Context) B return pulumi.ToOutputWithContext(ctx, i).(BackendRoleMapOutput) } -func (i BackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackendRole] { - return pulumix.Output[map[string]*BackendRole]{ - OutputState: i.ToBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type BackendRoleOutput struct{ *pulumi.OutputState } func (BackendRoleOutput) ElementType() reflect.Type { @@ -362,12 +343,6 @@ func (o BackendRoleOutput) ToBackendRoleOutputWithContext(ctx context.Context) B return o } -func (o BackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*BackendRole] { - return pulumix.Output[*BackendRole]{ - OutputState: o.OutputState, - } -} - // Application Object ID for an existing service principal that will // be used instead of creating dynamic service principals. If present, `azureRoles` and `permanentlyDelete` will be ignored. func (o BackendRoleOutput) ApplicationObjectId() pulumi.StringPtrOutput { @@ -439,12 +414,6 @@ func (o BackendRoleArrayOutput) ToBackendRoleArrayOutputWithContext(ctx context. return o } -func (o BackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackendRole] { - return pulumix.Output[[]*BackendRole]{ - OutputState: o.OutputState, - } -} - func (o BackendRoleArrayOutput) Index(i pulumi.IntInput) BackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *BackendRole { return vs[0].([]*BackendRole)[vs[1].(int)] @@ -465,12 +434,6 @@ func (o BackendRoleMapOutput) ToBackendRoleMapOutputWithContext(ctx context.Cont return o } -func (o BackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackendRole] { - return pulumix.Output[map[string]*BackendRole]{ - OutputState: o.OutputState, - } -} - func (o BackendRoleMapOutput) MapIndex(k pulumi.StringInput) BackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *BackendRole { return vs[0].(map[string]*BackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/azure/getAccessCredentials.go b/sdk/go/vault/azure/getAccessCredentials.go index 3083a416e..999406f69 100644 --- a/sdk/go/vault/azure/getAccessCredentials.go +++ b/sdk/go/vault/azure/getAccessCredentials.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -206,12 +205,6 @@ func (o GetAccessCredentialsResultOutput) ToGetAccessCredentialsResultOutputWith return o } -func (o GetAccessCredentialsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAccessCredentialsResult] { - return pulumix.Output[GetAccessCredentialsResult]{ - OutputState: o.OutputState, - } -} - func (o GetAccessCredentialsResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetAccessCredentialsResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/azure/pulumiTypes.go b/sdk/go/vault/azure/pulumiTypes.go index 32c11341a..321814ff9 100644 --- a/sdk/go/vault/azure/pulumiTypes.go +++ b/sdk/go/vault/azure/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -47,12 +46,6 @@ func (i BackendRoleAzureGroupArgs) ToBackendRoleAzureGroupOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(BackendRoleAzureGroupOutput) } -func (i BackendRoleAzureGroupArgs) ToOutput(ctx context.Context) pulumix.Output[BackendRoleAzureGroup] { - return pulumix.Output[BackendRoleAzureGroup]{ - OutputState: i.ToBackendRoleAzureGroupOutputWithContext(ctx).OutputState, - } -} - // BackendRoleAzureGroupArrayInput is an input type that accepts BackendRoleAzureGroupArray and BackendRoleAzureGroupArrayOutput values. // You can construct a concrete instance of `BackendRoleAzureGroupArrayInput` via: // @@ -78,12 +71,6 @@ func (i BackendRoleAzureGroupArray) ToBackendRoleAzureGroupArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(BackendRoleAzureGroupArrayOutput) } -func (i BackendRoleAzureGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendRoleAzureGroup] { - return pulumix.Output[[]BackendRoleAzureGroup]{ - OutputState: i.ToBackendRoleAzureGroupArrayOutputWithContext(ctx).OutputState, - } -} - type BackendRoleAzureGroupOutput struct{ *pulumi.OutputState } func (BackendRoleAzureGroupOutput) ElementType() reflect.Type { @@ -98,12 +85,6 @@ func (o BackendRoleAzureGroupOutput) ToBackendRoleAzureGroupOutputWithContext(ct return o } -func (o BackendRoleAzureGroupOutput) ToOutput(ctx context.Context) pulumix.Output[BackendRoleAzureGroup] { - return pulumix.Output[BackendRoleAzureGroup]{ - OutputState: o.OutputState, - } -} - func (o BackendRoleAzureGroupOutput) GroupName() pulumi.StringOutput { return o.ApplyT(func(v BackendRoleAzureGroup) string { return v.GroupName }).(pulumi.StringOutput) } @@ -126,12 +107,6 @@ func (o BackendRoleAzureGroupArrayOutput) ToBackendRoleAzureGroupArrayOutputWith return o } -func (o BackendRoleAzureGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendRoleAzureGroup] { - return pulumix.Output[[]BackendRoleAzureGroup]{ - OutputState: o.OutputState, - } -} - func (o BackendRoleAzureGroupArrayOutput) Index(i pulumi.IntInput) BackendRoleAzureGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendRoleAzureGroup { return vs[0].([]BackendRoleAzureGroup)[vs[1].(int)] @@ -173,12 +148,6 @@ func (i BackendRoleAzureRoleArgs) ToBackendRoleAzureRoleOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(BackendRoleAzureRoleOutput) } -func (i BackendRoleAzureRoleArgs) ToOutput(ctx context.Context) pulumix.Output[BackendRoleAzureRole] { - return pulumix.Output[BackendRoleAzureRole]{ - OutputState: i.ToBackendRoleAzureRoleOutputWithContext(ctx).OutputState, - } -} - // BackendRoleAzureRoleArrayInput is an input type that accepts BackendRoleAzureRoleArray and BackendRoleAzureRoleArrayOutput values. // You can construct a concrete instance of `BackendRoleAzureRoleArrayInput` via: // @@ -204,12 +173,6 @@ func (i BackendRoleAzureRoleArray) ToBackendRoleAzureRoleArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(BackendRoleAzureRoleArrayOutput) } -func (i BackendRoleAzureRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]BackendRoleAzureRole] { - return pulumix.Output[[]BackendRoleAzureRole]{ - OutputState: i.ToBackendRoleAzureRoleArrayOutputWithContext(ctx).OutputState, - } -} - type BackendRoleAzureRoleOutput struct{ *pulumi.OutputState } func (BackendRoleAzureRoleOutput) ElementType() reflect.Type { @@ -224,12 +187,6 @@ func (o BackendRoleAzureRoleOutput) ToBackendRoleAzureRoleOutputWithContext(ctx return o } -func (o BackendRoleAzureRoleOutput) ToOutput(ctx context.Context) pulumix.Output[BackendRoleAzureRole] { - return pulumix.Output[BackendRoleAzureRole]{ - OutputState: o.OutputState, - } -} - func (o BackendRoleAzureRoleOutput) RoleId() pulumi.StringPtrOutput { return o.ApplyT(func(v BackendRoleAzureRole) *string { return v.RoleId }).(pulumi.StringPtrOutput) } @@ -256,12 +213,6 @@ func (o BackendRoleAzureRoleArrayOutput) ToBackendRoleAzureRoleArrayOutputWithCo return o } -func (o BackendRoleAzureRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackendRoleAzureRole] { - return pulumix.Output[[]BackendRoleAzureRole]{ - OutputState: o.OutputState, - } -} - func (o BackendRoleAzureRoleArrayOutput) Index(i pulumi.IntInput) BackendRoleAzureRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) BackendRoleAzureRole { return vs[0].([]BackendRoleAzureRole)[vs[1].(int)] diff --git a/sdk/go/vault/certAuthBackendRole.go b/sdk/go/vault/certAuthBackendRole.go index cb78cf128..48df7704d 100644 --- a/sdk/go/vault/certAuthBackendRole.go +++ b/sdk/go/vault/certAuthBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to create a role in an [Cert auth backend within Vault](https://www.vaultproject.io/docs/auth/cert.html). @@ -594,12 +593,6 @@ func (i *CertAuthBackendRole) ToCertAuthBackendRoleOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(CertAuthBackendRoleOutput) } -func (i *CertAuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*CertAuthBackendRole] { - return pulumix.Output[*CertAuthBackendRole]{ - OutputState: i.ToCertAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // CertAuthBackendRoleArrayInput is an input type that accepts CertAuthBackendRoleArray and CertAuthBackendRoleArrayOutput values. // You can construct a concrete instance of `CertAuthBackendRoleArrayInput` via: // @@ -625,12 +618,6 @@ func (i CertAuthBackendRoleArray) ToCertAuthBackendRoleArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(CertAuthBackendRoleArrayOutput) } -func (i CertAuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*CertAuthBackendRole] { - return pulumix.Output[[]*CertAuthBackendRole]{ - OutputState: i.ToCertAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // CertAuthBackendRoleMapInput is an input type that accepts CertAuthBackendRoleMap and CertAuthBackendRoleMapOutput values. // You can construct a concrete instance of `CertAuthBackendRoleMapInput` via: // @@ -656,12 +643,6 @@ func (i CertAuthBackendRoleMap) ToCertAuthBackendRoleMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(CertAuthBackendRoleMapOutput) } -func (i CertAuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*CertAuthBackendRole] { - return pulumix.Output[map[string]*CertAuthBackendRole]{ - OutputState: i.ToCertAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type CertAuthBackendRoleOutput struct{ *pulumi.OutputState } func (CertAuthBackendRoleOutput) ElementType() reflect.Type { @@ -676,12 +657,6 @@ func (o CertAuthBackendRoleOutput) ToCertAuthBackendRoleOutputWithContext(ctx co return o } -func (o CertAuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*CertAuthBackendRole] { - return pulumix.Output[*CertAuthBackendRole]{ - OutputState: o.OutputState, - } -} - // Allowed the common names for authenticated client certificates func (o CertAuthBackendRoleOutput) AllowedCommonNames() pulumi.StringArrayOutput { return o.ApplyT(func(v *CertAuthBackendRole) pulumi.StringArrayOutput { return v.AllowedCommonNames }).(pulumi.StringArrayOutput) @@ -867,12 +842,6 @@ func (o CertAuthBackendRoleArrayOutput) ToCertAuthBackendRoleArrayOutputWithCont return o } -func (o CertAuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*CertAuthBackendRole] { - return pulumix.Output[[]*CertAuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o CertAuthBackendRoleArrayOutput) Index(i pulumi.IntInput) CertAuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *CertAuthBackendRole { return vs[0].([]*CertAuthBackendRole)[vs[1].(int)] @@ -893,12 +862,6 @@ func (o CertAuthBackendRoleMapOutput) ToCertAuthBackendRoleMapOutputWithContext( return o } -func (o CertAuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*CertAuthBackendRole] { - return pulumix.Output[map[string]*CertAuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o CertAuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) CertAuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *CertAuthBackendRole { return vs[0].(map[string]*CertAuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/config/pulumiTypes.go b/sdk/go/vault/config/pulumiTypes.go index 2cba704c3..1c632a3ff 100644 --- a/sdk/go/vault/config/pulumiTypes.go +++ b/sdk/go/vault/config/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -53,12 +52,6 @@ func (i AuthLoginArgs) ToAuthLoginOutputWithContext(ctx context.Context) AuthLog return pulumi.ToOutputWithContext(ctx, i).(AuthLoginOutput) } -func (i AuthLoginArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLogin] { - return pulumix.Output[AuthLogin]{ - OutputState: i.ToAuthLoginOutputWithContext(ctx).OutputState, - } -} - type AuthLoginOutput struct{ *pulumi.OutputState } func (AuthLoginOutput) ElementType() reflect.Type { @@ -73,12 +66,6 @@ func (o AuthLoginOutput) ToAuthLoginOutputWithContext(ctx context.Context) AuthL return o } -func (o AuthLoginOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLogin] { - return pulumix.Output[AuthLogin]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginOutput) Method() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthLogin) *string { return v.Method }).(pulumi.StringPtrOutput) } @@ -160,12 +147,6 @@ func (i AuthLoginAwsArgs) ToAuthLoginAwsOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthLoginAwsOutput) } -func (i AuthLoginAwsArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginAws] { - return pulumix.Output[AuthLoginAws]{ - OutputState: i.ToAuthLoginAwsOutputWithContext(ctx).OutputState, - } -} - type AuthLoginAwsOutput struct{ *pulumi.OutputState } func (AuthLoginAwsOutput) ElementType() reflect.Type { @@ -180,12 +161,6 @@ func (o AuthLoginAwsOutput) ToAuthLoginAwsOutputWithContext(ctx context.Context) return o } -func (o AuthLoginAwsOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginAws] { - return pulumix.Output[AuthLoginAws]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginAwsOutput) AwsAccessKeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthLoginAws) *string { return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } @@ -303,12 +278,6 @@ func (i AuthLoginAzureArgs) ToAuthLoginAzureOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthLoginAzureOutput) } -func (i AuthLoginAzureArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginAzure] { - return pulumix.Output[AuthLoginAzure]{ - OutputState: i.ToAuthLoginAzureOutputWithContext(ctx).OutputState, - } -} - type AuthLoginAzureOutput struct{ *pulumi.OutputState } func (AuthLoginAzureOutput) ElementType() reflect.Type { @@ -323,12 +292,6 @@ func (o AuthLoginAzureOutput) ToAuthLoginAzureOutputWithContext(ctx context.Cont return o } -func (o AuthLoginAzureOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginAzure] { - return pulumix.Output[AuthLoginAzure]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginAzureOutput) ClientId() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthLoginAzure) *string { return v.ClientId }).(pulumi.StringPtrOutput) } @@ -418,12 +381,6 @@ func (i AuthLoginCertArgs) ToAuthLoginCertOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AuthLoginCertOutput) } -func (i AuthLoginCertArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginCert] { - return pulumix.Output[AuthLoginCert]{ - OutputState: i.ToAuthLoginCertOutputWithContext(ctx).OutputState, - } -} - type AuthLoginCertOutput struct{ *pulumi.OutputState } func (AuthLoginCertOutput) ElementType() reflect.Type { @@ -438,12 +395,6 @@ func (o AuthLoginCertOutput) ToAuthLoginCertOutputWithContext(ctx context.Contex return o } -func (o AuthLoginCertOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginCert] { - return pulumix.Output[AuthLoginCert]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginCertOutput) CertFile() pulumi.StringOutput { return o.ApplyT(func(v AuthLoginCert) string { return v.CertFile }).(pulumi.StringOutput) } @@ -511,12 +462,6 @@ func (i AuthLoginGcpArgs) ToAuthLoginGcpOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthLoginGcpOutput) } -func (i AuthLoginGcpArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginGcp] { - return pulumix.Output[AuthLoginGcp]{ - OutputState: i.ToAuthLoginGcpOutputWithContext(ctx).OutputState, - } -} - type AuthLoginGcpOutput struct{ *pulumi.OutputState } func (AuthLoginGcpOutput) ElementType() reflect.Type { @@ -531,12 +476,6 @@ func (o AuthLoginGcpOutput) ToAuthLoginGcpOutputWithContext(ctx context.Context) return o } -func (o AuthLoginGcpOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginGcp] { - return pulumix.Output[AuthLoginGcp]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginGcpOutput) Credentials() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthLoginGcp) *string { return v.Credentials }).(pulumi.StringPtrOutput) } @@ -604,12 +543,6 @@ func (i AuthLoginJwtArgs) ToAuthLoginJwtOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthLoginJwtOutput) } -func (i AuthLoginJwtArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginJwt] { - return pulumix.Output[AuthLoginJwt]{ - OutputState: i.ToAuthLoginJwtOutputWithContext(ctx).OutputState, - } -} - type AuthLoginJwtOutput struct{ *pulumi.OutputState } func (AuthLoginJwtOutput) ElementType() reflect.Type { @@ -624,12 +557,6 @@ func (o AuthLoginJwtOutput) ToAuthLoginJwtOutputWithContext(ctx context.Context) return o } -func (o AuthLoginJwtOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginJwt] { - return pulumix.Output[AuthLoginJwt]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginJwtOutput) Jwt() pulumi.StringOutput { return o.ApplyT(func(v AuthLoginJwt) string { return v.Jwt }).(pulumi.StringOutput) } @@ -701,12 +628,6 @@ func (i AuthLoginKerberosArgs) ToAuthLoginKerberosOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuthLoginKerberosOutput) } -func (i AuthLoginKerberosArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginKerberos] { - return pulumix.Output[AuthLoginKerberos]{ - OutputState: i.ToAuthLoginKerberosOutputWithContext(ctx).OutputState, - } -} - type AuthLoginKerberosOutput struct{ *pulumi.OutputState } func (AuthLoginKerberosOutput) ElementType() reflect.Type { @@ -721,12 +642,6 @@ func (o AuthLoginKerberosOutput) ToAuthLoginKerberosOutputWithContext(ctx contex return o } -func (o AuthLoginKerberosOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginKerberos] { - return pulumix.Output[AuthLoginKerberos]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginKerberosOutput) DisableFastNegotiation() pulumi.BoolPtrOutput { return o.ApplyT(func(v AuthLoginKerberos) *bool { return v.DisableFastNegotiation }).(pulumi.BoolPtrOutput) } @@ -810,12 +725,6 @@ func (i AuthLoginOciArgs) ToAuthLoginOciOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthLoginOciOutput) } -func (i AuthLoginOciArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginOci] { - return pulumix.Output[AuthLoginOci]{ - OutputState: i.ToAuthLoginOciOutputWithContext(ctx).OutputState, - } -} - type AuthLoginOciOutput struct{ *pulumi.OutputState } func (AuthLoginOciOutput) ElementType() reflect.Type { @@ -830,12 +739,6 @@ func (o AuthLoginOciOutput) ToAuthLoginOciOutputWithContext(ctx context.Context) return o } -func (o AuthLoginOciOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginOci] { - return pulumix.Output[AuthLoginOci]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginOciOutput) AuthType() pulumi.StringOutput { return o.ApplyT(func(v AuthLoginOci) string { return v.AuthType }).(pulumi.StringOutput) } @@ -897,12 +800,6 @@ func (i AuthLoginOidcArgs) ToAuthLoginOidcOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(AuthLoginOidcOutput) } -func (i AuthLoginOidcArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginOidc] { - return pulumix.Output[AuthLoginOidc]{ - OutputState: i.ToAuthLoginOidcOutputWithContext(ctx).OutputState, - } -} - type AuthLoginOidcOutput struct{ *pulumi.OutputState } func (AuthLoginOidcOutput) ElementType() reflect.Type { @@ -917,12 +814,6 @@ func (o AuthLoginOidcOutput) ToAuthLoginOidcOutputWithContext(ctx context.Contex return o } -func (o AuthLoginOidcOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginOidc] { - return pulumix.Output[AuthLoginOidc]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginOidcOutput) CallbackAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthLoginOidc) *string { return v.CallbackAddress }).(pulumi.StringPtrOutput) } @@ -986,12 +877,6 @@ func (i AuthLoginRadiusArgs) ToAuthLoginRadiusOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AuthLoginRadiusOutput) } -func (i AuthLoginRadiusArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginRadius] { - return pulumix.Output[AuthLoginRadius]{ - OutputState: i.ToAuthLoginRadiusOutputWithContext(ctx).OutputState, - } -} - type AuthLoginRadiusOutput struct{ *pulumi.OutputState } func (AuthLoginRadiusOutput) ElementType() reflect.Type { @@ -1006,12 +891,6 @@ func (o AuthLoginRadiusOutput) ToAuthLoginRadiusOutputWithContext(ctx context.Co return o } -func (o AuthLoginRadiusOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginRadius] { - return pulumix.Output[AuthLoginRadius]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginRadiusOutput) Mount() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthLoginRadius) *string { return v.Mount }).(pulumi.StringPtrOutput) } @@ -1067,12 +946,6 @@ func (i AuthLoginTokenFileArgs) ToAuthLoginTokenFileOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthLoginTokenFileOutput) } -func (i AuthLoginTokenFileArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginTokenFile] { - return pulumix.Output[AuthLoginTokenFile]{ - OutputState: i.ToAuthLoginTokenFileOutputWithContext(ctx).OutputState, - } -} - type AuthLoginTokenFileOutput struct{ *pulumi.OutputState } func (AuthLoginTokenFileOutput) ElementType() reflect.Type { @@ -1087,12 +960,6 @@ func (o AuthLoginTokenFileOutput) ToAuthLoginTokenFileOutputWithContext(ctx cont return o } -func (o AuthLoginTokenFileOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginTokenFile] { - return pulumix.Output[AuthLoginTokenFile]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginTokenFileOutput) Filename() pulumi.StringOutput { return o.ApplyT(func(v AuthLoginTokenFile) string { return v.Filename }).(pulumi.StringOutput) } @@ -1146,12 +1013,6 @@ func (i AuthLoginUserpassArgs) ToAuthLoginUserpassOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuthLoginUserpassOutput) } -func (i AuthLoginUserpassArgs) ToOutput(ctx context.Context) pulumix.Output[AuthLoginUserpass] { - return pulumix.Output[AuthLoginUserpass]{ - OutputState: i.ToAuthLoginUserpassOutputWithContext(ctx).OutputState, - } -} - type AuthLoginUserpassOutput struct{ *pulumi.OutputState } func (AuthLoginUserpassOutput) ElementType() reflect.Type { @@ -1166,12 +1027,6 @@ func (o AuthLoginUserpassOutput) ToAuthLoginUserpassOutputWithContext(ctx contex return o } -func (o AuthLoginUserpassOutput) ToOutput(ctx context.Context) pulumix.Output[AuthLoginUserpass] { - return pulumix.Output[AuthLoginUserpass]{ - OutputState: o.OutputState, - } -} - func (o AuthLoginUserpassOutput) Mount() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthLoginUserpass) *string { return v.Mount }).(pulumi.StringPtrOutput) } @@ -1229,12 +1084,6 @@ func (i ClientAuthArgs) ToClientAuthOutputWithContext(ctx context.Context) Clien return pulumi.ToOutputWithContext(ctx, i).(ClientAuthOutput) } -func (i ClientAuthArgs) ToOutput(ctx context.Context) pulumix.Output[ClientAuth] { - return pulumix.Output[ClientAuth]{ - OutputState: i.ToClientAuthOutputWithContext(ctx).OutputState, - } -} - type ClientAuthOutput struct{ *pulumi.OutputState } func (ClientAuthOutput) ElementType() reflect.Type { @@ -1249,12 +1098,6 @@ func (o ClientAuthOutput) ToClientAuthOutputWithContext(ctx context.Context) Cli return o } -func (o ClientAuthOutput) ToOutput(ctx context.Context) pulumix.Output[ClientAuth] { - return pulumix.Output[ClientAuth]{ - OutputState: o.OutputState, - } -} - func (o ClientAuthOutput) CertFile() pulumi.StringOutput { return o.ApplyT(func(v ClientAuth) string { return v.CertFile }).(pulumi.StringOutput) } @@ -1296,12 +1139,6 @@ func (i HeadersArgs) ToHeadersOutputWithContext(ctx context.Context) HeadersOutp return pulumi.ToOutputWithContext(ctx, i).(HeadersOutput) } -func (i HeadersArgs) ToOutput(ctx context.Context) pulumix.Output[Headers] { - return pulumix.Output[Headers]{ - OutputState: i.ToHeadersOutputWithContext(ctx).OutputState, - } -} - // HeadersArrayInput is an input type that accepts HeadersArray and HeadersArrayOutput values. // You can construct a concrete instance of `HeadersArrayInput` via: // @@ -1327,12 +1164,6 @@ func (i HeadersArray) ToHeadersArrayOutputWithContext(ctx context.Context) Heade return pulumi.ToOutputWithContext(ctx, i).(HeadersArrayOutput) } -func (i HeadersArray) ToOutput(ctx context.Context) pulumix.Output[[]Headers] { - return pulumix.Output[[]Headers]{ - OutputState: i.ToHeadersArrayOutputWithContext(ctx).OutputState, - } -} - type HeadersOutput struct{ *pulumi.OutputState } func (HeadersOutput) ElementType() reflect.Type { @@ -1347,12 +1178,6 @@ func (o HeadersOutput) ToHeadersOutputWithContext(ctx context.Context) HeadersOu return o } -func (o HeadersOutput) ToOutput(ctx context.Context) pulumix.Output[Headers] { - return pulumix.Output[Headers]{ - OutputState: o.OutputState, - } -} - func (o HeadersOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v Headers) string { return v.Name }).(pulumi.StringOutput) } @@ -1375,12 +1200,6 @@ func (o HeadersArrayOutput) ToHeadersArrayOutputWithContext(ctx context.Context) return o } -func (o HeadersArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]Headers] { - return pulumix.Output[[]Headers]{ - OutputState: o.OutputState, - } -} - func (o HeadersArrayOutput) Index(i pulumi.IntInput) HeadersOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) Headers { return vs[0].([]Headers)[vs[1].(int)] diff --git a/sdk/go/vault/consul/secretBackend.go b/sdk/go/vault/consul/secretBackend.go index 38ac3fa83..4d55e12b5 100644 --- a/sdk/go/vault/consul/secretBackend.go +++ b/sdk/go/vault/consul/secretBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -370,12 +369,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -401,12 +394,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -432,12 +419,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -452,12 +433,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // Specifies the address of the Consul instance, provided as "host:port" like "127.0.0.1:8500". func (o SecretBackendOutput) Address() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackend) pulumi.StringOutput { return v.Address }).(pulumi.StringOutput) @@ -554,12 +529,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -580,12 +549,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/consul/secretBackendRole.go b/sdk/go/vault/consul/secretBackendRole.go index eefc2fba8..f1fdd4725 100644 --- a/sdk/go/vault/consul/secretBackendRole.go +++ b/sdk/go/vault/consul/secretBackendRole.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages a Consul secrets role for a Consul secrets engine in Vault. Consul secret backends can then issue Consul tokens. @@ -345,12 +344,6 @@ func (i *SecretBackendRole) ToSecretBackendRoleOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleOutput) } -func (i *SecretBackendRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleArrayInput is an input type that accepts SecretBackendRoleArray and SecretBackendRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleArrayInput` via: // @@ -376,12 +369,6 @@ func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleArrayOutput) } -func (i SecretBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleMapInput is an input type that accepts SecretBackendRoleMap and SecretBackendRoleMapOutput values. // You can construct a concrete instance of `SecretBackendRoleMapInput` via: // @@ -407,12 +394,6 @@ func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleMapOutput) } -func (i SecretBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleOutput struct{ *pulumi.OutputState } func (SecretBackendRoleOutput) ElementType() reflect.Type { @@ -427,12 +408,6 @@ func (o SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext(ctx contex return o } -func (o SecretBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - // The unique name of an existing Consul secrets backend mount. Must not begin or end with a `/`. One of `path` or `backend` is required. func (o SecretBackendRoleOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v *SecretBackendRole) pulumi.StringPtrOutput { return v.Backend }).(pulumi.StringPtrOutput) @@ -530,12 +505,6 @@ func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext( return o } -func (o SecretBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].([]*SecretBackendRole)[vs[1].(int)] @@ -556,12 +525,6 @@ func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext(ctx return o } -func (o SecretBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].(map[string]*SecretBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/database/pulumiTypes.go b/sdk/go/vault/database/pulumiTypes.go index 37fb75fa8..7f256b9e0 100644 --- a/sdk/go/vault/database/pulumiTypes.go +++ b/sdk/go/vault/database/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -91,12 +90,6 @@ func (i SecretBackendConnectionCassandraArgs) ToSecretBackendConnectionCassandra return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionCassandraOutput) } -func (i SecretBackendConnectionCassandraArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionCassandra] { - return pulumix.Output[SecretBackendConnectionCassandra]{ - OutputState: i.ToSecretBackendConnectionCassandraOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionCassandraArgs) ToSecretBackendConnectionCassandraPtrOutput() SecretBackendConnectionCassandraPtrOutput { return i.ToSecretBackendConnectionCassandraPtrOutputWithContext(context.Background()) } @@ -138,12 +131,6 @@ func (i *secretBackendConnectionCassandraPtrType) ToSecretBackendConnectionCassa return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionCassandraPtrOutput) } -func (i *secretBackendConnectionCassandraPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionCassandra] { - return pulumix.Output[*SecretBackendConnectionCassandra]{ - OutputState: i.ToSecretBackendConnectionCassandraPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionCassandraOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionCassandraOutput) ElementType() reflect.Type { @@ -168,12 +155,6 @@ func (o SecretBackendConnectionCassandraOutput) ToSecretBackendConnectionCassand }).(SecretBackendConnectionCassandraPtrOutput) } -func (o SecretBackendConnectionCassandraOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionCassandra] { - return pulumix.Output[SecretBackendConnectionCassandra]{ - OutputState: o.OutputState, - } -} - // The number of seconds to use as a connection // timeout. func (o SecretBackendConnectionCassandraOutput) ConnectTimeout() pulumi.IntPtrOutput { @@ -242,12 +223,6 @@ func (o SecretBackendConnectionCassandraPtrOutput) ToSecretBackendConnectionCass return o } -func (o SecretBackendConnectionCassandraPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionCassandra] { - return pulumix.Output[*SecretBackendConnectionCassandra]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionCassandraPtrOutput) Elem() SecretBackendConnectionCassandraOutput { return o.ApplyT(func(v *SecretBackendConnectionCassandra) SecretBackendConnectionCassandra { if v != nil { @@ -425,12 +400,6 @@ func (i SecretBackendConnectionCouchbaseArgs) ToSecretBackendConnectionCouchbase return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionCouchbaseOutput) } -func (i SecretBackendConnectionCouchbaseArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionCouchbase] { - return pulumix.Output[SecretBackendConnectionCouchbase]{ - OutputState: i.ToSecretBackendConnectionCouchbaseOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionCouchbaseArgs) ToSecretBackendConnectionCouchbasePtrOutput() SecretBackendConnectionCouchbasePtrOutput { return i.ToSecretBackendConnectionCouchbasePtrOutputWithContext(context.Background()) } @@ -472,12 +441,6 @@ func (i *secretBackendConnectionCouchbasePtrType) ToSecretBackendConnectionCouch return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionCouchbasePtrOutput) } -func (i *secretBackendConnectionCouchbasePtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionCouchbase] { - return pulumix.Output[*SecretBackendConnectionCouchbase]{ - OutputState: i.ToSecretBackendConnectionCouchbasePtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionCouchbaseOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionCouchbaseOutput) ElementType() reflect.Type { @@ -502,12 +465,6 @@ func (o SecretBackendConnectionCouchbaseOutput) ToSecretBackendConnectionCouchba }).(SecretBackendConnectionCouchbasePtrOutput) } -func (o SecretBackendConnectionCouchbaseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionCouchbase] { - return pulumix.Output[SecretBackendConnectionCouchbase]{ - OutputState: o.OutputState, - } -} - // Required if `tls` is `true`. Specifies the certificate authority of the Couchbase server, as a PEM certificate that has been base64 encoded. func (o SecretBackendConnectionCouchbaseOutput) Base64Pem() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretBackendConnectionCouchbase) *string { return v.Base64Pem }).(pulumi.StringPtrOutput) @@ -563,12 +520,6 @@ func (o SecretBackendConnectionCouchbasePtrOutput) ToSecretBackendConnectionCouc return o } -func (o SecretBackendConnectionCouchbasePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionCouchbase] { - return pulumix.Output[*SecretBackendConnectionCouchbase]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionCouchbasePtrOutput) Elem() SecretBackendConnectionCouchbaseOutput { return o.ApplyT(func(v *SecretBackendConnectionCouchbase) SecretBackendConnectionCouchbase { if v != nil { @@ -731,12 +682,6 @@ func (i SecretBackendConnectionElasticsearchArgs) ToSecretBackendConnectionElast return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionElasticsearchOutput) } -func (i SecretBackendConnectionElasticsearchArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionElasticsearch] { - return pulumix.Output[SecretBackendConnectionElasticsearch]{ - OutputState: i.ToSecretBackendConnectionElasticsearchOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionElasticsearchArgs) ToSecretBackendConnectionElasticsearchPtrOutput() SecretBackendConnectionElasticsearchPtrOutput { return i.ToSecretBackendConnectionElasticsearchPtrOutputWithContext(context.Background()) } @@ -778,12 +723,6 @@ func (i *secretBackendConnectionElasticsearchPtrType) ToSecretBackendConnectionE return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionElasticsearchPtrOutput) } -func (i *secretBackendConnectionElasticsearchPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionElasticsearch] { - return pulumix.Output[*SecretBackendConnectionElasticsearch]{ - OutputState: i.ToSecretBackendConnectionElasticsearchPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionElasticsearchOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionElasticsearchOutput) ElementType() reflect.Type { @@ -808,12 +747,6 @@ func (o SecretBackendConnectionElasticsearchOutput) ToSecretBackendConnectionEla }).(SecretBackendConnectionElasticsearchPtrOutput) } -func (o SecretBackendConnectionElasticsearchOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionElasticsearch] { - return pulumix.Output[SecretBackendConnectionElasticsearch]{ - OutputState: o.OutputState, - } -} - // The path to a PEM-encoded CA cert file to use to verify the Elasticsearch server's identity. func (o SecretBackendConnectionElasticsearchOutput) CaCert() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretBackendConnectionElasticsearch) *string { return v.CaCert }).(pulumi.StringPtrOutput) @@ -879,12 +812,6 @@ func (o SecretBackendConnectionElasticsearchPtrOutput) ToSecretBackendConnection return o } -func (o SecretBackendConnectionElasticsearchPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionElasticsearch] { - return pulumix.Output[*SecretBackendConnectionElasticsearch]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionElasticsearchPtrOutput) Elem() SecretBackendConnectionElasticsearchOutput { return o.ApplyT(func(v *SecretBackendConnectionElasticsearch) SecretBackendConnectionElasticsearch { if v != nil { @@ -1065,12 +992,6 @@ func (i SecretBackendConnectionHanaArgs) ToSecretBackendConnectionHanaOutputWith return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionHanaOutput) } -func (i SecretBackendConnectionHanaArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionHana] { - return pulumix.Output[SecretBackendConnectionHana]{ - OutputState: i.ToSecretBackendConnectionHanaOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionHanaArgs) ToSecretBackendConnectionHanaPtrOutput() SecretBackendConnectionHanaPtrOutput { return i.ToSecretBackendConnectionHanaPtrOutputWithContext(context.Background()) } @@ -1112,12 +1033,6 @@ func (i *secretBackendConnectionHanaPtrType) ToSecretBackendConnectionHanaPtrOut return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionHanaPtrOutput) } -func (i *secretBackendConnectionHanaPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionHana] { - return pulumix.Output[*SecretBackendConnectionHana]{ - OutputState: i.ToSecretBackendConnectionHanaPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionHanaOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionHanaOutput) ElementType() reflect.Type { @@ -1142,12 +1057,6 @@ func (o SecretBackendConnectionHanaOutput) ToSecretBackendConnectionHanaPtrOutpu }).(SecretBackendConnectionHanaPtrOutput) } -func (o SecretBackendConnectionHanaOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionHana] { - return pulumix.Output[SecretBackendConnectionHana]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -1203,12 +1112,6 @@ func (o SecretBackendConnectionHanaPtrOutput) ToSecretBackendConnectionHanaPtrOu return o } -func (o SecretBackendConnectionHanaPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionHana] { - return pulumix.Output[*SecretBackendConnectionHana]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionHanaPtrOutput) Elem() SecretBackendConnectionHanaOutput { return o.ApplyT(func(v *SecretBackendConnectionHana) SecretBackendConnectionHana { if v != nil { @@ -1372,12 +1275,6 @@ func (i SecretBackendConnectionInfluxdbArgs) ToSecretBackendConnectionInfluxdbOu return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionInfluxdbOutput) } -func (i SecretBackendConnectionInfluxdbArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionInfluxdb] { - return pulumix.Output[SecretBackendConnectionInfluxdb]{ - OutputState: i.ToSecretBackendConnectionInfluxdbOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionInfluxdbArgs) ToSecretBackendConnectionInfluxdbPtrOutput() SecretBackendConnectionInfluxdbPtrOutput { return i.ToSecretBackendConnectionInfluxdbPtrOutputWithContext(context.Background()) } @@ -1419,12 +1316,6 @@ func (i *secretBackendConnectionInfluxdbPtrType) ToSecretBackendConnectionInflux return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionInfluxdbPtrOutput) } -func (i *secretBackendConnectionInfluxdbPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionInfluxdb] { - return pulumix.Output[*SecretBackendConnectionInfluxdb]{ - OutputState: i.ToSecretBackendConnectionInfluxdbPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionInfluxdbOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionInfluxdbOutput) ElementType() reflect.Type { @@ -1449,12 +1340,6 @@ func (o SecretBackendConnectionInfluxdbOutput) ToSecretBackendConnectionInfluxdb }).(SecretBackendConnectionInfluxdbPtrOutput) } -func (o SecretBackendConnectionInfluxdbOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionInfluxdb] { - return pulumix.Output[SecretBackendConnectionInfluxdb]{ - OutputState: o.OutputState, - } -} - // The number of seconds to use as a connection // timeout. func (o SecretBackendConnectionInfluxdbOutput) ConnectTimeout() pulumi.IntPtrOutput { @@ -1523,12 +1408,6 @@ func (o SecretBackendConnectionInfluxdbPtrOutput) ToSecretBackendConnectionInflu return o } -func (o SecretBackendConnectionInfluxdbPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionInfluxdb] { - return pulumix.Output[*SecretBackendConnectionInfluxdb]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionInfluxdbPtrOutput) Elem() SecretBackendConnectionInfluxdbOutput { return o.ApplyT(func(v *SecretBackendConnectionInfluxdb) SecretBackendConnectionInfluxdb { if v != nil { @@ -1712,12 +1591,6 @@ func (i SecretBackendConnectionMongodbArgs) ToSecretBackendConnectionMongodbOutp return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMongodbOutput) } -func (i SecretBackendConnectionMongodbArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMongodb] { - return pulumix.Output[SecretBackendConnectionMongodb]{ - OutputState: i.ToSecretBackendConnectionMongodbOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionMongodbArgs) ToSecretBackendConnectionMongodbPtrOutput() SecretBackendConnectionMongodbPtrOutput { return i.ToSecretBackendConnectionMongodbPtrOutputWithContext(context.Background()) } @@ -1759,12 +1632,6 @@ func (i *secretBackendConnectionMongodbPtrType) ToSecretBackendConnectionMongodb return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMongodbPtrOutput) } -func (i *secretBackendConnectionMongodbPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMongodb] { - return pulumix.Output[*SecretBackendConnectionMongodb]{ - OutputState: i.ToSecretBackendConnectionMongodbPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionMongodbOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionMongodbOutput) ElementType() reflect.Type { @@ -1789,12 +1656,6 @@ func (o SecretBackendConnectionMongodbOutput) ToSecretBackendConnectionMongodbPt }).(SecretBackendConnectionMongodbPtrOutput) } -func (o SecretBackendConnectionMongodbOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMongodb] { - return pulumix.Output[SecretBackendConnectionMongodb]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -1850,12 +1711,6 @@ func (o SecretBackendConnectionMongodbPtrOutput) ToSecretBackendConnectionMongod return o } -func (o SecretBackendConnectionMongodbPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMongodb] { - return pulumix.Output[*SecretBackendConnectionMongodb]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionMongodbPtrOutput) Elem() SecretBackendConnectionMongodbOutput { return o.ApplyT(func(v *SecretBackendConnectionMongodb) SecretBackendConnectionMongodb { if v != nil { @@ -1983,12 +1838,6 @@ func (i SecretBackendConnectionMongodbatlasArgs) ToSecretBackendConnectionMongod return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMongodbatlasOutput) } -func (i SecretBackendConnectionMongodbatlasArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMongodbatlas] { - return pulumix.Output[SecretBackendConnectionMongodbatlas]{ - OutputState: i.ToSecretBackendConnectionMongodbatlasOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionMongodbatlasArgs) ToSecretBackendConnectionMongodbatlasPtrOutput() SecretBackendConnectionMongodbatlasPtrOutput { return i.ToSecretBackendConnectionMongodbatlasPtrOutputWithContext(context.Background()) } @@ -2030,12 +1879,6 @@ func (i *secretBackendConnectionMongodbatlasPtrType) ToSecretBackendConnectionMo return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMongodbatlasPtrOutput) } -func (i *secretBackendConnectionMongodbatlasPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMongodbatlas] { - return pulumix.Output[*SecretBackendConnectionMongodbatlas]{ - OutputState: i.ToSecretBackendConnectionMongodbatlasPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionMongodbatlasOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionMongodbatlasOutput) ElementType() reflect.Type { @@ -2060,12 +1903,6 @@ func (o SecretBackendConnectionMongodbatlasOutput) ToSecretBackendConnectionMong }).(SecretBackendConnectionMongodbatlasPtrOutput) } -func (o SecretBackendConnectionMongodbatlasOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMongodbatlas] { - return pulumix.Output[SecretBackendConnectionMongodbatlas]{ - OutputState: o.OutputState, - } -} - // The Private Programmatic API Key used to connect with MongoDB Atlas API. func (o SecretBackendConnectionMongodbatlasOutput) PrivateKey() pulumi.StringOutput { return o.ApplyT(func(v SecretBackendConnectionMongodbatlas) string { return v.PrivateKey }).(pulumi.StringOutput) @@ -2095,12 +1932,6 @@ func (o SecretBackendConnectionMongodbatlasPtrOutput) ToSecretBackendConnectionM return o } -func (o SecretBackendConnectionMongodbatlasPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMongodbatlas] { - return pulumix.Output[*SecretBackendConnectionMongodbatlas]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionMongodbatlasPtrOutput) Elem() SecretBackendConnectionMongodbatlasOutput { return o.ApplyT(func(v *SecretBackendConnectionMongodbatlas) SecretBackendConnectionMongodbatlas { if v != nil { @@ -2224,12 +2055,6 @@ func (i SecretBackendConnectionMssqlArgs) ToSecretBackendConnectionMssqlOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMssqlOutput) } -func (i SecretBackendConnectionMssqlArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMssql] { - return pulumix.Output[SecretBackendConnectionMssql]{ - OutputState: i.ToSecretBackendConnectionMssqlOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionMssqlArgs) ToSecretBackendConnectionMssqlPtrOutput() SecretBackendConnectionMssqlPtrOutput { return i.ToSecretBackendConnectionMssqlPtrOutputWithContext(context.Background()) } @@ -2271,12 +2096,6 @@ func (i *secretBackendConnectionMssqlPtrType) ToSecretBackendConnectionMssqlPtrO return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMssqlPtrOutput) } -func (i *secretBackendConnectionMssqlPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMssql] { - return pulumix.Output[*SecretBackendConnectionMssql]{ - OutputState: i.ToSecretBackendConnectionMssqlPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionMssqlOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionMssqlOutput) ElementType() reflect.Type { @@ -2301,12 +2120,6 @@ func (o SecretBackendConnectionMssqlOutput) ToSecretBackendConnectionMssqlPtrOut }).(SecretBackendConnectionMssqlPtrOutput) } -func (o SecretBackendConnectionMssqlOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMssql] { - return pulumix.Output[SecretBackendConnectionMssql]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -2375,12 +2188,6 @@ func (o SecretBackendConnectionMssqlPtrOutput) ToSecretBackendConnectionMssqlPtr return o } -func (o SecretBackendConnectionMssqlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMssql] { - return pulumix.Output[*SecretBackendConnectionMssql]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionMssqlPtrOutput) Elem() SecretBackendConnectionMssqlOutput { return o.ApplyT(func(v *SecretBackendConnectionMssql) SecretBackendConnectionMssql { if v != nil { @@ -2575,12 +2382,6 @@ func (i SecretBackendConnectionMysqlArgs) ToSecretBackendConnectionMysqlOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMysqlOutput) } -func (i SecretBackendConnectionMysqlArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMysql] { - return pulumix.Output[SecretBackendConnectionMysql]{ - OutputState: i.ToSecretBackendConnectionMysqlOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionMysqlArgs) ToSecretBackendConnectionMysqlPtrOutput() SecretBackendConnectionMysqlPtrOutput { return i.ToSecretBackendConnectionMysqlPtrOutputWithContext(context.Background()) } @@ -2622,12 +2423,6 @@ func (i *secretBackendConnectionMysqlPtrType) ToSecretBackendConnectionMysqlPtrO return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMysqlPtrOutput) } -func (i *secretBackendConnectionMysqlPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMysql] { - return pulumix.Output[*SecretBackendConnectionMysql]{ - OutputState: i.ToSecretBackendConnectionMysqlPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionMysqlOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionMysqlOutput) ElementType() reflect.Type { @@ -2652,12 +2447,6 @@ func (o SecretBackendConnectionMysqlOutput) ToSecretBackendConnectionMysqlPtrOut }).(SecretBackendConnectionMysqlPtrOutput) } -func (o SecretBackendConnectionMysqlOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMysql] { - return pulumix.Output[SecretBackendConnectionMysql]{ - OutputState: o.OutputState, - } -} - // Enable IAM authentication to a Google Cloud instance when set to `gcpIam` func (o SecretBackendConnectionMysqlOutput) AuthType() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretBackendConnectionMysql) *string { return v.AuthType }).(pulumi.StringPtrOutput) @@ -2733,12 +2522,6 @@ func (o SecretBackendConnectionMysqlPtrOutput) ToSecretBackendConnectionMysqlPtr return o } -func (o SecretBackendConnectionMysqlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMysql] { - return pulumix.Output[*SecretBackendConnectionMysql]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionMysqlPtrOutput) Elem() SecretBackendConnectionMysqlOutput { return o.ApplyT(func(v *SecretBackendConnectionMysql) SecretBackendConnectionMysql { if v != nil { @@ -2934,12 +2717,6 @@ func (i SecretBackendConnectionMysqlAuroraArgs) ToSecretBackendConnectionMysqlAu return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMysqlAuroraOutput) } -func (i SecretBackendConnectionMysqlAuroraArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMysqlAurora] { - return pulumix.Output[SecretBackendConnectionMysqlAurora]{ - OutputState: i.ToSecretBackendConnectionMysqlAuroraOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionMysqlAuroraArgs) ToSecretBackendConnectionMysqlAuroraPtrOutput() SecretBackendConnectionMysqlAuroraPtrOutput { return i.ToSecretBackendConnectionMysqlAuroraPtrOutputWithContext(context.Background()) } @@ -2981,12 +2758,6 @@ func (i *secretBackendConnectionMysqlAuroraPtrType) ToSecretBackendConnectionMys return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMysqlAuroraPtrOutput) } -func (i *secretBackendConnectionMysqlAuroraPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMysqlAurora] { - return pulumix.Output[*SecretBackendConnectionMysqlAurora]{ - OutputState: i.ToSecretBackendConnectionMysqlAuroraPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionMysqlAuroraOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionMysqlAuroraOutput) ElementType() reflect.Type { @@ -3011,12 +2782,6 @@ func (o SecretBackendConnectionMysqlAuroraOutput) ToSecretBackendConnectionMysql }).(SecretBackendConnectionMysqlAuroraPtrOutput) } -func (o SecretBackendConnectionMysqlAuroraOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMysqlAurora] { - return pulumix.Output[SecretBackendConnectionMysqlAurora]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -3072,12 +2837,6 @@ func (o SecretBackendConnectionMysqlAuroraPtrOutput) ToSecretBackendConnectionMy return o } -func (o SecretBackendConnectionMysqlAuroraPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMysqlAurora] { - return pulumix.Output[*SecretBackendConnectionMysqlAurora]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionMysqlAuroraPtrOutput) Elem() SecretBackendConnectionMysqlAuroraOutput { return o.ApplyT(func(v *SecretBackendConnectionMysqlAurora) SecretBackendConnectionMysqlAurora { if v != nil { @@ -3233,12 +2992,6 @@ func (i SecretBackendConnectionMysqlLegacyArgs) ToSecretBackendConnectionMysqlLe return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMysqlLegacyOutput) } -func (i SecretBackendConnectionMysqlLegacyArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMysqlLegacy] { - return pulumix.Output[SecretBackendConnectionMysqlLegacy]{ - OutputState: i.ToSecretBackendConnectionMysqlLegacyOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionMysqlLegacyArgs) ToSecretBackendConnectionMysqlLegacyPtrOutput() SecretBackendConnectionMysqlLegacyPtrOutput { return i.ToSecretBackendConnectionMysqlLegacyPtrOutputWithContext(context.Background()) } @@ -3280,12 +3033,6 @@ func (i *secretBackendConnectionMysqlLegacyPtrType) ToSecretBackendConnectionMys return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMysqlLegacyPtrOutput) } -func (i *secretBackendConnectionMysqlLegacyPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMysqlLegacy] { - return pulumix.Output[*SecretBackendConnectionMysqlLegacy]{ - OutputState: i.ToSecretBackendConnectionMysqlLegacyPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionMysqlLegacyOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionMysqlLegacyOutput) ElementType() reflect.Type { @@ -3310,12 +3057,6 @@ func (o SecretBackendConnectionMysqlLegacyOutput) ToSecretBackendConnectionMysql }).(SecretBackendConnectionMysqlLegacyPtrOutput) } -func (o SecretBackendConnectionMysqlLegacyOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMysqlLegacy] { - return pulumix.Output[SecretBackendConnectionMysqlLegacy]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -3371,12 +3112,6 @@ func (o SecretBackendConnectionMysqlLegacyPtrOutput) ToSecretBackendConnectionMy return o } -func (o SecretBackendConnectionMysqlLegacyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMysqlLegacy] { - return pulumix.Output[*SecretBackendConnectionMysqlLegacy]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionMysqlLegacyPtrOutput) Elem() SecretBackendConnectionMysqlLegacyOutput { return o.ApplyT(func(v *SecretBackendConnectionMysqlLegacy) SecretBackendConnectionMysqlLegacy { if v != nil { @@ -3532,12 +3267,6 @@ func (i SecretBackendConnectionMysqlRdsArgs) ToSecretBackendConnectionMysqlRdsOu return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMysqlRdsOutput) } -func (i SecretBackendConnectionMysqlRdsArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMysqlRds] { - return pulumix.Output[SecretBackendConnectionMysqlRds]{ - OutputState: i.ToSecretBackendConnectionMysqlRdsOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionMysqlRdsArgs) ToSecretBackendConnectionMysqlRdsPtrOutput() SecretBackendConnectionMysqlRdsPtrOutput { return i.ToSecretBackendConnectionMysqlRdsPtrOutputWithContext(context.Background()) } @@ -3579,12 +3308,6 @@ func (i *secretBackendConnectionMysqlRdsPtrType) ToSecretBackendConnectionMysqlR return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMysqlRdsPtrOutput) } -func (i *secretBackendConnectionMysqlRdsPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMysqlRds] { - return pulumix.Output[*SecretBackendConnectionMysqlRds]{ - OutputState: i.ToSecretBackendConnectionMysqlRdsPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionMysqlRdsOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionMysqlRdsOutput) ElementType() reflect.Type { @@ -3609,12 +3332,6 @@ func (o SecretBackendConnectionMysqlRdsOutput) ToSecretBackendConnectionMysqlRds }).(SecretBackendConnectionMysqlRdsPtrOutput) } -func (o SecretBackendConnectionMysqlRdsOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionMysqlRds] { - return pulumix.Output[SecretBackendConnectionMysqlRds]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -3670,12 +3387,6 @@ func (o SecretBackendConnectionMysqlRdsPtrOutput) ToSecretBackendConnectionMysql return o } -func (o SecretBackendConnectionMysqlRdsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionMysqlRds] { - return pulumix.Output[*SecretBackendConnectionMysqlRds]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionMysqlRdsPtrOutput) Elem() SecretBackendConnectionMysqlRdsOutput { return o.ApplyT(func(v *SecretBackendConnectionMysqlRds) SecretBackendConnectionMysqlRds { if v != nil { @@ -3831,12 +3542,6 @@ func (i SecretBackendConnectionOracleArgs) ToSecretBackendConnectionOracleOutput return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionOracleOutput) } -func (i SecretBackendConnectionOracleArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionOracle] { - return pulumix.Output[SecretBackendConnectionOracle]{ - OutputState: i.ToSecretBackendConnectionOracleOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionOracleArgs) ToSecretBackendConnectionOraclePtrOutput() SecretBackendConnectionOraclePtrOutput { return i.ToSecretBackendConnectionOraclePtrOutputWithContext(context.Background()) } @@ -3878,12 +3583,6 @@ func (i *secretBackendConnectionOraclePtrType) ToSecretBackendConnectionOraclePt return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionOraclePtrOutput) } -func (i *secretBackendConnectionOraclePtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionOracle] { - return pulumix.Output[*SecretBackendConnectionOracle]{ - OutputState: i.ToSecretBackendConnectionOraclePtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionOracleOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionOracleOutput) ElementType() reflect.Type { @@ -3908,12 +3607,6 @@ func (o SecretBackendConnectionOracleOutput) ToSecretBackendConnectionOraclePtrO }).(SecretBackendConnectionOraclePtrOutput) } -func (o SecretBackendConnectionOracleOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionOracle] { - return pulumix.Output[SecretBackendConnectionOracle]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -3969,12 +3662,6 @@ func (o SecretBackendConnectionOraclePtrOutput) ToSecretBackendConnectionOracleP return o } -func (o SecretBackendConnectionOraclePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionOracle] { - return pulumix.Output[*SecretBackendConnectionOracle]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionOraclePtrOutput) Elem() SecretBackendConnectionOracleOutput { return o.ApplyT(func(v *SecretBackendConnectionOracle) SecretBackendConnectionOracle { if v != nil { @@ -4142,12 +3829,6 @@ func (i SecretBackendConnectionPostgresqlArgs) ToSecretBackendConnectionPostgres return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionPostgresqlOutput) } -func (i SecretBackendConnectionPostgresqlArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionPostgresql] { - return pulumix.Output[SecretBackendConnectionPostgresql]{ - OutputState: i.ToSecretBackendConnectionPostgresqlOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionPostgresqlArgs) ToSecretBackendConnectionPostgresqlPtrOutput() SecretBackendConnectionPostgresqlPtrOutput { return i.ToSecretBackendConnectionPostgresqlPtrOutputWithContext(context.Background()) } @@ -4189,12 +3870,6 @@ func (i *secretBackendConnectionPostgresqlPtrType) ToSecretBackendConnectionPost return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionPostgresqlPtrOutput) } -func (i *secretBackendConnectionPostgresqlPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionPostgresql] { - return pulumix.Output[*SecretBackendConnectionPostgresql]{ - OutputState: i.ToSecretBackendConnectionPostgresqlPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionPostgresqlOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionPostgresqlOutput) ElementType() reflect.Type { @@ -4219,12 +3894,6 @@ func (o SecretBackendConnectionPostgresqlOutput) ToSecretBackendConnectionPostgr }).(SecretBackendConnectionPostgresqlPtrOutput) } -func (o SecretBackendConnectionPostgresqlOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionPostgresql] { - return pulumix.Output[SecretBackendConnectionPostgresql]{ - OutputState: o.OutputState, - } -} - // Enable IAM authentication to a Google Cloud instance when set to `gcpIam` func (o SecretBackendConnectionPostgresqlOutput) AuthType() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretBackendConnectionPostgresql) *string { return v.AuthType }).(pulumi.StringPtrOutput) @@ -4295,12 +3964,6 @@ func (o SecretBackendConnectionPostgresqlPtrOutput) ToSecretBackendConnectionPos return o } -func (o SecretBackendConnectionPostgresqlPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionPostgresql] { - return pulumix.Output[*SecretBackendConnectionPostgresql]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionPostgresqlPtrOutput) Elem() SecretBackendConnectionPostgresqlOutput { return o.ApplyT(func(v *SecretBackendConnectionPostgresql) SecretBackendConnectionPostgresql { if v != nil { @@ -4478,12 +4141,6 @@ func (i SecretBackendConnectionRedisArgs) ToSecretBackendConnectionRedisOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionRedisOutput) } -func (i SecretBackendConnectionRedisArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionRedis] { - return pulumix.Output[SecretBackendConnectionRedis]{ - OutputState: i.ToSecretBackendConnectionRedisOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionRedisArgs) ToSecretBackendConnectionRedisPtrOutput() SecretBackendConnectionRedisPtrOutput { return i.ToSecretBackendConnectionRedisPtrOutputWithContext(context.Background()) } @@ -4525,12 +4182,6 @@ func (i *secretBackendConnectionRedisPtrType) ToSecretBackendConnectionRedisPtrO return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionRedisPtrOutput) } -func (i *secretBackendConnectionRedisPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionRedis] { - return pulumix.Output[*SecretBackendConnectionRedis]{ - OutputState: i.ToSecretBackendConnectionRedisPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionRedisOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionRedisOutput) ElementType() reflect.Type { @@ -4555,12 +4206,6 @@ func (o SecretBackendConnectionRedisOutput) ToSecretBackendConnectionRedisPtrOut }).(SecretBackendConnectionRedisPtrOutput) } -func (o SecretBackendConnectionRedisOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionRedis] { - return pulumix.Output[SecretBackendConnectionRedis]{ - OutputState: o.OutputState, - } -} - // The path to a PEM-encoded CA cert file to use to verify the Elasticsearch server's identity. func (o SecretBackendConnectionRedisOutput) CaCert() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretBackendConnectionRedis) *string { return v.CaCert }).(pulumi.StringPtrOutput) @@ -4612,12 +4257,6 @@ func (o SecretBackendConnectionRedisPtrOutput) ToSecretBackendConnectionRedisPtr return o } -func (o SecretBackendConnectionRedisPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionRedis] { - return pulumix.Output[*SecretBackendConnectionRedis]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionRedisPtrOutput) Elem() SecretBackendConnectionRedisOutput { return o.ApplyT(func(v *SecretBackendConnectionRedis) SecretBackendConnectionRedis { if v != nil { @@ -4747,12 +4386,6 @@ func (i SecretBackendConnectionRedisElasticacheArgs) ToSecretBackendConnectionRe return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionRedisElasticacheOutput) } -func (i SecretBackendConnectionRedisElasticacheArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionRedisElasticache] { - return pulumix.Output[SecretBackendConnectionRedisElasticache]{ - OutputState: i.ToSecretBackendConnectionRedisElasticacheOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionRedisElasticacheArgs) ToSecretBackendConnectionRedisElasticachePtrOutput() SecretBackendConnectionRedisElasticachePtrOutput { return i.ToSecretBackendConnectionRedisElasticachePtrOutputWithContext(context.Background()) } @@ -4794,12 +4427,6 @@ func (i *secretBackendConnectionRedisElasticachePtrType) ToSecretBackendConnecti return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionRedisElasticachePtrOutput) } -func (i *secretBackendConnectionRedisElasticachePtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionRedisElasticache] { - return pulumix.Output[*SecretBackendConnectionRedisElasticache]{ - OutputState: i.ToSecretBackendConnectionRedisElasticachePtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionRedisElasticacheOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionRedisElasticacheOutput) ElementType() reflect.Type { @@ -4824,12 +4451,6 @@ func (o SecretBackendConnectionRedisElasticacheOutput) ToSecretBackendConnection }).(SecretBackendConnectionRedisElasticachePtrOutput) } -func (o SecretBackendConnectionRedisElasticacheOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionRedisElasticache] { - return pulumix.Output[SecretBackendConnectionRedisElasticache]{ - OutputState: o.OutputState, - } -} - // The password to authenticate with. func (o SecretBackendConnectionRedisElasticacheOutput) Password() pulumi.StringPtrOutput { return o.ApplyT(func(v SecretBackendConnectionRedisElasticache) *string { return v.Password }).(pulumi.StringPtrOutput) @@ -4865,12 +4486,6 @@ func (o SecretBackendConnectionRedisElasticachePtrOutput) ToSecretBackendConnect return o } -func (o SecretBackendConnectionRedisElasticachePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionRedisElasticache] { - return pulumix.Output[*SecretBackendConnectionRedisElasticache]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionRedisElasticachePtrOutput) Elem() SecretBackendConnectionRedisElasticacheOutput { return o.ApplyT(func(v *SecretBackendConnectionRedisElasticache) SecretBackendConnectionRedisElasticache { if v != nil { @@ -4995,12 +4610,6 @@ func (i SecretBackendConnectionRedshiftArgs) ToSecretBackendConnectionRedshiftOu return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionRedshiftOutput) } -func (i SecretBackendConnectionRedshiftArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionRedshift] { - return pulumix.Output[SecretBackendConnectionRedshift]{ - OutputState: i.ToSecretBackendConnectionRedshiftOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionRedshiftArgs) ToSecretBackendConnectionRedshiftPtrOutput() SecretBackendConnectionRedshiftPtrOutput { return i.ToSecretBackendConnectionRedshiftPtrOutputWithContext(context.Background()) } @@ -5042,12 +4651,6 @@ func (i *secretBackendConnectionRedshiftPtrType) ToSecretBackendConnectionRedshi return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionRedshiftPtrOutput) } -func (i *secretBackendConnectionRedshiftPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionRedshift] { - return pulumix.Output[*SecretBackendConnectionRedshift]{ - OutputState: i.ToSecretBackendConnectionRedshiftPtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionRedshiftOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionRedshiftOutput) ElementType() reflect.Type { @@ -5072,12 +4675,6 @@ func (o SecretBackendConnectionRedshiftOutput) ToSecretBackendConnectionRedshift }).(SecretBackendConnectionRedshiftPtrOutput) } -func (o SecretBackendConnectionRedshiftOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionRedshift] { - return pulumix.Output[SecretBackendConnectionRedshift]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -5138,12 +4735,6 @@ func (o SecretBackendConnectionRedshiftPtrOutput) ToSecretBackendConnectionRedsh return o } -func (o SecretBackendConnectionRedshiftPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionRedshift] { - return pulumix.Output[*SecretBackendConnectionRedshift]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionRedshiftPtrOutput) Elem() SecretBackendConnectionRedshiftOutput { return o.ApplyT(func(v *SecretBackendConnectionRedshift) SecretBackendConnectionRedshift { if v != nil { @@ -5309,12 +4900,6 @@ func (i SecretBackendConnectionSnowflakeArgs) ToSecretBackendConnectionSnowflake return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionSnowflakeOutput) } -func (i SecretBackendConnectionSnowflakeArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionSnowflake] { - return pulumix.Output[SecretBackendConnectionSnowflake]{ - OutputState: i.ToSecretBackendConnectionSnowflakeOutputWithContext(ctx).OutputState, - } -} - func (i SecretBackendConnectionSnowflakeArgs) ToSecretBackendConnectionSnowflakePtrOutput() SecretBackendConnectionSnowflakePtrOutput { return i.ToSecretBackendConnectionSnowflakePtrOutputWithContext(context.Background()) } @@ -5356,12 +4941,6 @@ func (i *secretBackendConnectionSnowflakePtrType) ToSecretBackendConnectionSnowf return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionSnowflakePtrOutput) } -func (i *secretBackendConnectionSnowflakePtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionSnowflake] { - return pulumix.Output[*SecretBackendConnectionSnowflake]{ - OutputState: i.ToSecretBackendConnectionSnowflakePtrOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionSnowflakeOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionSnowflakeOutput) ElementType() reflect.Type { @@ -5386,12 +4965,6 @@ func (o SecretBackendConnectionSnowflakeOutput) ToSecretBackendConnectionSnowfla }).(SecretBackendConnectionSnowflakePtrOutput) } -func (o SecretBackendConnectionSnowflakeOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendConnectionSnowflake] { - return pulumix.Output[SecretBackendConnectionSnowflake]{ - OutputState: o.OutputState, - } -} - // A URL containing connection information. See // the [Vault // docs](https://www.vaultproject.io/api-docs/secret/databases/mongodb.html#sample-payload) @@ -5447,12 +5020,6 @@ func (o SecretBackendConnectionSnowflakePtrOutput) ToSecretBackendConnectionSnow return o } -func (o SecretBackendConnectionSnowflakePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnectionSnowflake] { - return pulumix.Output[*SecretBackendConnectionSnowflake]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionSnowflakePtrOutput) Elem() SecretBackendConnectionSnowflakeOutput { return o.ApplyT(func(v *SecretBackendConnectionSnowflake) SecretBackendConnectionSnowflake { if v != nil { @@ -5646,12 +5213,6 @@ func (i SecretsMountCassandraArgs) ToSecretsMountCassandraOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretsMountCassandraOutput) } -func (i SecretsMountCassandraArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountCassandra] { - return pulumix.Output[SecretsMountCassandra]{ - OutputState: i.ToSecretsMountCassandraOutputWithContext(ctx).OutputState, - } -} - // SecretsMountCassandraArrayInput is an input type that accepts SecretsMountCassandraArray and SecretsMountCassandraArrayOutput values. // You can construct a concrete instance of `SecretsMountCassandraArrayInput` via: // @@ -5677,12 +5238,6 @@ func (i SecretsMountCassandraArray) ToSecretsMountCassandraArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretsMountCassandraArrayOutput) } -func (i SecretsMountCassandraArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountCassandra] { - return pulumix.Output[[]SecretsMountCassandra]{ - OutputState: i.ToSecretsMountCassandraArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountCassandraOutput struct{ *pulumi.OutputState } func (SecretsMountCassandraOutput) ElementType() reflect.Type { @@ -5697,12 +5252,6 @@ func (o SecretsMountCassandraOutput) ToSecretsMountCassandraOutputWithContext(ct return o } -func (o SecretsMountCassandraOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountCassandra] { - return pulumix.Output[SecretsMountCassandra]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountCassandraOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -5804,12 +5353,6 @@ func (o SecretsMountCassandraArrayOutput) ToSecretsMountCassandraArrayOutputWith return o } -func (o SecretsMountCassandraArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountCassandra] { - return pulumix.Output[[]SecretsMountCassandra]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountCassandraArrayOutput) Index(i pulumi.IntInput) SecretsMountCassandraOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountCassandra { return vs[0].([]SecretsMountCassandra)[vs[1].(int)] @@ -5909,12 +5452,6 @@ func (i SecretsMountCouchbaseArgs) ToSecretsMountCouchbaseOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretsMountCouchbaseOutput) } -func (i SecretsMountCouchbaseArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountCouchbase] { - return pulumix.Output[SecretsMountCouchbase]{ - OutputState: i.ToSecretsMountCouchbaseOutputWithContext(ctx).OutputState, - } -} - // SecretsMountCouchbaseArrayInput is an input type that accepts SecretsMountCouchbaseArray and SecretsMountCouchbaseArrayOutput values. // You can construct a concrete instance of `SecretsMountCouchbaseArrayInput` via: // @@ -5940,12 +5477,6 @@ func (i SecretsMountCouchbaseArray) ToSecretsMountCouchbaseArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretsMountCouchbaseArrayOutput) } -func (i SecretsMountCouchbaseArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountCouchbase] { - return pulumix.Output[[]SecretsMountCouchbase]{ - OutputState: i.ToSecretsMountCouchbaseArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountCouchbaseOutput struct{ *pulumi.OutputState } func (SecretsMountCouchbaseOutput) ElementType() reflect.Type { @@ -5960,12 +5491,6 @@ func (o SecretsMountCouchbaseOutput) ToSecretsMountCouchbaseOutputWithContext(ct return o } -func (o SecretsMountCouchbaseOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountCouchbase] { - return pulumix.Output[SecretsMountCouchbase]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountCouchbaseOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -6054,12 +5579,6 @@ func (o SecretsMountCouchbaseArrayOutput) ToSecretsMountCouchbaseArrayOutputWith return o } -func (o SecretsMountCouchbaseArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountCouchbase] { - return pulumix.Output[[]SecretsMountCouchbase]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountCouchbaseArrayOutput) Index(i pulumi.IntInput) SecretsMountCouchbaseOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountCouchbase { return vs[0].([]SecretsMountCouchbase)[vs[1].(int)] @@ -6167,12 +5686,6 @@ func (i SecretsMountElasticsearchArgs) ToSecretsMountElasticsearchOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecretsMountElasticsearchOutput) } -func (i SecretsMountElasticsearchArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountElasticsearch] { - return pulumix.Output[SecretsMountElasticsearch]{ - OutputState: i.ToSecretsMountElasticsearchOutputWithContext(ctx).OutputState, - } -} - // SecretsMountElasticsearchArrayInput is an input type that accepts SecretsMountElasticsearchArray and SecretsMountElasticsearchArrayOutput values. // You can construct a concrete instance of `SecretsMountElasticsearchArrayInput` via: // @@ -6198,12 +5711,6 @@ func (i SecretsMountElasticsearchArray) ToSecretsMountElasticsearchArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecretsMountElasticsearchArrayOutput) } -func (i SecretsMountElasticsearchArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountElasticsearch] { - return pulumix.Output[[]SecretsMountElasticsearch]{ - OutputState: i.ToSecretsMountElasticsearchArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountElasticsearchOutput struct{ *pulumi.OutputState } func (SecretsMountElasticsearchOutput) ElementType() reflect.Type { @@ -6218,12 +5725,6 @@ func (o SecretsMountElasticsearchOutput) ToSecretsMountElasticsearchOutputWithCo return o } -func (o SecretsMountElasticsearchOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountElasticsearch] { - return pulumix.Output[SecretsMountElasticsearch]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountElasticsearchOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -6322,12 +5823,6 @@ func (o SecretsMountElasticsearchArrayOutput) ToSecretsMountElasticsearchArrayOu return o } -func (o SecretsMountElasticsearchArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountElasticsearch] { - return pulumix.Output[[]SecretsMountElasticsearch]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountElasticsearchArrayOutput) Index(i pulumi.IntInput) SecretsMountElasticsearchOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountElasticsearch { return vs[0].([]SecretsMountElasticsearch)[vs[1].(int)] @@ -6427,12 +5922,6 @@ func (i SecretsMountHanaArgs) ToSecretsMountHanaOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretsMountHanaOutput) } -func (i SecretsMountHanaArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountHana] { - return pulumix.Output[SecretsMountHana]{ - OutputState: i.ToSecretsMountHanaOutputWithContext(ctx).OutputState, - } -} - // SecretsMountHanaArrayInput is an input type that accepts SecretsMountHanaArray and SecretsMountHanaArrayOutput values. // You can construct a concrete instance of `SecretsMountHanaArrayInput` via: // @@ -6458,12 +5947,6 @@ func (i SecretsMountHanaArray) ToSecretsMountHanaArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SecretsMountHanaArrayOutput) } -func (i SecretsMountHanaArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountHana] { - return pulumix.Output[[]SecretsMountHana]{ - OutputState: i.ToSecretsMountHanaArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountHanaOutput struct{ *pulumi.OutputState } func (SecretsMountHanaOutput) ElementType() reflect.Type { @@ -6478,12 +5961,6 @@ func (o SecretsMountHanaOutput) ToSecretsMountHanaOutputWithContext(ctx context. return o } -func (o SecretsMountHanaOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountHana] { - return pulumix.Output[SecretsMountHana]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountHanaOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -6569,12 +6046,6 @@ func (o SecretsMountHanaArrayOutput) ToSecretsMountHanaArrayOutputWithContext(ct return o } -func (o SecretsMountHanaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountHana] { - return pulumix.Output[[]SecretsMountHana]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountHanaArrayOutput) Index(i pulumi.IntInput) SecretsMountHanaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountHana { return vs[0].([]SecretsMountHana)[vs[1].(int)] @@ -6688,12 +6159,6 @@ func (i SecretsMountInfluxdbArgs) ToSecretsMountInfluxdbOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretsMountInfluxdbOutput) } -func (i SecretsMountInfluxdbArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountInfluxdb] { - return pulumix.Output[SecretsMountInfluxdb]{ - OutputState: i.ToSecretsMountInfluxdbOutputWithContext(ctx).OutputState, - } -} - // SecretsMountInfluxdbArrayInput is an input type that accepts SecretsMountInfluxdbArray and SecretsMountInfluxdbArrayOutput values. // You can construct a concrete instance of `SecretsMountInfluxdbArrayInput` via: // @@ -6719,12 +6184,6 @@ func (i SecretsMountInfluxdbArray) ToSecretsMountInfluxdbArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SecretsMountInfluxdbArrayOutput) } -func (i SecretsMountInfluxdbArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountInfluxdb] { - return pulumix.Output[[]SecretsMountInfluxdb]{ - OutputState: i.ToSecretsMountInfluxdbArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountInfluxdbOutput struct{ *pulumi.OutputState } func (SecretsMountInfluxdbOutput) ElementType() reflect.Type { @@ -6739,12 +6198,6 @@ func (o SecretsMountInfluxdbOutput) ToSecretsMountInfluxdbOutputWithContext(ctx return o } -func (o SecretsMountInfluxdbOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountInfluxdb] { - return pulumix.Output[SecretsMountInfluxdb]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountInfluxdbOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -6846,12 +6299,6 @@ func (o SecretsMountInfluxdbArrayOutput) ToSecretsMountInfluxdbArrayOutputWithCo return o } -func (o SecretsMountInfluxdbArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountInfluxdb] { - return pulumix.Output[[]SecretsMountInfluxdb]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountInfluxdbArrayOutput) Index(i pulumi.IntInput) SecretsMountInfluxdbOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountInfluxdb { return vs[0].([]SecretsMountInfluxdb)[vs[1].(int)] @@ -6951,12 +6398,6 @@ func (i SecretsMountMongodbArgs) ToSecretsMountMongodbOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMongodbOutput) } -func (i SecretsMountMongodbArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMongodb] { - return pulumix.Output[SecretsMountMongodb]{ - OutputState: i.ToSecretsMountMongodbOutputWithContext(ctx).OutputState, - } -} - // SecretsMountMongodbArrayInput is an input type that accepts SecretsMountMongodbArray and SecretsMountMongodbArrayOutput values. // You can construct a concrete instance of `SecretsMountMongodbArrayInput` via: // @@ -6982,12 +6423,6 @@ func (i SecretsMountMongodbArray) ToSecretsMountMongodbArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMongodbArrayOutput) } -func (i SecretsMountMongodbArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMongodb] { - return pulumix.Output[[]SecretsMountMongodb]{ - OutputState: i.ToSecretsMountMongodbArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountMongodbOutput struct{ *pulumi.OutputState } func (SecretsMountMongodbOutput) ElementType() reflect.Type { @@ -7002,12 +6437,6 @@ func (o SecretsMountMongodbOutput) ToSecretsMountMongodbOutputWithContext(ctx co return o } -func (o SecretsMountMongodbOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMongodb] { - return pulumix.Output[SecretsMountMongodb]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountMongodbOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -7093,12 +6522,6 @@ func (o SecretsMountMongodbArrayOutput) ToSecretsMountMongodbArrayOutputWithCont return o } -func (o SecretsMountMongodbArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMongodb] { - return pulumix.Output[[]SecretsMountMongodb]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountMongodbArrayOutput) Index(i pulumi.IntInput) SecretsMountMongodbOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountMongodb { return vs[0].([]SecretsMountMongodb)[vs[1].(int)] @@ -7176,12 +6599,6 @@ func (i SecretsMountMongodbatlaArgs) ToSecretsMountMongodbatlaOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMongodbatlaOutput) } -func (i SecretsMountMongodbatlaArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMongodbatla] { - return pulumix.Output[SecretsMountMongodbatla]{ - OutputState: i.ToSecretsMountMongodbatlaOutputWithContext(ctx).OutputState, - } -} - // SecretsMountMongodbatlaArrayInput is an input type that accepts SecretsMountMongodbatlaArray and SecretsMountMongodbatlaArrayOutput values. // You can construct a concrete instance of `SecretsMountMongodbatlaArrayInput` via: // @@ -7207,12 +6624,6 @@ func (i SecretsMountMongodbatlaArray) ToSecretsMountMongodbatlaArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMongodbatlaArrayOutput) } -func (i SecretsMountMongodbatlaArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMongodbatla] { - return pulumix.Output[[]SecretsMountMongodbatla]{ - OutputState: i.ToSecretsMountMongodbatlaArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountMongodbatlaOutput struct{ *pulumi.OutputState } func (SecretsMountMongodbatlaOutput) ElementType() reflect.Type { @@ -7227,12 +6638,6 @@ func (o SecretsMountMongodbatlaOutput) ToSecretsMountMongodbatlaOutputWithContex return o } -func (o SecretsMountMongodbatlaOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMongodbatla] { - return pulumix.Output[SecretsMountMongodbatla]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountMongodbatlaOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -7295,12 +6700,6 @@ func (o SecretsMountMongodbatlaArrayOutput) ToSecretsMountMongodbatlaArrayOutput return o } -func (o SecretsMountMongodbatlaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMongodbatla] { - return pulumix.Output[[]SecretsMountMongodbatla]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountMongodbatlaArrayOutput) Index(i pulumi.IntInput) SecretsMountMongodbatlaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountMongodbatla { return vs[0].([]SecretsMountMongodbatla)[vs[1].(int)] @@ -7412,12 +6811,6 @@ func (i SecretsMountMssqlArgs) ToSecretsMountMssqlOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMssqlOutput) } -func (i SecretsMountMssqlArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMssql] { - return pulumix.Output[SecretsMountMssql]{ - OutputState: i.ToSecretsMountMssqlOutputWithContext(ctx).OutputState, - } -} - // SecretsMountMssqlArrayInput is an input type that accepts SecretsMountMssqlArray and SecretsMountMssqlArrayOutput values. // You can construct a concrete instance of `SecretsMountMssqlArrayInput` via: // @@ -7443,12 +6836,6 @@ func (i SecretsMountMssqlArray) ToSecretsMountMssqlArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMssqlArrayOutput) } -func (i SecretsMountMssqlArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMssql] { - return pulumix.Output[[]SecretsMountMssql]{ - OutputState: i.ToSecretsMountMssqlArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountMssqlOutput struct{ *pulumi.OutputState } func (SecretsMountMssqlOutput) ElementType() reflect.Type { @@ -7463,12 +6850,6 @@ func (o SecretsMountMssqlOutput) ToSecretsMountMssqlOutputWithContext(ctx contex return o } -func (o SecretsMountMssqlOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMssql] { - return pulumix.Output[SecretsMountMssql]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountMssqlOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -7566,12 +6947,6 @@ func (o SecretsMountMssqlArrayOutput) ToSecretsMountMssqlArrayOutputWithContext( return o } -func (o SecretsMountMssqlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMssql] { - return pulumix.Output[[]SecretsMountMssql]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountMssqlArrayOutput) Index(i pulumi.IntInput) SecretsMountMssqlOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountMssql { return vs[0].([]SecretsMountMssql)[vs[1].(int)] @@ -7683,12 +7058,6 @@ func (i SecretsMountMysqlArgs) ToSecretsMountMysqlOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMysqlOutput) } -func (i SecretsMountMysqlArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMysql] { - return pulumix.Output[SecretsMountMysql]{ - OutputState: i.ToSecretsMountMysqlOutputWithContext(ctx).OutputState, - } -} - // SecretsMountMysqlArrayInput is an input type that accepts SecretsMountMysqlArray and SecretsMountMysqlArrayOutput values. // You can construct a concrete instance of `SecretsMountMysqlArrayInput` via: // @@ -7714,12 +7083,6 @@ func (i SecretsMountMysqlArray) ToSecretsMountMysqlArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMysqlArrayOutput) } -func (i SecretsMountMysqlArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMysql] { - return pulumix.Output[[]SecretsMountMysql]{ - OutputState: i.ToSecretsMountMysqlArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountMysqlOutput struct{ *pulumi.OutputState } func (SecretsMountMysqlOutput) ElementType() reflect.Type { @@ -7734,12 +7097,6 @@ func (o SecretsMountMysqlOutput) ToSecretsMountMysqlOutputWithContext(ctx contex return o } -func (o SecretsMountMysqlOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMysql] { - return pulumix.Output[SecretsMountMysql]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountMysqlOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -7843,12 +7200,6 @@ func (o SecretsMountMysqlArrayOutput) ToSecretsMountMysqlArrayOutputWithContext( return o } -func (o SecretsMountMysqlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMysql] { - return pulumix.Output[[]SecretsMountMysql]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountMysqlArrayOutput) Index(i pulumi.IntInput) SecretsMountMysqlOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountMysql { return vs[0].([]SecretsMountMysql)[vs[1].(int)] @@ -7948,12 +7299,6 @@ func (i SecretsMountMysqlAuroraArgs) ToSecretsMountMysqlAuroraOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMysqlAuroraOutput) } -func (i SecretsMountMysqlAuroraArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMysqlAurora] { - return pulumix.Output[SecretsMountMysqlAurora]{ - OutputState: i.ToSecretsMountMysqlAuroraOutputWithContext(ctx).OutputState, - } -} - // SecretsMountMysqlAuroraArrayInput is an input type that accepts SecretsMountMysqlAuroraArray and SecretsMountMysqlAuroraArrayOutput values. // You can construct a concrete instance of `SecretsMountMysqlAuroraArrayInput` via: // @@ -7979,12 +7324,6 @@ func (i SecretsMountMysqlAuroraArray) ToSecretsMountMysqlAuroraArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMysqlAuroraArrayOutput) } -func (i SecretsMountMysqlAuroraArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMysqlAurora] { - return pulumix.Output[[]SecretsMountMysqlAurora]{ - OutputState: i.ToSecretsMountMysqlAuroraArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountMysqlAuroraOutput struct{ *pulumi.OutputState } func (SecretsMountMysqlAuroraOutput) ElementType() reflect.Type { @@ -7999,12 +7338,6 @@ func (o SecretsMountMysqlAuroraOutput) ToSecretsMountMysqlAuroraOutputWithContex return o } -func (o SecretsMountMysqlAuroraOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMysqlAurora] { - return pulumix.Output[SecretsMountMysqlAurora]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountMysqlAuroraOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -8090,12 +7423,6 @@ func (o SecretsMountMysqlAuroraArrayOutput) ToSecretsMountMysqlAuroraArrayOutput return o } -func (o SecretsMountMysqlAuroraArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMysqlAurora] { - return pulumix.Output[[]SecretsMountMysqlAurora]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountMysqlAuroraArrayOutput) Index(i pulumi.IntInput) SecretsMountMysqlAuroraOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountMysqlAurora { return vs[0].([]SecretsMountMysqlAurora)[vs[1].(int)] @@ -8195,12 +7522,6 @@ func (i SecretsMountMysqlLegacyArgs) ToSecretsMountMysqlLegacyOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMysqlLegacyOutput) } -func (i SecretsMountMysqlLegacyArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMysqlLegacy] { - return pulumix.Output[SecretsMountMysqlLegacy]{ - OutputState: i.ToSecretsMountMysqlLegacyOutputWithContext(ctx).OutputState, - } -} - // SecretsMountMysqlLegacyArrayInput is an input type that accepts SecretsMountMysqlLegacyArray and SecretsMountMysqlLegacyArrayOutput values. // You can construct a concrete instance of `SecretsMountMysqlLegacyArrayInput` via: // @@ -8226,12 +7547,6 @@ func (i SecretsMountMysqlLegacyArray) ToSecretsMountMysqlLegacyArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMysqlLegacyArrayOutput) } -func (i SecretsMountMysqlLegacyArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMysqlLegacy] { - return pulumix.Output[[]SecretsMountMysqlLegacy]{ - OutputState: i.ToSecretsMountMysqlLegacyArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountMysqlLegacyOutput struct{ *pulumi.OutputState } func (SecretsMountMysqlLegacyOutput) ElementType() reflect.Type { @@ -8246,12 +7561,6 @@ func (o SecretsMountMysqlLegacyOutput) ToSecretsMountMysqlLegacyOutputWithContex return o } -func (o SecretsMountMysqlLegacyOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMysqlLegacy] { - return pulumix.Output[SecretsMountMysqlLegacy]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountMysqlLegacyOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -8337,12 +7646,6 @@ func (o SecretsMountMysqlLegacyArrayOutput) ToSecretsMountMysqlLegacyArrayOutput return o } -func (o SecretsMountMysqlLegacyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMysqlLegacy] { - return pulumix.Output[[]SecretsMountMysqlLegacy]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountMysqlLegacyArrayOutput) Index(i pulumi.IntInput) SecretsMountMysqlLegacyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountMysqlLegacy { return vs[0].([]SecretsMountMysqlLegacy)[vs[1].(int)] @@ -8442,12 +7745,6 @@ func (i SecretsMountMysqlRdArgs) ToSecretsMountMysqlRdOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMysqlRdOutput) } -func (i SecretsMountMysqlRdArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMysqlRd] { - return pulumix.Output[SecretsMountMysqlRd]{ - OutputState: i.ToSecretsMountMysqlRdOutputWithContext(ctx).OutputState, - } -} - // SecretsMountMysqlRdArrayInput is an input type that accepts SecretsMountMysqlRdArray and SecretsMountMysqlRdArrayOutput values. // You can construct a concrete instance of `SecretsMountMysqlRdArrayInput` via: // @@ -8473,12 +7770,6 @@ func (i SecretsMountMysqlRdArray) ToSecretsMountMysqlRdArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMysqlRdArrayOutput) } -func (i SecretsMountMysqlRdArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMysqlRd] { - return pulumix.Output[[]SecretsMountMysqlRd]{ - OutputState: i.ToSecretsMountMysqlRdArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountMysqlRdOutput struct{ *pulumi.OutputState } func (SecretsMountMysqlRdOutput) ElementType() reflect.Type { @@ -8493,12 +7784,6 @@ func (o SecretsMountMysqlRdOutput) ToSecretsMountMysqlRdOutputWithContext(ctx co return o } -func (o SecretsMountMysqlRdOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountMysqlRd] { - return pulumix.Output[SecretsMountMysqlRd]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountMysqlRdOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -8584,12 +7869,6 @@ func (o SecretsMountMysqlRdArrayOutput) ToSecretsMountMysqlRdArrayOutputWithCont return o } -func (o SecretsMountMysqlRdArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountMysqlRd] { - return pulumix.Output[[]SecretsMountMysqlRd]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountMysqlRdArrayOutput) Index(i pulumi.IntInput) SecretsMountMysqlRdOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountMysqlRd { return vs[0].([]SecretsMountMysqlRd)[vs[1].(int)] @@ -8689,12 +7968,6 @@ func (i SecretsMountOracleArgs) ToSecretsMountOracleOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretsMountOracleOutput) } -func (i SecretsMountOracleArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountOracle] { - return pulumix.Output[SecretsMountOracle]{ - OutputState: i.ToSecretsMountOracleOutputWithContext(ctx).OutputState, - } -} - // SecretsMountOracleArrayInput is an input type that accepts SecretsMountOracleArray and SecretsMountOracleArrayOutput values. // You can construct a concrete instance of `SecretsMountOracleArrayInput` via: // @@ -8720,12 +7993,6 @@ func (i SecretsMountOracleArray) ToSecretsMountOracleArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretsMountOracleArrayOutput) } -func (i SecretsMountOracleArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountOracle] { - return pulumix.Output[[]SecretsMountOracle]{ - OutputState: i.ToSecretsMountOracleArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountOracleOutput struct{ *pulumi.OutputState } func (SecretsMountOracleOutput) ElementType() reflect.Type { @@ -8740,12 +8007,6 @@ func (o SecretsMountOracleOutput) ToSecretsMountOracleOutputWithContext(ctx cont return o } -func (o SecretsMountOracleOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountOracle] { - return pulumix.Output[SecretsMountOracle]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountOracleOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -8831,12 +8092,6 @@ func (o SecretsMountOracleArrayOutput) ToSecretsMountOracleArrayOutputWithContex return o } -func (o SecretsMountOracleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountOracle] { - return pulumix.Output[[]SecretsMountOracle]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountOracleArrayOutput) Index(i pulumi.IntInput) SecretsMountOracleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountOracle { return vs[0].([]SecretsMountOracle)[vs[1].(int)] @@ -8944,12 +8199,6 @@ func (i SecretsMountPostgresqlArgs) ToSecretsMountPostgresqlOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretsMountPostgresqlOutput) } -func (i SecretsMountPostgresqlArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountPostgresql] { - return pulumix.Output[SecretsMountPostgresql]{ - OutputState: i.ToSecretsMountPostgresqlOutputWithContext(ctx).OutputState, - } -} - // SecretsMountPostgresqlArrayInput is an input type that accepts SecretsMountPostgresqlArray and SecretsMountPostgresqlArrayOutput values. // You can construct a concrete instance of `SecretsMountPostgresqlArrayInput` via: // @@ -8975,12 +8224,6 @@ func (i SecretsMountPostgresqlArray) ToSecretsMountPostgresqlArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecretsMountPostgresqlArrayOutput) } -func (i SecretsMountPostgresqlArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountPostgresql] { - return pulumix.Output[[]SecretsMountPostgresql]{ - OutputState: i.ToSecretsMountPostgresqlArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountPostgresqlOutput struct{ *pulumi.OutputState } func (SecretsMountPostgresqlOutput) ElementType() reflect.Type { @@ -8995,12 +8238,6 @@ func (o SecretsMountPostgresqlOutput) ToSecretsMountPostgresqlOutputWithContext( return o } -func (o SecretsMountPostgresqlOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountPostgresql] { - return pulumix.Output[SecretsMountPostgresql]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountPostgresqlOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -9099,12 +8336,6 @@ func (o SecretsMountPostgresqlArrayOutput) ToSecretsMountPostgresqlArrayOutputWi return o } -func (o SecretsMountPostgresqlArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountPostgresql] { - return pulumix.Output[[]SecretsMountPostgresql]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountPostgresqlArrayOutput) Index(i pulumi.IntInput) SecretsMountPostgresqlOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountPostgresql { return vs[0].([]SecretsMountPostgresql)[vs[1].(int)] @@ -9202,12 +8433,6 @@ func (i SecretsMountRediArgs) ToSecretsMountRediOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretsMountRediOutput) } -func (i SecretsMountRediArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountRedi] { - return pulumix.Output[SecretsMountRedi]{ - OutputState: i.ToSecretsMountRediOutputWithContext(ctx).OutputState, - } -} - // SecretsMountRediArrayInput is an input type that accepts SecretsMountRediArray and SecretsMountRediArrayOutput values. // You can construct a concrete instance of `SecretsMountRediArrayInput` via: // @@ -9233,12 +8458,6 @@ func (i SecretsMountRediArray) ToSecretsMountRediArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SecretsMountRediArrayOutput) } -func (i SecretsMountRediArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountRedi] { - return pulumix.Output[[]SecretsMountRedi]{ - OutputState: i.ToSecretsMountRediArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountRediOutput struct{ *pulumi.OutputState } func (SecretsMountRediOutput) ElementType() reflect.Type { @@ -9253,12 +8472,6 @@ func (o SecretsMountRediOutput) ToSecretsMountRediOutputWithContext(ctx context. return o } -func (o SecretsMountRediOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountRedi] { - return pulumix.Output[SecretsMountRedi]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountRediOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -9343,12 +8556,6 @@ func (o SecretsMountRediArrayOutput) ToSecretsMountRediArrayOutputWithContext(ct return o } -func (o SecretsMountRediArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountRedi] { - return pulumix.Output[[]SecretsMountRedi]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountRediArrayOutput) Index(i pulumi.IntInput) SecretsMountRediOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountRedi { return vs[0].([]SecretsMountRedi)[vs[1].(int)] @@ -9434,12 +8641,6 @@ func (i SecretsMountRedisElasticachArgs) ToSecretsMountRedisElasticachOutputWith return pulumi.ToOutputWithContext(ctx, i).(SecretsMountRedisElasticachOutput) } -func (i SecretsMountRedisElasticachArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountRedisElasticach] { - return pulumix.Output[SecretsMountRedisElasticach]{ - OutputState: i.ToSecretsMountRedisElasticachOutputWithContext(ctx).OutputState, - } -} - // SecretsMountRedisElasticachArrayInput is an input type that accepts SecretsMountRedisElasticachArray and SecretsMountRedisElasticachArrayOutput values. // You can construct a concrete instance of `SecretsMountRedisElasticachArrayInput` via: // @@ -9465,12 +8666,6 @@ func (i SecretsMountRedisElasticachArray) ToSecretsMountRedisElasticachArrayOutp return pulumi.ToOutputWithContext(ctx, i).(SecretsMountRedisElasticachArrayOutput) } -func (i SecretsMountRedisElasticachArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountRedisElasticach] { - return pulumix.Output[[]SecretsMountRedisElasticach]{ - OutputState: i.ToSecretsMountRedisElasticachArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountRedisElasticachOutput struct{ *pulumi.OutputState } func (SecretsMountRedisElasticachOutput) ElementType() reflect.Type { @@ -9485,12 +8680,6 @@ func (o SecretsMountRedisElasticachOutput) ToSecretsMountRedisElasticachOutputWi return o } -func (o SecretsMountRedisElasticachOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountRedisElasticach] { - return pulumix.Output[SecretsMountRedisElasticach]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountRedisElasticachOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -9560,12 +8749,6 @@ func (o SecretsMountRedisElasticachArrayOutput) ToSecretsMountRedisElasticachArr return o } -func (o SecretsMountRedisElasticachArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountRedisElasticach] { - return pulumix.Output[[]SecretsMountRedisElasticach]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountRedisElasticachArrayOutput) Index(i pulumi.IntInput) SecretsMountRedisElasticachOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountRedisElasticach { return vs[0].([]SecretsMountRedisElasticach)[vs[1].(int)] @@ -9669,12 +8852,6 @@ func (i SecretsMountRedshiftArgs) ToSecretsMountRedshiftOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretsMountRedshiftOutput) } -func (i SecretsMountRedshiftArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountRedshift] { - return pulumix.Output[SecretsMountRedshift]{ - OutputState: i.ToSecretsMountRedshiftOutputWithContext(ctx).OutputState, - } -} - // SecretsMountRedshiftArrayInput is an input type that accepts SecretsMountRedshiftArray and SecretsMountRedshiftArrayOutput values. // You can construct a concrete instance of `SecretsMountRedshiftArrayInput` via: // @@ -9700,12 +8877,6 @@ func (i SecretsMountRedshiftArray) ToSecretsMountRedshiftArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SecretsMountRedshiftArrayOutput) } -func (i SecretsMountRedshiftArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountRedshift] { - return pulumix.Output[[]SecretsMountRedshift]{ - OutputState: i.ToSecretsMountRedshiftArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountRedshiftOutput struct{ *pulumi.OutputState } func (SecretsMountRedshiftOutput) ElementType() reflect.Type { @@ -9720,12 +8891,6 @@ func (o SecretsMountRedshiftOutput) ToSecretsMountRedshiftOutputWithContext(ctx return o } -func (o SecretsMountRedshiftOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountRedshift] { - return pulumix.Output[SecretsMountRedshift]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountRedshiftOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -9816,12 +8981,6 @@ func (o SecretsMountRedshiftArrayOutput) ToSecretsMountRedshiftArrayOutputWithCo return o } -func (o SecretsMountRedshiftArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountRedshift] { - return pulumix.Output[[]SecretsMountRedshift]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountRedshiftArrayOutput) Index(i pulumi.IntInput) SecretsMountRedshiftOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountRedshift { return vs[0].([]SecretsMountRedshift)[vs[1].(int)] @@ -9921,12 +9080,6 @@ func (i SecretsMountSnowflakeArgs) ToSecretsMountSnowflakeOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretsMountSnowflakeOutput) } -func (i SecretsMountSnowflakeArgs) ToOutput(ctx context.Context) pulumix.Output[SecretsMountSnowflake] { - return pulumix.Output[SecretsMountSnowflake]{ - OutputState: i.ToSecretsMountSnowflakeOutputWithContext(ctx).OutputState, - } -} - // SecretsMountSnowflakeArrayInput is an input type that accepts SecretsMountSnowflakeArray and SecretsMountSnowflakeArrayOutput values. // You can construct a concrete instance of `SecretsMountSnowflakeArrayInput` via: // @@ -9952,12 +9105,6 @@ func (i SecretsMountSnowflakeArray) ToSecretsMountSnowflakeArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretsMountSnowflakeArrayOutput) } -func (i SecretsMountSnowflakeArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountSnowflake] { - return pulumix.Output[[]SecretsMountSnowflake]{ - OutputState: i.ToSecretsMountSnowflakeArrayOutputWithContext(ctx).OutputState, - } -} - type SecretsMountSnowflakeOutput struct{ *pulumi.OutputState } func (SecretsMountSnowflakeOutput) ElementType() reflect.Type { @@ -9972,12 +9119,6 @@ func (o SecretsMountSnowflakeOutput) ToSecretsMountSnowflakeOutputWithContext(ct return o } -func (o SecretsMountSnowflakeOutput) ToOutput(ctx context.Context) pulumix.Output[SecretsMountSnowflake] { - return pulumix.Output[SecretsMountSnowflake]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretsMountSnowflakeOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -10063,12 +9204,6 @@ func (o SecretsMountSnowflakeArrayOutput) ToSecretsMountSnowflakeArrayOutputWith return o } -func (o SecretsMountSnowflakeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretsMountSnowflake] { - return pulumix.Output[[]SecretsMountSnowflake]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountSnowflakeArrayOutput) Index(i pulumi.IntInput) SecretsMountSnowflakeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretsMountSnowflake { return vs[0].([]SecretsMountSnowflake)[vs[1].(int)] diff --git a/sdk/go/vault/database/secretBackendConnection.go b/sdk/go/vault/database/secretBackendConnection.go index 63f613997..71ad506a3 100644 --- a/sdk/go/vault/database/secretBackendConnection.go +++ b/sdk/go/vault/database/secretBackendConnection.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -435,12 +434,6 @@ func (i *SecretBackendConnection) ToSecretBackendConnectionOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionOutput) } -func (i *SecretBackendConnection) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnection] { - return pulumix.Output[*SecretBackendConnection]{ - OutputState: i.ToSecretBackendConnectionOutputWithContext(ctx).OutputState, - } -} - // SecretBackendConnectionArrayInput is an input type that accepts SecretBackendConnectionArray and SecretBackendConnectionArrayOutput values. // You can construct a concrete instance of `SecretBackendConnectionArrayInput` via: // @@ -466,12 +459,6 @@ func (i SecretBackendConnectionArray) ToSecretBackendConnectionArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionArrayOutput) } -func (i SecretBackendConnectionArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendConnection] { - return pulumix.Output[[]*SecretBackendConnection]{ - OutputState: i.ToSecretBackendConnectionArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendConnectionMapInput is an input type that accepts SecretBackendConnectionMap and SecretBackendConnectionMapOutput values. // You can construct a concrete instance of `SecretBackendConnectionMapInput` via: // @@ -497,12 +484,6 @@ func (i SecretBackendConnectionMap) ToSecretBackendConnectionMapOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConnectionMapOutput) } -func (i SecretBackendConnectionMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendConnection] { - return pulumix.Output[map[string]*SecretBackendConnection]{ - OutputState: i.ToSecretBackendConnectionMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConnectionOutput struct{ *pulumi.OutputState } func (SecretBackendConnectionOutput) ElementType() reflect.Type { @@ -517,12 +498,6 @@ func (o SecretBackendConnectionOutput) ToSecretBackendConnectionOutputWithContex return o } -func (o SecretBackendConnectionOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConnection] { - return pulumix.Output[*SecretBackendConnection]{ - OutputState: o.OutputState, - } -} - // A list of roles that are allowed to use this // connection. func (o SecretBackendConnectionOutput) AllowedRoles() pulumi.StringArrayOutput { @@ -676,12 +651,6 @@ func (o SecretBackendConnectionArrayOutput) ToSecretBackendConnectionArrayOutput return o } -func (o SecretBackendConnectionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendConnection] { - return pulumix.Output[[]*SecretBackendConnection]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionArrayOutput) Index(i pulumi.IntInput) SecretBackendConnectionOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendConnection { return vs[0].([]*SecretBackendConnection)[vs[1].(int)] @@ -702,12 +671,6 @@ func (o SecretBackendConnectionMapOutput) ToSecretBackendConnectionMapOutputWith return o } -func (o SecretBackendConnectionMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendConnection] { - return pulumix.Output[map[string]*SecretBackendConnection]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConnectionMapOutput) MapIndex(k pulumi.StringInput) SecretBackendConnectionOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendConnection { return vs[0].(map[string]*SecretBackendConnection)[vs[1].(string)] diff --git a/sdk/go/vault/database/secretBackendRole.go b/sdk/go/vault/database/secretBackendRole.go index e87876a1c..9eec13891 100644 --- a/sdk/go/vault/database/secretBackendRole.go +++ b/sdk/go/vault/database/secretBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -351,12 +350,6 @@ func (i *SecretBackendRole) ToSecretBackendRoleOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleOutput) } -func (i *SecretBackendRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleArrayInput is an input type that accepts SecretBackendRoleArray and SecretBackendRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleArrayInput` via: // @@ -382,12 +375,6 @@ func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleArrayOutput) } -func (i SecretBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleMapInput is an input type that accepts SecretBackendRoleMap and SecretBackendRoleMapOutput values. // You can construct a concrete instance of `SecretBackendRoleMapInput` via: // @@ -413,12 +400,6 @@ func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleMapOutput) } -func (i SecretBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleOutput struct{ *pulumi.OutputState } func (SecretBackendRoleOutput) ElementType() reflect.Type { @@ -433,12 +414,6 @@ func (o SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext(ctx contex return o } -func (o SecretBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - // The unique name of the Vault mount to configure. func (o SecretBackendRoleOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackendRole) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -528,12 +503,6 @@ func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext( return o } -func (o SecretBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].([]*SecretBackendRole)[vs[1].(int)] @@ -554,12 +523,6 @@ func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext(ctx return o } -func (o SecretBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].(map[string]*SecretBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/database/secretBackendStaticRole.go b/sdk/go/vault/database/secretBackendStaticRole.go index 4545e7ee7..fb0404183 100644 --- a/sdk/go/vault/database/secretBackendStaticRole.go +++ b/sdk/go/vault/database/secretBackendStaticRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Database Secret Backend static role in Vault. Database secret backend @@ -309,12 +308,6 @@ func (i *SecretBackendStaticRole) ToSecretBackendStaticRoleOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleOutput) } -func (i *SecretBackendStaticRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendStaticRole] { - return pulumix.Output[*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendStaticRoleArrayInput is an input type that accepts SecretBackendStaticRoleArray and SecretBackendStaticRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendStaticRoleArrayInput` via: // @@ -340,12 +333,6 @@ func (i SecretBackendStaticRoleArray) ToSecretBackendStaticRoleArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleArrayOutput) } -func (i SecretBackendStaticRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendStaticRole] { - return pulumix.Output[[]*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendStaticRoleMapInput is an input type that accepts SecretBackendStaticRoleMap and SecretBackendStaticRoleMapOutput values. // You can construct a concrete instance of `SecretBackendStaticRoleMapInput` via: // @@ -371,12 +358,6 @@ func (i SecretBackendStaticRoleMap) ToSecretBackendStaticRoleMapOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleMapOutput) } -func (i SecretBackendStaticRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendStaticRole] { - return pulumix.Output[map[string]*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendStaticRoleOutput struct{ *pulumi.OutputState } func (SecretBackendStaticRoleOutput) ElementType() reflect.Type { @@ -391,12 +372,6 @@ func (o SecretBackendStaticRoleOutput) ToSecretBackendStaticRoleOutputWithContex return o } -func (o SecretBackendStaticRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendStaticRole] { - return pulumix.Output[*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - // The unique name of the Vault mount to configure. func (o SecretBackendStaticRoleOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackendStaticRole) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -465,12 +440,6 @@ func (o SecretBackendStaticRoleArrayOutput) ToSecretBackendStaticRoleArrayOutput return o } -func (o SecretBackendStaticRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendStaticRole] { - return pulumix.Output[[]*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendStaticRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendStaticRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendStaticRole { return vs[0].([]*SecretBackendStaticRole)[vs[1].(int)] @@ -491,12 +460,6 @@ func (o SecretBackendStaticRoleMapOutput) ToSecretBackendStaticRoleMapOutputWith return o } -func (o SecretBackendStaticRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendStaticRole] { - return pulumix.Output[map[string]*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendStaticRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendStaticRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendStaticRole { return vs[0].(map[string]*SecretBackendStaticRole)[vs[1].(string)] diff --git a/sdk/go/vault/database/secretsMount.go b/sdk/go/vault/database/secretsMount.go index e7fe8e6b0..80394c430 100644 --- a/sdk/go/vault/database/secretsMount.go +++ b/sdk/go/vault/database/secretsMount.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -587,12 +586,6 @@ func (i *SecretsMount) ToSecretsMountOutputWithContext(ctx context.Context) Secr return pulumi.ToOutputWithContext(ctx, i).(SecretsMountOutput) } -func (i *SecretsMount) ToOutput(ctx context.Context) pulumix.Output[*SecretsMount] { - return pulumix.Output[*SecretsMount]{ - OutputState: i.ToSecretsMountOutputWithContext(ctx).OutputState, - } -} - // SecretsMountArrayInput is an input type that accepts SecretsMountArray and SecretsMountArrayOutput values. // You can construct a concrete instance of `SecretsMountArrayInput` via: // @@ -618,12 +611,6 @@ func (i SecretsMountArray) ToSecretsMountArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(SecretsMountArrayOutput) } -func (i SecretsMountArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretsMount] { - return pulumix.Output[[]*SecretsMount]{ - OutputState: i.ToSecretsMountArrayOutputWithContext(ctx).OutputState, - } -} - // SecretsMountMapInput is an input type that accepts SecretsMountMap and SecretsMountMapOutput values. // You can construct a concrete instance of `SecretsMountMapInput` via: // @@ -649,12 +636,6 @@ func (i SecretsMountMap) ToSecretsMountMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretsMountMapOutput) } -func (i SecretsMountMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretsMount] { - return pulumix.Output[map[string]*SecretsMount]{ - OutputState: i.ToSecretsMountMapOutputWithContext(ctx).OutputState, - } -} - type SecretsMountOutput struct{ *pulumi.OutputState } func (SecretsMountOutput) ElementType() reflect.Type { @@ -669,12 +650,6 @@ func (o SecretsMountOutput) ToSecretsMountOutputWithContext(ctx context.Context) return o } -func (o SecretsMountOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretsMount] { - return pulumix.Output[*SecretsMount]{ - OutputState: o.OutputState, - } -} - // Accessor of the mount func (o SecretsMountOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *SecretsMount) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -869,12 +844,6 @@ func (o SecretsMountArrayOutput) ToSecretsMountArrayOutputWithContext(ctx contex return o } -func (o SecretsMountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretsMount] { - return pulumix.Output[[]*SecretsMount]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountArrayOutput) Index(i pulumi.IntInput) SecretsMountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretsMount { return vs[0].([]*SecretsMount)[vs[1].(int)] @@ -895,12 +864,6 @@ func (o SecretsMountMapOutput) ToSecretsMountMapOutputWithContext(ctx context.Co return o } -func (o SecretsMountMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretsMount] { - return pulumix.Output[map[string]*SecretsMount]{ - OutputState: o.OutputState, - } -} - func (o SecretsMountMapOutput) MapIndex(k pulumi.StringInput) SecretsMountOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretsMount { return vs[0].(map[string]*SecretsMount)[vs[1].(string)] diff --git a/sdk/go/vault/egpPolicy.go b/sdk/go/vault/egpPolicy.go index 1c9bd96df..85c2fab1e 100644 --- a/sdk/go/vault/egpPolicy.go +++ b/sdk/go/vault/egpPolicy.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage Endpoint Governing Policy (EGP) via [Sentinel](https://www.vaultproject.io/docs/enterprise/sentinel/index.html). @@ -194,12 +193,6 @@ func (i *EgpPolicy) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPolicyO return pulumi.ToOutputWithContext(ctx, i).(EgpPolicyOutput) } -func (i *EgpPolicy) ToOutput(ctx context.Context) pulumix.Output[*EgpPolicy] { - return pulumix.Output[*EgpPolicy]{ - OutputState: i.ToEgpPolicyOutputWithContext(ctx).OutputState, - } -} - // EgpPolicyArrayInput is an input type that accepts EgpPolicyArray and EgpPolicyArrayOutput values. // You can construct a concrete instance of `EgpPolicyArrayInput` via: // @@ -225,12 +218,6 @@ func (i EgpPolicyArray) ToEgpPolicyArrayOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EgpPolicyArrayOutput) } -func (i EgpPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*EgpPolicy] { - return pulumix.Output[[]*EgpPolicy]{ - OutputState: i.ToEgpPolicyArrayOutputWithContext(ctx).OutputState, - } -} - // EgpPolicyMapInput is an input type that accepts EgpPolicyMap and EgpPolicyMapOutput values. // You can construct a concrete instance of `EgpPolicyMapInput` via: // @@ -256,12 +243,6 @@ func (i EgpPolicyMap) ToEgpPolicyMapOutputWithContext(ctx context.Context) EgpPo return pulumi.ToOutputWithContext(ctx, i).(EgpPolicyMapOutput) } -func (i EgpPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EgpPolicy] { - return pulumix.Output[map[string]*EgpPolicy]{ - OutputState: i.ToEgpPolicyMapOutputWithContext(ctx).OutputState, - } -} - type EgpPolicyOutput struct{ *pulumi.OutputState } func (EgpPolicyOutput) ElementType() reflect.Type { @@ -276,12 +257,6 @@ func (o EgpPolicyOutput) ToEgpPolicyOutputWithContext(ctx context.Context) EgpPo return o } -func (o EgpPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*EgpPolicy] { - return pulumix.Output[*EgpPolicy]{ - OutputState: o.OutputState, - } -} - // Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory` func (o EgpPolicyOutput) EnforcementLevel() pulumi.StringOutput { return o.ApplyT(func(v *EgpPolicy) pulumi.StringOutput { return v.EnforcementLevel }).(pulumi.StringOutput) @@ -324,12 +299,6 @@ func (o EgpPolicyArrayOutput) ToEgpPolicyArrayOutputWithContext(ctx context.Cont return o } -func (o EgpPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EgpPolicy] { - return pulumix.Output[[]*EgpPolicy]{ - OutputState: o.OutputState, - } -} - func (o EgpPolicyArrayOutput) Index(i pulumi.IntInput) EgpPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *EgpPolicy { return vs[0].([]*EgpPolicy)[vs[1].(int)] @@ -350,12 +319,6 @@ func (o EgpPolicyMapOutput) ToEgpPolicyMapOutputWithContext(ctx context.Context) return o } -func (o EgpPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EgpPolicy] { - return pulumix.Output[map[string]*EgpPolicy]{ - OutputState: o.OutputState, - } -} - func (o EgpPolicyMapOutput) MapIndex(k pulumi.StringInput) EgpPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *EgpPolicy { return vs[0].(map[string]*EgpPolicy)[vs[1].(string)] diff --git a/sdk/go/vault/gcp/authBackend.go b/sdk/go/vault/gcp/authBackend.go index eac619a93..f3da436be 100644 --- a/sdk/go/vault/gcp/authBackend.go +++ b/sdk/go/vault/gcp/authBackend.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to configure the [GCP auth backend within Vault](https://www.vaultproject.io/docs/auth/gcp.html). @@ -312,12 +311,6 @@ func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBa return pulumi.ToOutputWithContext(ctx, i).(AuthBackendOutput) } -func (i *AuthBackend) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: i.ToAuthBackendOutputWithContext(ctx).OutputState, - } -} - // AuthBackendArrayInput is an input type that accepts AuthBackendArray and AuthBackendArrayOutput values. // You can construct a concrete instance of `AuthBackendArrayInput` via: // @@ -343,12 +336,6 @@ func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendArrayOutput) } -func (i AuthBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: i.ToAuthBackendArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendMapInput is an input type that accepts AuthBackendMap and AuthBackendMapOutput values. // You can construct a concrete instance of `AuthBackendMapInput` via: // @@ -374,12 +361,6 @@ func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthBackendMapOutput) } -func (i AuthBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: i.ToAuthBackendMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendOutput struct{ *pulumi.OutputState } func (AuthBackendOutput) ElementType() reflect.Type { @@ -394,12 +375,6 @@ func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) A return o } -func (o AuthBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: o.OutputState, - } -} - // The mount accessor related to the auth mount. It is useful for integration with [Identity Secrets Engine](https://www.vaultproject.io/docs/secrets/identity/index.html). func (o AuthBackendOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackend) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -484,12 +459,6 @@ func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context. return o } -func (o AuthBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].([]*AuthBackend)[vs[1].(int)] @@ -510,12 +479,6 @@ func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Cont return o } -func (o AuthBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].(map[string]*AuthBackend)[vs[1].(string)] diff --git a/sdk/go/vault/gcp/authBackendRole.go b/sdk/go/vault/gcp/authBackendRole.go index da68f80a5..aa4514d93 100644 --- a/sdk/go/vault/gcp/authBackendRole.go +++ b/sdk/go/vault/gcp/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to create a role in an [GCP auth backend within Vault](https://www.vaultproject.io/docs/auth/gcp.html). @@ -468,12 +467,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -499,12 +492,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -530,12 +517,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -550,12 +531,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleOutput) AddGroupAliases() pulumi.BoolOutput { return o.ApplyT(func(v *AuthBackendRole) pulumi.BoolOutput { return v.AddGroupAliases }).(pulumi.BoolOutput) } @@ -699,12 +674,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -725,12 +694,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/gcp/getAuthBackendRole.go b/sdk/go/vault/gcp/getAuthBackendRole.go index 021dab333..e0e1531d1 100644 --- a/sdk/go/vault/gcp/getAuthBackendRole.go +++ b/sdk/go/vault/gcp/getAuthBackendRole.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Reads a GCP auth role from a Vault server. @@ -242,12 +241,6 @@ func (o LookupAuthBackendRoleResultOutput) ToLookupAuthBackendRoleResultOutputWi return o } -func (o LookupAuthBackendRoleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthBackendRoleResult] { - return pulumix.Output[LookupAuthBackendRoleResult]{ - OutputState: o.OutputState, - } -} - func (o LookupAuthBackendRoleResultOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupAuthBackendRoleResult) *string { return v.Backend }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/vault/gcp/pulumiTypes.go b/sdk/go/vault/gcp/pulumiTypes.go index be238e689..4a98158e4 100644 --- a/sdk/go/vault/gcp/pulumiTypes.go +++ b/sdk/go/vault/gcp/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -69,12 +68,6 @@ func (i AuthBackendCustomEndpointArgs) ToAuthBackendCustomEndpointOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendCustomEndpointOutput) } -func (i AuthBackendCustomEndpointArgs) ToOutput(ctx context.Context) pulumix.Output[AuthBackendCustomEndpoint] { - return pulumix.Output[AuthBackendCustomEndpoint]{ - OutputState: i.ToAuthBackendCustomEndpointOutputWithContext(ctx).OutputState, - } -} - func (i AuthBackendCustomEndpointArgs) ToAuthBackendCustomEndpointPtrOutput() AuthBackendCustomEndpointPtrOutput { return i.ToAuthBackendCustomEndpointPtrOutputWithContext(context.Background()) } @@ -116,12 +109,6 @@ func (i *authBackendCustomEndpointPtrType) ToAuthBackendCustomEndpointPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(AuthBackendCustomEndpointPtrOutput) } -func (i *authBackendCustomEndpointPtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendCustomEndpoint] { - return pulumix.Output[*AuthBackendCustomEndpoint]{ - OutputState: i.ToAuthBackendCustomEndpointPtrOutputWithContext(ctx).OutputState, - } -} - type AuthBackendCustomEndpointOutput struct{ *pulumi.OutputState } func (AuthBackendCustomEndpointOutput) ElementType() reflect.Type { @@ -146,12 +133,6 @@ func (o AuthBackendCustomEndpointOutput) ToAuthBackendCustomEndpointPtrOutputWit }).(AuthBackendCustomEndpointPtrOutput) } -func (o AuthBackendCustomEndpointOutput) ToOutput(ctx context.Context) pulumix.Output[AuthBackendCustomEndpoint] { - return pulumix.Output[AuthBackendCustomEndpoint]{ - OutputState: o.OutputState, - } -} - // Replaces the service endpoint used in API requests to `https://www.googleapis.com`. func (o AuthBackendCustomEndpointOutput) Api() pulumi.StringPtrOutput { return o.ApplyT(func(v AuthBackendCustomEndpoint) *string { return v.Api }).(pulumi.StringPtrOutput) @@ -191,12 +172,6 @@ func (o AuthBackendCustomEndpointPtrOutput) ToAuthBackendCustomEndpointPtrOutput return o } -func (o AuthBackendCustomEndpointPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendCustomEndpoint] { - return pulumix.Output[*AuthBackendCustomEndpoint]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendCustomEndpointPtrOutput) Elem() AuthBackendCustomEndpointOutput { return o.ApplyT(func(v *AuthBackendCustomEndpoint) AuthBackendCustomEndpoint { if v != nil { @@ -289,12 +264,6 @@ func (i SecretRolesetBindingArgs) ToSecretRolesetBindingOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretRolesetBindingOutput) } -func (i SecretRolesetBindingArgs) ToOutput(ctx context.Context) pulumix.Output[SecretRolesetBinding] { - return pulumix.Output[SecretRolesetBinding]{ - OutputState: i.ToSecretRolesetBindingOutputWithContext(ctx).OutputState, - } -} - // SecretRolesetBindingArrayInput is an input type that accepts SecretRolesetBindingArray and SecretRolesetBindingArrayOutput values. // You can construct a concrete instance of `SecretRolesetBindingArrayInput` via: // @@ -320,12 +289,6 @@ func (i SecretRolesetBindingArray) ToSecretRolesetBindingArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SecretRolesetBindingArrayOutput) } -func (i SecretRolesetBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretRolesetBinding] { - return pulumix.Output[[]SecretRolesetBinding]{ - OutputState: i.ToSecretRolesetBindingArrayOutputWithContext(ctx).OutputState, - } -} - type SecretRolesetBindingOutput struct{ *pulumi.OutputState } func (SecretRolesetBindingOutput) ElementType() reflect.Type { @@ -340,12 +303,6 @@ func (o SecretRolesetBindingOutput) ToSecretRolesetBindingOutputWithContext(ctx return o } -func (o SecretRolesetBindingOutput) ToOutput(ctx context.Context) pulumix.Output[SecretRolesetBinding] { - return pulumix.Output[SecretRolesetBinding]{ - OutputState: o.OutputState, - } -} - // Resource or resource path for which IAM policy information will be bound. The resource path may be specified in a few different [formats](https://www.vaultproject.io/docs/secrets/gcp/index.html#roleset-bindings). func (o SecretRolesetBindingOutput) Resource() pulumi.StringOutput { return o.ApplyT(func(v SecretRolesetBinding) string { return v.Resource }).(pulumi.StringOutput) @@ -370,12 +327,6 @@ func (o SecretRolesetBindingArrayOutput) ToSecretRolesetBindingArrayOutputWithCo return o } -func (o SecretRolesetBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretRolesetBinding] { - return pulumix.Output[[]SecretRolesetBinding]{ - OutputState: o.OutputState, - } -} - func (o SecretRolesetBindingArrayOutput) Index(i pulumi.IntInput) SecretRolesetBindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretRolesetBinding { return vs[0].([]SecretRolesetBinding)[vs[1].(int)] @@ -419,12 +370,6 @@ func (i SecretStaticAccountBindingArgs) ToSecretStaticAccountBindingOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretStaticAccountBindingOutput) } -func (i SecretStaticAccountBindingArgs) ToOutput(ctx context.Context) pulumix.Output[SecretStaticAccountBinding] { - return pulumix.Output[SecretStaticAccountBinding]{ - OutputState: i.ToSecretStaticAccountBindingOutputWithContext(ctx).OutputState, - } -} - // SecretStaticAccountBindingArrayInput is an input type that accepts SecretStaticAccountBindingArray and SecretStaticAccountBindingArrayOutput values. // You can construct a concrete instance of `SecretStaticAccountBindingArrayInput` via: // @@ -450,12 +395,6 @@ func (i SecretStaticAccountBindingArray) ToSecretStaticAccountBindingArrayOutput return pulumi.ToOutputWithContext(ctx, i).(SecretStaticAccountBindingArrayOutput) } -func (i SecretStaticAccountBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretStaticAccountBinding] { - return pulumix.Output[[]SecretStaticAccountBinding]{ - OutputState: i.ToSecretStaticAccountBindingArrayOutputWithContext(ctx).OutputState, - } -} - type SecretStaticAccountBindingOutput struct{ *pulumi.OutputState } func (SecretStaticAccountBindingOutput) ElementType() reflect.Type { @@ -470,12 +409,6 @@ func (o SecretStaticAccountBindingOutput) ToSecretStaticAccountBindingOutputWith return o } -func (o SecretStaticAccountBindingOutput) ToOutput(ctx context.Context) pulumix.Output[SecretStaticAccountBinding] { - return pulumix.Output[SecretStaticAccountBinding]{ - OutputState: o.OutputState, - } -} - // Resource or resource path for which IAM policy information will be bound. The resource path may be specified in a few different [formats](https://www.vaultproject.io/docs/secrets/gcp/index.html#bindings). func (o SecretStaticAccountBindingOutput) Resource() pulumi.StringOutput { return o.ApplyT(func(v SecretStaticAccountBinding) string { return v.Resource }).(pulumi.StringOutput) @@ -500,12 +433,6 @@ func (o SecretStaticAccountBindingArrayOutput) ToSecretStaticAccountBindingArray return o } -func (o SecretStaticAccountBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretStaticAccountBinding] { - return pulumix.Output[[]SecretStaticAccountBinding]{ - OutputState: o.OutputState, - } -} - func (o SecretStaticAccountBindingArrayOutput) Index(i pulumi.IntInput) SecretStaticAccountBindingOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretStaticAccountBinding { return vs[0].([]SecretStaticAccountBinding)[vs[1].(int)] diff --git a/sdk/go/vault/gcp/secretBackend.go b/sdk/go/vault/gcp/secretBackend.go index 5463ab0f8..5a800b8af 100644 --- a/sdk/go/vault/gcp/secretBackend.go +++ b/sdk/go/vault/gcp/secretBackend.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -243,12 +242,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -274,12 +267,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -305,12 +292,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -325,12 +306,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // JSON-encoded credentials to use to connect to GCP func (o SecretBackendOutput) Credentials() pulumi.StringPtrOutput { return o.ApplyT(func(v *SecretBackend) pulumi.StringPtrOutput { return v.Credentials }).(pulumi.StringPtrOutput) @@ -392,12 +367,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -418,12 +387,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/gcp/secretImpersonatedAccount.go b/sdk/go/vault/gcp/secretImpersonatedAccount.go index a22199c4e..caec762b3 100644 --- a/sdk/go/vault/gcp/secretImpersonatedAccount.go +++ b/sdk/go/vault/gcp/secretImpersonatedAccount.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Impersonated Account in the [GCP Secrets Engine](https://www.vaultproject.io/docs/secrets/gcp/index.html) for Vault. @@ -221,12 +220,6 @@ func (i *SecretImpersonatedAccount) ToSecretImpersonatedAccountOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(SecretImpersonatedAccountOutput) } -func (i *SecretImpersonatedAccount) ToOutput(ctx context.Context) pulumix.Output[*SecretImpersonatedAccount] { - return pulumix.Output[*SecretImpersonatedAccount]{ - OutputState: i.ToSecretImpersonatedAccountOutputWithContext(ctx).OutputState, - } -} - // SecretImpersonatedAccountArrayInput is an input type that accepts SecretImpersonatedAccountArray and SecretImpersonatedAccountArrayOutput values. // You can construct a concrete instance of `SecretImpersonatedAccountArrayInput` via: // @@ -252,12 +245,6 @@ func (i SecretImpersonatedAccountArray) ToSecretImpersonatedAccountArrayOutputWi return pulumi.ToOutputWithContext(ctx, i).(SecretImpersonatedAccountArrayOutput) } -func (i SecretImpersonatedAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretImpersonatedAccount] { - return pulumix.Output[[]*SecretImpersonatedAccount]{ - OutputState: i.ToSecretImpersonatedAccountArrayOutputWithContext(ctx).OutputState, - } -} - // SecretImpersonatedAccountMapInput is an input type that accepts SecretImpersonatedAccountMap and SecretImpersonatedAccountMapOutput values. // You can construct a concrete instance of `SecretImpersonatedAccountMapInput` via: // @@ -283,12 +270,6 @@ func (i SecretImpersonatedAccountMap) ToSecretImpersonatedAccountMapOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretImpersonatedAccountMapOutput) } -func (i SecretImpersonatedAccountMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretImpersonatedAccount] { - return pulumix.Output[map[string]*SecretImpersonatedAccount]{ - OutputState: i.ToSecretImpersonatedAccountMapOutputWithContext(ctx).OutputState, - } -} - type SecretImpersonatedAccountOutput struct{ *pulumi.OutputState } func (SecretImpersonatedAccountOutput) ElementType() reflect.Type { @@ -303,12 +284,6 @@ func (o SecretImpersonatedAccountOutput) ToSecretImpersonatedAccountOutputWithCo return o } -func (o SecretImpersonatedAccountOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretImpersonatedAccount] { - return pulumix.Output[*SecretImpersonatedAccount]{ - OutputState: o.OutputState, - } -} - // Path where the GCP Secrets Engine is mounted func (o SecretImpersonatedAccountOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretImpersonatedAccount) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -353,12 +328,6 @@ func (o SecretImpersonatedAccountArrayOutput) ToSecretImpersonatedAccountArrayOu return o } -func (o SecretImpersonatedAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretImpersonatedAccount] { - return pulumix.Output[[]*SecretImpersonatedAccount]{ - OutputState: o.OutputState, - } -} - func (o SecretImpersonatedAccountArrayOutput) Index(i pulumi.IntInput) SecretImpersonatedAccountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretImpersonatedAccount { return vs[0].([]*SecretImpersonatedAccount)[vs[1].(int)] @@ -379,12 +348,6 @@ func (o SecretImpersonatedAccountMapOutput) ToSecretImpersonatedAccountMapOutput return o } -func (o SecretImpersonatedAccountMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretImpersonatedAccount] { - return pulumix.Output[map[string]*SecretImpersonatedAccount]{ - OutputState: o.OutputState, - } -} - func (o SecretImpersonatedAccountMapOutput) MapIndex(k pulumi.StringInput) SecretImpersonatedAccountOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretImpersonatedAccount { return vs[0].(map[string]*SecretImpersonatedAccount)[vs[1].(string)] diff --git a/sdk/go/vault/gcp/secretRoleset.go b/sdk/go/vault/gcp/secretRoleset.go index 64cc0cdb7..d0f7fac35 100644 --- a/sdk/go/vault/gcp/secretRoleset.go +++ b/sdk/go/vault/gcp/secretRoleset.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Roleset in the [GCP Secrets Engine](https://www.vaultproject.io/docs/secrets/gcp/index.html) for Vault. @@ -262,12 +261,6 @@ func (i *SecretRoleset) ToSecretRolesetOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretRolesetOutput) } -func (i *SecretRoleset) ToOutput(ctx context.Context) pulumix.Output[*SecretRoleset] { - return pulumix.Output[*SecretRoleset]{ - OutputState: i.ToSecretRolesetOutputWithContext(ctx).OutputState, - } -} - // SecretRolesetArrayInput is an input type that accepts SecretRolesetArray and SecretRolesetArrayOutput values. // You can construct a concrete instance of `SecretRolesetArrayInput` via: // @@ -293,12 +286,6 @@ func (i SecretRolesetArray) ToSecretRolesetArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretRolesetArrayOutput) } -func (i SecretRolesetArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRoleset] { - return pulumix.Output[[]*SecretRoleset]{ - OutputState: i.ToSecretRolesetArrayOutputWithContext(ctx).OutputState, - } -} - // SecretRolesetMapInput is an input type that accepts SecretRolesetMap and SecretRolesetMapOutput values. // You can construct a concrete instance of `SecretRolesetMapInput` via: // @@ -324,12 +311,6 @@ func (i SecretRolesetMap) ToSecretRolesetMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretRolesetMapOutput) } -func (i SecretRolesetMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRoleset] { - return pulumix.Output[map[string]*SecretRoleset]{ - OutputState: i.ToSecretRolesetMapOutputWithContext(ctx).OutputState, - } -} - type SecretRolesetOutput struct{ *pulumi.OutputState } func (SecretRolesetOutput) ElementType() reflect.Type { @@ -344,12 +325,6 @@ func (o SecretRolesetOutput) ToSecretRolesetOutputWithContext(ctx context.Contex return o } -func (o SecretRolesetOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretRoleset] { - return pulumix.Output[*SecretRoleset]{ - OutputState: o.OutputState, - } -} - // Path where the GCP Secrets Engine is mounted func (o SecretRolesetOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretRoleset) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -407,12 +382,6 @@ func (o SecretRolesetArrayOutput) ToSecretRolesetArrayOutputWithContext(ctx cont return o } -func (o SecretRolesetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRoleset] { - return pulumix.Output[[]*SecretRoleset]{ - OutputState: o.OutputState, - } -} - func (o SecretRolesetArrayOutput) Index(i pulumi.IntInput) SecretRolesetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretRoleset { return vs[0].([]*SecretRoleset)[vs[1].(int)] @@ -433,12 +402,6 @@ func (o SecretRolesetMapOutput) ToSecretRolesetMapOutputWithContext(ctx context. return o } -func (o SecretRolesetMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRoleset] { - return pulumix.Output[map[string]*SecretRoleset]{ - OutputState: o.OutputState, - } -} - func (o SecretRolesetMapOutput) MapIndex(k pulumi.StringInput) SecretRolesetOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretRoleset { return vs[0].(map[string]*SecretRoleset)[vs[1].(string)] diff --git a/sdk/go/vault/gcp/secretStaticAccount.go b/sdk/go/vault/gcp/secretStaticAccount.go index 93ef5f20d..9312f2c3a 100644 --- a/sdk/go/vault/gcp/secretStaticAccount.go +++ b/sdk/go/vault/gcp/secretStaticAccount.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a Static Account in the [GCP Secrets Engine](https://www.vaultproject.io/docs/secrets/gcp/index.html) for Vault. @@ -268,12 +267,6 @@ func (i *SecretStaticAccount) ToSecretStaticAccountOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SecretStaticAccountOutput) } -func (i *SecretStaticAccount) ToOutput(ctx context.Context) pulumix.Output[*SecretStaticAccount] { - return pulumix.Output[*SecretStaticAccount]{ - OutputState: i.ToSecretStaticAccountOutputWithContext(ctx).OutputState, - } -} - // SecretStaticAccountArrayInput is an input type that accepts SecretStaticAccountArray and SecretStaticAccountArrayOutput values. // You can construct a concrete instance of `SecretStaticAccountArrayInput` via: // @@ -299,12 +292,6 @@ func (i SecretStaticAccountArray) ToSecretStaticAccountArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretStaticAccountArrayOutput) } -func (i SecretStaticAccountArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretStaticAccount] { - return pulumix.Output[[]*SecretStaticAccount]{ - OutputState: i.ToSecretStaticAccountArrayOutputWithContext(ctx).OutputState, - } -} - // SecretStaticAccountMapInput is an input type that accepts SecretStaticAccountMap and SecretStaticAccountMapOutput values. // You can construct a concrete instance of `SecretStaticAccountMapInput` via: // @@ -330,12 +317,6 @@ func (i SecretStaticAccountMap) ToSecretStaticAccountMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretStaticAccountMapOutput) } -func (i SecretStaticAccountMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretStaticAccount] { - return pulumix.Output[map[string]*SecretStaticAccount]{ - OutputState: i.ToSecretStaticAccountMapOutputWithContext(ctx).OutputState, - } -} - type SecretStaticAccountOutput struct{ *pulumi.OutputState } func (SecretStaticAccountOutput) ElementType() reflect.Type { @@ -350,12 +331,6 @@ func (o SecretStaticAccountOutput) ToSecretStaticAccountOutputWithContext(ctx co return o } -func (o SecretStaticAccountOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretStaticAccount] { - return pulumix.Output[*SecretStaticAccount]{ - OutputState: o.OutputState, - } -} - // Path where the GCP Secrets Engine is mounted func (o SecretStaticAccountOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretStaticAccount) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -413,12 +388,6 @@ func (o SecretStaticAccountArrayOutput) ToSecretStaticAccountArrayOutputWithCont return o } -func (o SecretStaticAccountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretStaticAccount] { - return pulumix.Output[[]*SecretStaticAccount]{ - OutputState: o.OutputState, - } -} - func (o SecretStaticAccountArrayOutput) Index(i pulumi.IntInput) SecretStaticAccountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretStaticAccount { return vs[0].([]*SecretStaticAccount)[vs[1].(int)] @@ -439,12 +408,6 @@ func (o SecretStaticAccountMapOutput) ToSecretStaticAccountMapOutputWithContext( return o } -func (o SecretStaticAccountMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretStaticAccount] { - return pulumix.Output[map[string]*SecretStaticAccount]{ - OutputState: o.OutputState, - } -} - func (o SecretStaticAccountMapOutput) MapIndex(k pulumi.StringInput) SecretStaticAccountOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretStaticAccount { return vs[0].(map[string]*SecretStaticAccount)[vs[1].(string)] diff --git a/sdk/go/vault/generic/endpoint.go b/sdk/go/vault/generic/endpoint.go index fe55ad691..55d132a57 100644 --- a/sdk/go/vault/generic/endpoint.go +++ b/sdk/go/vault/generic/endpoint.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -397,12 +396,6 @@ func (i *Endpoint) ToEndpointOutputWithContext(ctx context.Context) EndpointOutp return pulumi.ToOutputWithContext(ctx, i).(EndpointOutput) } -func (i *Endpoint) ToOutput(ctx context.Context) pulumix.Output[*Endpoint] { - return pulumix.Output[*Endpoint]{ - OutputState: i.ToEndpointOutputWithContext(ctx).OutputState, - } -} - // EndpointArrayInput is an input type that accepts EndpointArray and EndpointArrayOutput values. // You can construct a concrete instance of `EndpointArrayInput` via: // @@ -428,12 +421,6 @@ func (i EndpointArray) ToEndpointArrayOutputWithContext(ctx context.Context) End return pulumi.ToOutputWithContext(ctx, i).(EndpointArrayOutput) } -func (i EndpointArray) ToOutput(ctx context.Context) pulumix.Output[[]*Endpoint] { - return pulumix.Output[[]*Endpoint]{ - OutputState: i.ToEndpointArrayOutputWithContext(ctx).OutputState, - } -} - // EndpointMapInput is an input type that accepts EndpointMap and EndpointMapOutput values. // You can construct a concrete instance of `EndpointMapInput` via: // @@ -459,12 +446,6 @@ func (i EndpointMap) ToEndpointMapOutputWithContext(ctx context.Context) Endpoin return pulumi.ToOutputWithContext(ctx, i).(EndpointMapOutput) } -func (i EndpointMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Endpoint] { - return pulumix.Output[map[string]*Endpoint]{ - OutputState: i.ToEndpointMapOutputWithContext(ctx).OutputState, - } -} - type EndpointOutput struct{ *pulumi.OutputState } func (EndpointOutput) ElementType() reflect.Type { @@ -479,12 +460,6 @@ func (o EndpointOutput) ToEndpointOutputWithContext(ctx context.Context) Endpoin return o } -func (o EndpointOutput) ToOutput(ctx context.Context) pulumix.Output[*Endpoint] { - return pulumix.Output[*Endpoint]{ - OutputState: o.OutputState, - } -} - // String containing a JSON-encoded object that will be // written to the given path as the secret data. func (o EndpointOutput) DataJson() pulumi.StringOutput { @@ -574,12 +549,6 @@ func (o EndpointArrayOutput) ToEndpointArrayOutputWithContext(ctx context.Contex return o } -func (o EndpointArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Endpoint] { - return pulumix.Output[[]*Endpoint]{ - OutputState: o.OutputState, - } -} - func (o EndpointArrayOutput) Index(i pulumi.IntInput) EndpointOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Endpoint { return vs[0].([]*Endpoint)[vs[1].(int)] @@ -600,12 +569,6 @@ func (o EndpointMapOutput) ToEndpointMapOutputWithContext(ctx context.Context) E return o } -func (o EndpointMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Endpoint] { - return pulumix.Output[map[string]*Endpoint]{ - OutputState: o.OutputState, - } -} - func (o EndpointMapOutput) MapIndex(k pulumi.StringInput) EndpointOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Endpoint { return vs[0].(map[string]*Endpoint)[vs[1].(string)] diff --git a/sdk/go/vault/generic/getSecret.go b/sdk/go/vault/generic/getSecret.go index 4abf2ea5d..acc7d7446 100644 --- a/sdk/go/vault/generic/getSecret.go +++ b/sdk/go/vault/generic/getSecret.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -155,12 +154,6 @@ func (o LookupSecretResultOutput) ToLookupSecretResultOutputWithContext(ctx cont return o } -func (o LookupSecretResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretResult] { - return pulumix.Output[LookupSecretResult]{ - OutputState: o.OutputState, - } -} - // A mapping whose keys are the top-level data keys returned from // Vault and whose values are the corresponding values. This map can only // represent string data, so any non-string values returned from Vault are diff --git a/sdk/go/vault/generic/secret.go b/sdk/go/vault/generic/secret.go index 1e5300589..e9be02be2 100644 --- a/sdk/go/vault/generic/secret.go +++ b/sdk/go/vault/generic/secret.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Import @@ -240,12 +239,6 @@ func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput { return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } -func (i *Secret) ToOutput(ctx context.Context) pulumix.Output[*Secret] { - return pulumix.Output[*Secret]{ - OutputState: i.ToSecretOutputWithContext(ctx).OutputState, - } -} - // SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. // You can construct a concrete instance of `SecretArrayInput` via: // @@ -271,12 +264,6 @@ func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretA return pulumi.ToOutputWithContext(ctx, i).(SecretArrayOutput) } -func (i SecretArray) ToOutput(ctx context.Context) pulumix.Output[[]*Secret] { - return pulumix.Output[[]*Secret]{ - OutputState: i.ToSecretArrayOutputWithContext(ctx).OutputState, - } -} - // SecretMapInput is an input type that accepts SecretMap and SecretMapOutput values. // You can construct a concrete instance of `SecretMapInput` via: // @@ -302,12 +289,6 @@ func (i SecretMap) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOu return pulumi.ToOutputWithContext(ctx, i).(SecretMapOutput) } -func (i SecretMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Secret] { - return pulumix.Output[map[string]*Secret]{ - OutputState: i.ToSecretMapOutputWithContext(ctx).OutputState, - } -} - type SecretOutput struct{ *pulumi.OutputState } func (SecretOutput) ElementType() reflect.Type { @@ -322,12 +303,6 @@ func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutpu return o } -func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret] { - return pulumix.Output[*Secret]{ - OutputState: o.OutputState, - } -} - // A mapping whose keys are the top-level data keys returned from // Vault and whose values are the corresponding values. This map can only // represent string data, so any non-string values returned from Vault are @@ -388,12 +363,6 @@ func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) S return o } -func (o SecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Secret] { - return pulumix.Output[[]*Secret]{ - OutputState: o.OutputState, - } -} - func (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Secret { return vs[0].([]*Secret)[vs[1].(int)] @@ -414,12 +383,6 @@ func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) Secre return o } -func (o SecretMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Secret] { - return pulumix.Output[map[string]*Secret]{ - OutputState: o.OutputState, - } -} - func (o SecretMapOutput) MapIndex(k pulumi.StringInput) SecretOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Secret { return vs[0].(map[string]*Secret)[vs[1].(string)] diff --git a/sdk/go/vault/getAuthBackend.go b/sdk/go/vault/getAuthBackend.go index 4777db4bd..98af92289 100644 --- a/sdk/go/vault/getAuthBackend.go +++ b/sdk/go/vault/getAuthBackend.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -123,12 +122,6 @@ func (o LookupAuthBackendResultOutput) ToLookupAuthBackendResultOutputWithContex return o } -func (o LookupAuthBackendResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthBackendResult] { - return pulumix.Output[LookupAuthBackendResult]{ - OutputState: o.OutputState, - } -} - // The accessor for this auth method. func (o LookupAuthBackendResultOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v LookupAuthBackendResult) string { return v.Accessor }).(pulumi.StringOutput) diff --git a/sdk/go/vault/getAuthBackends.go b/sdk/go/vault/getAuthBackends.go index f629fedf9..1030111d1 100644 --- a/sdk/go/vault/getAuthBackends.go +++ b/sdk/go/vault/getAuthBackends.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetAuthBackends(ctx *pulumi.Context, args *GetAuthBackendsArgs, opts ...pulumi.InvokeOption) (*GetAuthBackendsResult, error) { @@ -88,12 +87,6 @@ func (o GetAuthBackendsResultOutput) ToGetAuthBackendsResultOutputWithContext(ct return o } -func (o GetAuthBackendsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetAuthBackendsResult] { - return pulumix.Output[GetAuthBackendsResult]{ - OutputState: o.OutputState, - } -} - // The accessor IDs for the auth methods. func (o GetAuthBackendsResultOutput) Accessors() pulumi.StringArrayOutput { return o.ApplyT(func(v GetAuthBackendsResult) []string { return v.Accessors }).(pulumi.StringArrayOutput) diff --git a/sdk/go/vault/getNomadAccessToken.go b/sdk/go/vault/getNomadAccessToken.go index cd0789f91..9c02c8561 100644 --- a/sdk/go/vault/getNomadAccessToken.go +++ b/sdk/go/vault/getNomadAccessToken.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -147,12 +146,6 @@ func (o GetNomadAccessTokenResultOutput) ToGetNomadAccessTokenResultOutputWithCo return o } -func (o GetNomadAccessTokenResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetNomadAccessTokenResult] { - return pulumix.Output[GetNomadAccessTokenResult]{ - OutputState: o.OutputState, - } -} - // The public identifier for a specific token. It can be used // to look up information about a token or to revoke a token. func (o GetNomadAccessTokenResultOutput) AccessorId() pulumi.StringOutput { diff --git a/sdk/go/vault/getPolicyDocument.go b/sdk/go/vault/getPolicyDocument.go index 2f7de1fdc..c800808c5 100644 --- a/sdk/go/vault/getPolicyDocument.go +++ b/sdk/go/vault/getPolicyDocument.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This is a data source which can be used to construct a HCL representation of an Vault policy document, for use with resources which expect policy documents, such as the `Policy` resource. @@ -121,12 +120,6 @@ func (o GetPolicyDocumentResultOutput) ToGetPolicyDocumentResultOutputWithContex return o } -func (o GetPolicyDocumentResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetPolicyDocumentResult] { - return pulumix.Output[GetPolicyDocumentResult]{ - OutputState: o.OutputState, - } -} - // The above arguments serialized as a standard Vault HCL policy document. func (o GetPolicyDocumentResultOutput) Hcl() pulumi.StringOutput { return o.ApplyT(func(v GetPolicyDocumentResult) string { return v.Hcl }).(pulumi.StringOutput) diff --git a/sdk/go/vault/getRaftAutopilotState.go b/sdk/go/vault/getRaftAutopilotState.go index 5f33815ba..2e2f79848 100644 --- a/sdk/go/vault/getRaftAutopilotState.go +++ b/sdk/go/vault/getRaftAutopilotState.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Displays the state of the raft cluster under integrated storage as seen by @@ -131,12 +130,6 @@ func (o GetRaftAutopilotStateResultOutput) ToGetRaftAutopilotStateResultOutputWi return o } -func (o GetRaftAutopilotStateResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetRaftAutopilotStateResult] { - return pulumix.Output[GetRaftAutopilotStateResult]{ - OutputState: o.OutputState, - } -} - // How many nodes could fail before the cluster becomes unhealthy. func (o GetRaftAutopilotStateResultOutput) FailureTolerance() pulumi.IntOutput { return o.ApplyT(func(v GetRaftAutopilotStateResult) int { return v.FailureTolerance }).(pulumi.IntOutput) diff --git a/sdk/go/vault/github/authBackend.go b/sdk/go/vault/github/authBackend.go index 4b38f4b01..0d7ba28f9 100644 --- a/sdk/go/vault/github/authBackend.go +++ b/sdk/go/vault/github/authBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages a GitHub Auth mount in a Vault server. See the [Vault @@ -425,12 +424,6 @@ func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBa return pulumi.ToOutputWithContext(ctx, i).(AuthBackendOutput) } -func (i *AuthBackend) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: i.ToAuthBackendOutputWithContext(ctx).OutputState, - } -} - // AuthBackendArrayInput is an input type that accepts AuthBackendArray and AuthBackendArrayOutput values. // You can construct a concrete instance of `AuthBackendArrayInput` via: // @@ -456,12 +449,6 @@ func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendArrayOutput) } -func (i AuthBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: i.ToAuthBackendArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendMapInput is an input type that accepts AuthBackendMap and AuthBackendMapOutput values. // You can construct a concrete instance of `AuthBackendMapInput` via: // @@ -487,12 +474,6 @@ func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthBackendMapOutput) } -func (i AuthBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: i.ToAuthBackendMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendOutput struct{ *pulumi.OutputState } func (AuthBackendOutput) ElementType() reflect.Type { @@ -507,12 +488,6 @@ func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) A return o } -func (o AuthBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: o.OutputState, - } -} - // The mount accessor related to the auth mount. It is useful for integration with [Identity Secrets Engine](https://www.vaultproject.io/docs/secrets/identity/index.html). func (o AuthBackendOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackend) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -641,12 +616,6 @@ func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context. return o } -func (o AuthBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].([]*AuthBackend)[vs[1].(int)] @@ -667,12 +636,6 @@ func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Cont return o } -func (o AuthBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].(map[string]*AuthBackend)[vs[1].(string)] diff --git a/sdk/go/vault/github/pulumiTypes.go b/sdk/go/vault/github/pulumiTypes.go index 75d552e6c..80a1cc55e 100644 --- a/sdk/go/vault/github/pulumiTypes.go +++ b/sdk/go/vault/github/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -95,12 +94,6 @@ func (i AuthBackendTuneArgs) ToAuthBackendTuneOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTuneOutput) } -func (i AuthBackendTuneArgs) ToOutput(ctx context.Context) pulumix.Output[AuthBackendTune] { - return pulumix.Output[AuthBackendTune]{ - OutputState: i.ToAuthBackendTuneOutputWithContext(ctx).OutputState, - } -} - func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput { return i.ToAuthBackendTunePtrOutputWithContext(context.Background()) } @@ -142,12 +135,6 @@ func (i *authBackendTunePtrType) ToAuthBackendTunePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTunePtrOutput) } -func (i *authBackendTunePtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendTune] { - return pulumix.Output[*AuthBackendTune]{ - OutputState: i.ToAuthBackendTunePtrOutputWithContext(ctx).OutputState, - } -} - type AuthBackendTuneOutput struct{ *pulumi.OutputState } func (AuthBackendTuneOutput) ElementType() reflect.Type { @@ -172,12 +159,6 @@ func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutputWithContext(ctx context }).(AuthBackendTunePtrOutput) } -func (o AuthBackendTuneOutput) ToOutput(ctx context.Context) pulumix.Output[AuthBackendTune] { - return pulumix.Output[AuthBackendTune]{ - OutputState: o.OutputState, - } -} - // List of headers to whitelist and allowing // a plugin to include them in the response. func (o AuthBackendTuneOutput) AllowedResponseHeaders() pulumi.StringArrayOutput { @@ -242,12 +223,6 @@ func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutputWithContext(ctx cont return o } -func (o AuthBackendTunePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendTune] { - return pulumix.Output[*AuthBackendTune]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendTunePtrOutput) Elem() AuthBackendTuneOutput { return o.ApplyT(func(v *AuthBackendTune) AuthBackendTune { if v != nil { diff --git a/sdk/go/vault/github/team.go b/sdk/go/vault/github/team.go index fb70ce3cb..7dc6b9cb0 100644 --- a/sdk/go/vault/github/team.go +++ b/sdk/go/vault/github/team.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages policy mappings for Github Teams authenticated via Github. See the [Vault @@ -205,12 +204,6 @@ func (i *Team) ToTeamOutputWithContext(ctx context.Context) TeamOutput { return pulumi.ToOutputWithContext(ctx, i).(TeamOutput) } -func (i *Team) ToOutput(ctx context.Context) pulumix.Output[*Team] { - return pulumix.Output[*Team]{ - OutputState: i.ToTeamOutputWithContext(ctx).OutputState, - } -} - // TeamArrayInput is an input type that accepts TeamArray and TeamArrayOutput values. // You can construct a concrete instance of `TeamArrayInput` via: // @@ -236,12 +229,6 @@ func (i TeamArray) ToTeamArrayOutputWithContext(ctx context.Context) TeamArrayOu return pulumi.ToOutputWithContext(ctx, i).(TeamArrayOutput) } -func (i TeamArray) ToOutput(ctx context.Context) pulumix.Output[[]*Team] { - return pulumix.Output[[]*Team]{ - OutputState: i.ToTeamArrayOutputWithContext(ctx).OutputState, - } -} - // TeamMapInput is an input type that accepts TeamMap and TeamMapOutput values. // You can construct a concrete instance of `TeamMapInput` via: // @@ -267,12 +254,6 @@ func (i TeamMap) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOutput { return pulumi.ToOutputWithContext(ctx, i).(TeamMapOutput) } -func (i TeamMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Team] { - return pulumix.Output[map[string]*Team]{ - OutputState: i.ToTeamMapOutputWithContext(ctx).OutputState, - } -} - type TeamOutput struct{ *pulumi.OutputState } func (TeamOutput) ElementType() reflect.Type { @@ -287,12 +268,6 @@ func (o TeamOutput) ToTeamOutputWithContext(ctx context.Context) TeamOutput { return o } -func (o TeamOutput) ToOutput(ctx context.Context) pulumix.Output[*Team] { - return pulumix.Output[*Team]{ - OutputState: o.OutputState, - } -} - // Path where the github auth backend is mounted. Defaults to `github` // if not specified. func (o TeamOutput) Backend() pulumi.StringPtrOutput { @@ -332,12 +307,6 @@ func (o TeamArrayOutput) ToTeamArrayOutputWithContext(ctx context.Context) TeamA return o } -func (o TeamArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Team] { - return pulumix.Output[[]*Team]{ - OutputState: o.OutputState, - } -} - func (o TeamArrayOutput) Index(i pulumi.IntInput) TeamOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Team { return vs[0].([]*Team)[vs[1].(int)] @@ -358,12 +327,6 @@ func (o TeamMapOutput) ToTeamMapOutputWithContext(ctx context.Context) TeamMapOu return o } -func (o TeamMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Team] { - return pulumix.Output[map[string]*Team]{ - OutputState: o.OutputState, - } -} - func (o TeamMapOutput) MapIndex(k pulumi.StringInput) TeamOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Team { return vs[0].(map[string]*Team)[vs[1].(string)] diff --git a/sdk/go/vault/github/user.go b/sdk/go/vault/github/user.go index ce2a7365d..5aaaf0a2b 100644 --- a/sdk/go/vault/github/user.go +++ b/sdk/go/vault/github/user.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages policy mappings for Github Users authenticated via Github. See the [Vault @@ -205,12 +204,6 @@ func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput { return pulumi.ToOutputWithContext(ctx, i).(UserOutput) } -func (i *User) ToOutput(ctx context.Context) pulumix.Output[*User] { - return pulumix.Output[*User]{ - OutputState: i.ToUserOutputWithContext(ctx).OutputState, - } -} - // UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. // You can construct a concrete instance of `UserArrayInput` via: // @@ -236,12 +229,6 @@ func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOu return pulumi.ToOutputWithContext(ctx, i).(UserArrayOutput) } -func (i UserArray) ToOutput(ctx context.Context) pulumix.Output[[]*User] { - return pulumix.Output[[]*User]{ - OutputState: i.ToUserArrayOutputWithContext(ctx).OutputState, - } -} - // UserMapInput is an input type that accepts UserMap and UserMapOutput values. // You can construct a concrete instance of `UserMapInput` via: // @@ -267,12 +254,6 @@ func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput { return pulumi.ToOutputWithContext(ctx, i).(UserMapOutput) } -func (i UserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*User] { - return pulumix.Output[map[string]*User]{ - OutputState: i.ToUserMapOutputWithContext(ctx).OutputState, - } -} - type UserOutput struct{ *pulumi.OutputState } func (UserOutput) ElementType() reflect.Type { @@ -287,12 +268,6 @@ func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput { return o } -func (o UserOutput) ToOutput(ctx context.Context) pulumix.Output[*User] { - return pulumix.Output[*User]{ - OutputState: o.OutputState, - } -} - // Path where the github auth backend is mounted. Defaults to `github` // if not specified. func (o UserOutput) Backend() pulumi.StringPtrOutput { @@ -332,12 +307,6 @@ func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserA return o } -func (o UserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*User] { - return pulumix.Output[[]*User]{ - OutputState: o.OutputState, - } -} - func (o UserArrayOutput) Index(i pulumi.IntInput) UserOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *User { return vs[0].([]*User)[vs[1].(int)] @@ -358,12 +327,6 @@ func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOu return o } -func (o UserMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*User] { - return pulumix.Output[map[string]*User]{ - OutputState: o.OutputState, - } -} - func (o UserMapOutput) MapIndex(k pulumi.StringInput) UserOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *User { return vs[0].(map[string]*User)[vs[1].(string)] diff --git a/sdk/go/vault/identity/entity.go b/sdk/go/vault/identity/entity.go index 0c06472f0..19d0c2a19 100644 --- a/sdk/go/vault/identity/entity.go +++ b/sdk/go/vault/identity/entity.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -201,12 +200,6 @@ func (i *Entity) ToEntityOutputWithContext(ctx context.Context) EntityOutput { return pulumi.ToOutputWithContext(ctx, i).(EntityOutput) } -func (i *Entity) ToOutput(ctx context.Context) pulumix.Output[*Entity] { - return pulumix.Output[*Entity]{ - OutputState: i.ToEntityOutputWithContext(ctx).OutputState, - } -} - // EntityArrayInput is an input type that accepts EntityArray and EntityArrayOutput values. // You can construct a concrete instance of `EntityArrayInput` via: // @@ -232,12 +225,6 @@ func (i EntityArray) ToEntityArrayOutputWithContext(ctx context.Context) EntityA return pulumi.ToOutputWithContext(ctx, i).(EntityArrayOutput) } -func (i EntityArray) ToOutput(ctx context.Context) pulumix.Output[[]*Entity] { - return pulumix.Output[[]*Entity]{ - OutputState: i.ToEntityArrayOutputWithContext(ctx).OutputState, - } -} - // EntityMapInput is an input type that accepts EntityMap and EntityMapOutput values. // You can construct a concrete instance of `EntityMapInput` via: // @@ -263,12 +250,6 @@ func (i EntityMap) ToEntityMapOutputWithContext(ctx context.Context) EntityMapOu return pulumi.ToOutputWithContext(ctx, i).(EntityMapOutput) } -func (i EntityMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Entity] { - return pulumix.Output[map[string]*Entity]{ - OutputState: i.ToEntityMapOutputWithContext(ctx).OutputState, - } -} - type EntityOutput struct{ *pulumi.OutputState } func (EntityOutput) ElementType() reflect.Type { @@ -283,12 +264,6 @@ func (o EntityOutput) ToEntityOutputWithContext(ctx context.Context) EntityOutpu return o } -func (o EntityOutput) ToOutput(ctx context.Context) pulumix.Output[*Entity] { - return pulumix.Output[*Entity]{ - OutputState: o.OutputState, - } -} - // True/false Is this entity currently disabled. Defaults to `false` func (o EntityOutput) Disabled() pulumi.BoolPtrOutput { return o.ApplyT(func(v *Entity) pulumi.BoolPtrOutput { return v.Disabled }).(pulumi.BoolPtrOutput) @@ -336,12 +311,6 @@ func (o EntityArrayOutput) ToEntityArrayOutputWithContext(ctx context.Context) E return o } -func (o EntityArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Entity] { - return pulumix.Output[[]*Entity]{ - OutputState: o.OutputState, - } -} - func (o EntityArrayOutput) Index(i pulumi.IntInput) EntityOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Entity { return vs[0].([]*Entity)[vs[1].(int)] @@ -362,12 +331,6 @@ func (o EntityMapOutput) ToEntityMapOutputWithContext(ctx context.Context) Entit return o } -func (o EntityMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Entity] { - return pulumix.Output[map[string]*Entity]{ - OutputState: o.OutputState, - } -} - func (o EntityMapOutput) MapIndex(k pulumi.StringInput) EntityOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Entity { return vs[0].(map[string]*Entity)[vs[1].(string)] diff --git a/sdk/go/vault/identity/entityAlias.go b/sdk/go/vault/identity/entityAlias.go index c8d8dcde4..acb36f41e 100644 --- a/sdk/go/vault/identity/entityAlias.go +++ b/sdk/go/vault/identity/entityAlias.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -194,12 +193,6 @@ func (i *EntityAlias) ToEntityAliasOutputWithContext(ctx context.Context) Entity return pulumi.ToOutputWithContext(ctx, i).(EntityAliasOutput) } -func (i *EntityAlias) ToOutput(ctx context.Context) pulumix.Output[*EntityAlias] { - return pulumix.Output[*EntityAlias]{ - OutputState: i.ToEntityAliasOutputWithContext(ctx).OutputState, - } -} - // EntityAliasArrayInput is an input type that accepts EntityAliasArray and EntityAliasArrayOutput values. // You can construct a concrete instance of `EntityAliasArrayInput` via: // @@ -225,12 +218,6 @@ func (i EntityAliasArray) ToEntityAliasArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(EntityAliasArrayOutput) } -func (i EntityAliasArray) ToOutput(ctx context.Context) pulumix.Output[[]*EntityAlias] { - return pulumix.Output[[]*EntityAlias]{ - OutputState: i.ToEntityAliasArrayOutputWithContext(ctx).OutputState, - } -} - // EntityAliasMapInput is an input type that accepts EntityAliasMap and EntityAliasMapOutput values. // You can construct a concrete instance of `EntityAliasMapInput` via: // @@ -256,12 +243,6 @@ func (i EntityAliasMap) ToEntityAliasMapOutputWithContext(ctx context.Context) E return pulumi.ToOutputWithContext(ctx, i).(EntityAliasMapOutput) } -func (i EntityAliasMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EntityAlias] { - return pulumix.Output[map[string]*EntityAlias]{ - OutputState: i.ToEntityAliasMapOutputWithContext(ctx).OutputState, - } -} - type EntityAliasOutput struct{ *pulumi.OutputState } func (EntityAliasOutput) ElementType() reflect.Type { @@ -276,12 +257,6 @@ func (o EntityAliasOutput) ToEntityAliasOutputWithContext(ctx context.Context) E return o } -func (o EntityAliasOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityAlias] { - return pulumix.Output[*EntityAlias]{ - OutputState: o.OutputState, - } -} - // Entity ID to which this alias belongs to. func (o EntityAliasOutput) CanonicalId() pulumi.StringOutput { return o.ApplyT(func(v *EntityAlias) pulumi.StringOutput { return v.CanonicalId }).(pulumi.StringOutput) @@ -324,12 +299,6 @@ func (o EntityAliasArrayOutput) ToEntityAliasArrayOutputWithContext(ctx context. return o } -func (o EntityAliasArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EntityAlias] { - return pulumix.Output[[]*EntityAlias]{ - OutputState: o.OutputState, - } -} - func (o EntityAliasArrayOutput) Index(i pulumi.IntInput) EntityAliasOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *EntityAlias { return vs[0].([]*EntityAlias)[vs[1].(int)] @@ -350,12 +319,6 @@ func (o EntityAliasMapOutput) ToEntityAliasMapOutputWithContext(ctx context.Cont return o } -func (o EntityAliasMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EntityAlias] { - return pulumix.Output[map[string]*EntityAlias]{ - OutputState: o.OutputState, - } -} - func (o EntityAliasMapOutput) MapIndex(k pulumi.StringInput) EntityAliasOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *EntityAlias { return vs[0].(map[string]*EntityAlias)[vs[1].(string)] diff --git a/sdk/go/vault/identity/entityPolicies.go b/sdk/go/vault/identity/entityPolicies.go index 49a8173a5..dfcfe3f86 100644 --- a/sdk/go/vault/identity/entityPolicies.go +++ b/sdk/go/vault/identity/entityPolicies.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages policies for an Identity Entity for Vault. The [Identity secrets engine](https://www.vaultproject.io/docs/secrets/identity/index.html) is the identity management solution for Vault. @@ -259,12 +258,6 @@ func (i *EntityPolicies) ToEntityPoliciesOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(EntityPoliciesOutput) } -func (i *EntityPolicies) ToOutput(ctx context.Context) pulumix.Output[*EntityPolicies] { - return pulumix.Output[*EntityPolicies]{ - OutputState: i.ToEntityPoliciesOutputWithContext(ctx).OutputState, - } -} - // EntityPoliciesArrayInput is an input type that accepts EntityPoliciesArray and EntityPoliciesArrayOutput values. // You can construct a concrete instance of `EntityPoliciesArrayInput` via: // @@ -290,12 +283,6 @@ func (i EntityPoliciesArray) ToEntityPoliciesArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(EntityPoliciesArrayOutput) } -func (i EntityPoliciesArray) ToOutput(ctx context.Context) pulumix.Output[[]*EntityPolicies] { - return pulumix.Output[[]*EntityPolicies]{ - OutputState: i.ToEntityPoliciesArrayOutputWithContext(ctx).OutputState, - } -} - // EntityPoliciesMapInput is an input type that accepts EntityPoliciesMap and EntityPoliciesMapOutput values. // You can construct a concrete instance of `EntityPoliciesMapInput` via: // @@ -321,12 +308,6 @@ func (i EntityPoliciesMap) ToEntityPoliciesMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(EntityPoliciesMapOutput) } -func (i EntityPoliciesMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*EntityPolicies] { - return pulumix.Output[map[string]*EntityPolicies]{ - OutputState: i.ToEntityPoliciesMapOutputWithContext(ctx).OutputState, - } -} - type EntityPoliciesOutput struct{ *pulumi.OutputState } func (EntityPoliciesOutput) ElementType() reflect.Type { @@ -341,12 +322,6 @@ func (o EntityPoliciesOutput) ToEntityPoliciesOutputWithContext(ctx context.Cont return o } -func (o EntityPoliciesOutput) ToOutput(ctx context.Context) pulumix.Output[*EntityPolicies] { - return pulumix.Output[*EntityPolicies]{ - OutputState: o.OutputState, - } -} - // Entity ID to assign policies to. func (o EntityPoliciesOutput) EntityId() pulumi.StringOutput { return o.ApplyT(func(v *EntityPolicies) pulumi.StringOutput { return v.EntityId }).(pulumi.StringOutput) @@ -393,12 +368,6 @@ func (o EntityPoliciesArrayOutput) ToEntityPoliciesArrayOutputWithContext(ctx co return o } -func (o EntityPoliciesArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*EntityPolicies] { - return pulumix.Output[[]*EntityPolicies]{ - OutputState: o.OutputState, - } -} - func (o EntityPoliciesArrayOutput) Index(i pulumi.IntInput) EntityPoliciesOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *EntityPolicies { return vs[0].([]*EntityPolicies)[vs[1].(int)] @@ -419,12 +388,6 @@ func (o EntityPoliciesMapOutput) ToEntityPoliciesMapOutputWithContext(ctx contex return o } -func (o EntityPoliciesMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*EntityPolicies] { - return pulumix.Output[map[string]*EntityPolicies]{ - OutputState: o.OutputState, - } -} - func (o EntityPoliciesMapOutput) MapIndex(k pulumi.StringInput) EntityPoliciesOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *EntityPolicies { return vs[0].(map[string]*EntityPolicies)[vs[1].(string)] diff --git a/sdk/go/vault/identity/getEntity.go b/sdk/go/vault/identity/getEntity.go index 4cd3fa50a..8ccb4549e 100644 --- a/sdk/go/vault/identity/getEntity.go +++ b/sdk/go/vault/identity/getEntity.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -167,12 +166,6 @@ func (o LookupEntityResultOutput) ToLookupEntityResultOutputWithContext(ctx cont return o } -func (o LookupEntityResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupEntityResult] { - return pulumix.Output[LookupEntityResult]{ - OutputState: o.OutputState, - } -} - func (o LookupEntityResultOutput) AliasId() pulumi.StringOutput { return o.ApplyT(func(v LookupEntityResult) string { return v.AliasId }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/identity/getGroup.go b/sdk/go/vault/identity/getGroup.go index 1a52827a5..d4b4cba2b 100644 --- a/sdk/go/vault/identity/getGroup.go +++ b/sdk/go/vault/identity/getGroup.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -179,12 +178,6 @@ func (o LookupGroupResultOutput) ToLookupGroupResultOutputWithContext(ctx contex return o } -func (o LookupGroupResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupGroupResult] { - return pulumix.Output[LookupGroupResult]{ - OutputState: o.OutputState, - } -} - // Canonical ID of the Alias func (o LookupGroupResultOutput) AliasCanonicalId() pulumi.StringOutput { return o.ApplyT(func(v LookupGroupResult) string { return v.AliasCanonicalId }).(pulumi.StringOutput) diff --git a/sdk/go/vault/identity/getOidcClientCreds.go b/sdk/go/vault/identity/getOidcClientCreds.go index b7f2baf35..fcd8f1916 100644 --- a/sdk/go/vault/identity/getOidcClientCreds.go +++ b/sdk/go/vault/identity/getOidcClientCreds.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -123,12 +122,6 @@ func (o GetOidcClientCredsResultOutput) ToGetOidcClientCredsResultOutputWithCont return o } -func (o GetOidcClientCredsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetOidcClientCredsResult] { - return pulumix.Output[GetOidcClientCredsResult]{ - OutputState: o.OutputState, - } -} - // The Client ID returned by Vault. func (o GetOidcClientCredsResultOutput) ClientId() pulumi.StringOutput { return o.ApplyT(func(v GetOidcClientCredsResult) string { return v.ClientId }).(pulumi.StringOutput) diff --git a/sdk/go/vault/identity/getOidcOpenidConfig.go b/sdk/go/vault/identity/getOidcOpenidConfig.go index 50b53ddf9..f6a7a25e4 100644 --- a/sdk/go/vault/identity/getOidcOpenidConfig.go +++ b/sdk/go/vault/identity/getOidcOpenidConfig.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -163,12 +162,6 @@ func (o GetOidcOpenidConfigResultOutput) ToGetOidcOpenidConfigResultOutputWithCo return o } -func (o GetOidcOpenidConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetOidcOpenidConfigResult] { - return pulumix.Output[GetOidcOpenidConfigResult]{ - OutputState: o.OutputState, - } -} - // The Authorization Endpoint for the provider. func (o GetOidcOpenidConfigResultOutput) AuthorizationEndpoint() pulumi.StringOutput { return o.ApplyT(func(v GetOidcOpenidConfigResult) string { return v.AuthorizationEndpoint }).(pulumi.StringOutput) diff --git a/sdk/go/vault/identity/getOidcPublicKeys.go b/sdk/go/vault/identity/getOidcPublicKeys.go index 1e60e81bc..60ec4a734 100644 --- a/sdk/go/vault/identity/getOidcPublicKeys.go +++ b/sdk/go/vault/identity/getOidcPublicKeys.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -140,12 +139,6 @@ func (o GetOidcPublicKeysResultOutput) ToGetOidcPublicKeysResultOutputWithContex return o } -func (o GetOidcPublicKeysResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetOidcPublicKeysResult] { - return pulumix.Output[GetOidcPublicKeysResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetOidcPublicKeysResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetOidcPublicKeysResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/vault/identity/group.go b/sdk/go/vault/identity/group.go index a955c269e..4191ba16d 100644 --- a/sdk/go/vault/identity/group.go +++ b/sdk/go/vault/identity/group.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Identity Group for Vault. The [Identity secrets engine](https://www.vaultproject.io/docs/secrets/identity/index.html) is the identity management solution for Vault. @@ -368,12 +367,6 @@ func (i *Group) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return pulumi.ToOutputWithContext(ctx, i).(GroupOutput) } -func (i *Group) ToOutput(ctx context.Context) pulumix.Output[*Group] { - return pulumix.Output[*Group]{ - OutputState: i.ToGroupOutputWithContext(ctx).OutputState, - } -} - // GroupArrayInput is an input type that accepts GroupArray and GroupArrayOutput values. // You can construct a concrete instance of `GroupArrayInput` via: // @@ -399,12 +392,6 @@ func (i GroupArray) ToGroupArrayOutputWithContext(ctx context.Context) GroupArra return pulumi.ToOutputWithContext(ctx, i).(GroupArrayOutput) } -func (i GroupArray) ToOutput(ctx context.Context) pulumix.Output[[]*Group] { - return pulumix.Output[[]*Group]{ - OutputState: i.ToGroupArrayOutputWithContext(ctx).OutputState, - } -} - // GroupMapInput is an input type that accepts GroupMap and GroupMapOutput values. // You can construct a concrete instance of `GroupMapInput` via: // @@ -430,12 +417,6 @@ func (i GroupMap) ToGroupMapOutputWithContext(ctx context.Context) GroupMapOutpu return pulumi.ToOutputWithContext(ctx, i).(GroupMapOutput) } -func (i GroupMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Group] { - return pulumix.Output[map[string]*Group]{ - OutputState: i.ToGroupMapOutputWithContext(ctx).OutputState, - } -} - type GroupOutput struct{ *pulumi.OutputState } func (GroupOutput) ElementType() reflect.Type { @@ -450,12 +431,6 @@ func (o GroupOutput) ToGroupOutputWithContext(ctx context.Context) GroupOutput { return o } -func (o GroupOutput) ToOutput(ctx context.Context) pulumix.Output[*Group] { - return pulumix.Output[*Group]{ - OutputState: o.OutputState, - } -} - // `false` by default. If set to `true`, this resource will ignore any Entity IDs // returned from Vault or specified in the resource. You can use // `identity.GroupMemberEntityIds` to manage Entity IDs for this group in a @@ -531,12 +506,6 @@ func (o GroupArrayOutput) ToGroupArrayOutputWithContext(ctx context.Context) Gro return o } -func (o GroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Group] { - return pulumix.Output[[]*Group]{ - OutputState: o.OutputState, - } -} - func (o GroupArrayOutput) Index(i pulumi.IntInput) GroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Group { return vs[0].([]*Group)[vs[1].(int)] @@ -557,12 +526,6 @@ func (o GroupMapOutput) ToGroupMapOutputWithContext(ctx context.Context) GroupMa return o } -func (o GroupMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Group] { - return pulumix.Output[map[string]*Group]{ - OutputState: o.OutputState, - } -} - func (o GroupMapOutput) MapIndex(k pulumi.StringInput) GroupOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Group { return vs[0].(map[string]*Group)[vs[1].(string)] diff --git a/sdk/go/vault/identity/groupAlias.go b/sdk/go/vault/identity/groupAlias.go index ccb99879e..359a6ab82 100644 --- a/sdk/go/vault/identity/groupAlias.go +++ b/sdk/go/vault/identity/groupAlias.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Identity Group Alias for Vault. The [Identity secrets engine](https://www.vaultproject.io/docs/secrets/identity/index.html) is the identity management solution for Vault. @@ -217,12 +216,6 @@ func (i *GroupAlias) ToGroupAliasOutputWithContext(ctx context.Context) GroupAli return pulumi.ToOutputWithContext(ctx, i).(GroupAliasOutput) } -func (i *GroupAlias) ToOutput(ctx context.Context) pulumix.Output[*GroupAlias] { - return pulumix.Output[*GroupAlias]{ - OutputState: i.ToGroupAliasOutputWithContext(ctx).OutputState, - } -} - // GroupAliasArrayInput is an input type that accepts GroupAliasArray and GroupAliasArrayOutput values. // You can construct a concrete instance of `GroupAliasArrayInput` via: // @@ -248,12 +241,6 @@ func (i GroupAliasArray) ToGroupAliasArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(GroupAliasArrayOutput) } -func (i GroupAliasArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupAlias] { - return pulumix.Output[[]*GroupAlias]{ - OutputState: i.ToGroupAliasArrayOutputWithContext(ctx).OutputState, - } -} - // GroupAliasMapInput is an input type that accepts GroupAliasMap and GroupAliasMapOutput values. // You can construct a concrete instance of `GroupAliasMapInput` via: // @@ -279,12 +266,6 @@ func (i GroupAliasMap) ToGroupAliasMapOutputWithContext(ctx context.Context) Gro return pulumi.ToOutputWithContext(ctx, i).(GroupAliasMapOutput) } -func (i GroupAliasMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupAlias] { - return pulumix.Output[map[string]*GroupAlias]{ - OutputState: i.ToGroupAliasMapOutputWithContext(ctx).OutputState, - } -} - type GroupAliasOutput struct{ *pulumi.OutputState } func (GroupAliasOutput) ElementType() reflect.Type { @@ -299,12 +280,6 @@ func (o GroupAliasOutput) ToGroupAliasOutputWithContext(ctx context.Context) Gro return o } -func (o GroupAliasOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupAlias] { - return pulumix.Output[*GroupAlias]{ - OutputState: o.OutputState, - } -} - // ID of the group to which this is an alias. func (o GroupAliasOutput) CanonicalId() pulumi.StringOutput { return o.ApplyT(func(v *GroupAlias) pulumi.StringOutput { return v.CanonicalId }).(pulumi.StringOutput) @@ -342,12 +317,6 @@ func (o GroupAliasArrayOutput) ToGroupAliasArrayOutputWithContext(ctx context.Co return o } -func (o GroupAliasArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupAlias] { - return pulumix.Output[[]*GroupAlias]{ - OutputState: o.OutputState, - } -} - func (o GroupAliasArrayOutput) Index(i pulumi.IntInput) GroupAliasOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *GroupAlias { return vs[0].([]*GroupAlias)[vs[1].(int)] @@ -368,12 +337,6 @@ func (o GroupAliasMapOutput) ToGroupAliasMapOutputWithContext(ctx context.Contex return o } -func (o GroupAliasMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupAlias] { - return pulumix.Output[map[string]*GroupAlias]{ - OutputState: o.OutputState, - } -} - func (o GroupAliasMapOutput) MapIndex(k pulumi.StringInput) GroupAliasOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *GroupAlias { return vs[0].(map[string]*GroupAlias)[vs[1].(string)] diff --git a/sdk/go/vault/identity/groupMemberEntityIds.go b/sdk/go/vault/identity/groupMemberEntityIds.go index 7e12fcb14..8f0453308 100644 --- a/sdk/go/vault/identity/groupMemberEntityIds.go +++ b/sdk/go/vault/identity/groupMemberEntityIds.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages member entities for an Identity Group for Vault. The [Identity secrets engine](https://www.vaultproject.io/docs/secrets/identity/index.html) is the identity management solution for Vault. @@ -294,12 +293,6 @@ func (i *GroupMemberEntityIds) ToGroupMemberEntityIdsOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(GroupMemberEntityIdsOutput) } -func (i *GroupMemberEntityIds) ToOutput(ctx context.Context) pulumix.Output[*GroupMemberEntityIds] { - return pulumix.Output[*GroupMemberEntityIds]{ - OutputState: i.ToGroupMemberEntityIdsOutputWithContext(ctx).OutputState, - } -} - // GroupMemberEntityIdsArrayInput is an input type that accepts GroupMemberEntityIdsArray and GroupMemberEntityIdsArrayOutput values. // You can construct a concrete instance of `GroupMemberEntityIdsArrayInput` via: // @@ -325,12 +318,6 @@ func (i GroupMemberEntityIdsArray) ToGroupMemberEntityIdsArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(GroupMemberEntityIdsArrayOutput) } -func (i GroupMemberEntityIdsArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupMemberEntityIds] { - return pulumix.Output[[]*GroupMemberEntityIds]{ - OutputState: i.ToGroupMemberEntityIdsArrayOutputWithContext(ctx).OutputState, - } -} - // GroupMemberEntityIdsMapInput is an input type that accepts GroupMemberEntityIdsMap and GroupMemberEntityIdsMapOutput values. // You can construct a concrete instance of `GroupMemberEntityIdsMapInput` via: // @@ -356,12 +343,6 @@ func (i GroupMemberEntityIdsMap) ToGroupMemberEntityIdsMapOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GroupMemberEntityIdsMapOutput) } -func (i GroupMemberEntityIdsMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupMemberEntityIds] { - return pulumix.Output[map[string]*GroupMemberEntityIds]{ - OutputState: i.ToGroupMemberEntityIdsMapOutputWithContext(ctx).OutputState, - } -} - type GroupMemberEntityIdsOutput struct{ *pulumi.OutputState } func (GroupMemberEntityIdsOutput) ElementType() reflect.Type { @@ -376,12 +357,6 @@ func (o GroupMemberEntityIdsOutput) ToGroupMemberEntityIdsOutputWithContext(ctx return o } -func (o GroupMemberEntityIdsOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupMemberEntityIds] { - return pulumix.Output[*GroupMemberEntityIds]{ - OutputState: o.OutputState, - } -} - // Defaults to `true`. // // If `true`, this resource will take exclusive control of the member entities that belong to the group and will set it equal to what is specified in the resource. @@ -433,12 +408,6 @@ func (o GroupMemberEntityIdsArrayOutput) ToGroupMemberEntityIdsArrayOutputWithCo return o } -func (o GroupMemberEntityIdsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupMemberEntityIds] { - return pulumix.Output[[]*GroupMemberEntityIds]{ - OutputState: o.OutputState, - } -} - func (o GroupMemberEntityIdsArrayOutput) Index(i pulumi.IntInput) GroupMemberEntityIdsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *GroupMemberEntityIds { return vs[0].([]*GroupMemberEntityIds)[vs[1].(int)] @@ -459,12 +428,6 @@ func (o GroupMemberEntityIdsMapOutput) ToGroupMemberEntityIdsMapOutputWithContex return o } -func (o GroupMemberEntityIdsMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupMemberEntityIds] { - return pulumix.Output[map[string]*GroupMemberEntityIds]{ - OutputState: o.OutputState, - } -} - func (o GroupMemberEntityIdsMapOutput) MapIndex(k pulumi.StringInput) GroupMemberEntityIdsOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *GroupMemberEntityIds { return vs[0].(map[string]*GroupMemberEntityIds)[vs[1].(string)] diff --git a/sdk/go/vault/identity/groupMemberGroupIds.go b/sdk/go/vault/identity/groupMemberGroupIds.go index 302426525..f66f289c5 100644 --- a/sdk/go/vault/identity/groupMemberGroupIds.go +++ b/sdk/go/vault/identity/groupMemberGroupIds.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages member groups for an Identity Group for Vault. The @@ -279,12 +278,6 @@ func (i *GroupMemberGroupIds) ToGroupMemberGroupIdsOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(GroupMemberGroupIdsOutput) } -func (i *GroupMemberGroupIds) ToOutput(ctx context.Context) pulumix.Output[*GroupMemberGroupIds] { - return pulumix.Output[*GroupMemberGroupIds]{ - OutputState: i.ToGroupMemberGroupIdsOutputWithContext(ctx).OutputState, - } -} - // GroupMemberGroupIdsArrayInput is an input type that accepts GroupMemberGroupIdsArray and GroupMemberGroupIdsArrayOutput values. // You can construct a concrete instance of `GroupMemberGroupIdsArrayInput` via: // @@ -310,12 +303,6 @@ func (i GroupMemberGroupIdsArray) ToGroupMemberGroupIdsArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(GroupMemberGroupIdsArrayOutput) } -func (i GroupMemberGroupIdsArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupMemberGroupIds] { - return pulumix.Output[[]*GroupMemberGroupIds]{ - OutputState: i.ToGroupMemberGroupIdsArrayOutputWithContext(ctx).OutputState, - } -} - // GroupMemberGroupIdsMapInput is an input type that accepts GroupMemberGroupIdsMap and GroupMemberGroupIdsMapOutput values. // You can construct a concrete instance of `GroupMemberGroupIdsMapInput` via: // @@ -341,12 +328,6 @@ func (i GroupMemberGroupIdsMap) ToGroupMemberGroupIdsMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(GroupMemberGroupIdsMapOutput) } -func (i GroupMemberGroupIdsMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupMemberGroupIds] { - return pulumix.Output[map[string]*GroupMemberGroupIds]{ - OutputState: i.ToGroupMemberGroupIdsMapOutputWithContext(ctx).OutputState, - } -} - type GroupMemberGroupIdsOutput struct{ *pulumi.OutputState } func (GroupMemberGroupIdsOutput) ElementType() reflect.Type { @@ -361,12 +342,6 @@ func (o GroupMemberGroupIdsOutput) ToGroupMemberGroupIdsOutputWithContext(ctx co return o } -func (o GroupMemberGroupIdsOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupMemberGroupIds] { - return pulumix.Output[*GroupMemberGroupIds]{ - OutputState: o.OutputState, - } -} - // Defaults to `true`. // // If `true`, this resource will take exclusive control of the member groups that belong to the group and will set @@ -411,12 +386,6 @@ func (o GroupMemberGroupIdsArrayOutput) ToGroupMemberGroupIdsArrayOutputWithCont return o } -func (o GroupMemberGroupIdsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupMemberGroupIds] { - return pulumix.Output[[]*GroupMemberGroupIds]{ - OutputState: o.OutputState, - } -} - func (o GroupMemberGroupIdsArrayOutput) Index(i pulumi.IntInput) GroupMemberGroupIdsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *GroupMemberGroupIds { return vs[0].([]*GroupMemberGroupIds)[vs[1].(int)] @@ -437,12 +406,6 @@ func (o GroupMemberGroupIdsMapOutput) ToGroupMemberGroupIdsMapOutputWithContext( return o } -func (o GroupMemberGroupIdsMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupMemberGroupIds] { - return pulumix.Output[map[string]*GroupMemberGroupIds]{ - OutputState: o.OutputState, - } -} - func (o GroupMemberGroupIdsMapOutput) MapIndex(k pulumi.StringInput) GroupMemberGroupIdsOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *GroupMemberGroupIds { return vs[0].(map[string]*GroupMemberGroupIds)[vs[1].(string)] diff --git a/sdk/go/vault/identity/groupPolicies.go b/sdk/go/vault/identity/groupPolicies.go index e4e6ff5b4..1324cebde 100644 --- a/sdk/go/vault/identity/groupPolicies.go +++ b/sdk/go/vault/identity/groupPolicies.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages policies for an Identity Group for Vault. The [Identity secrets engine](https://www.vaultproject.io/docs/secrets/identity/index.html) is the identity management solution for Vault. @@ -267,12 +266,6 @@ func (i *GroupPolicies) ToGroupPoliciesOutputWithContext(ctx context.Context) Gr return pulumi.ToOutputWithContext(ctx, i).(GroupPoliciesOutput) } -func (i *GroupPolicies) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicies] { - return pulumix.Output[*GroupPolicies]{ - OutputState: i.ToGroupPoliciesOutputWithContext(ctx).OutputState, - } -} - // GroupPoliciesArrayInput is an input type that accepts GroupPoliciesArray and GroupPoliciesArrayOutput values. // You can construct a concrete instance of `GroupPoliciesArrayInput` via: // @@ -298,12 +291,6 @@ func (i GroupPoliciesArray) ToGroupPoliciesArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(GroupPoliciesArrayOutput) } -func (i GroupPoliciesArray) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicies] { - return pulumix.Output[[]*GroupPolicies]{ - OutputState: i.ToGroupPoliciesArrayOutputWithContext(ctx).OutputState, - } -} - // GroupPoliciesMapInput is an input type that accepts GroupPoliciesMap and GroupPoliciesMapOutput values. // You can construct a concrete instance of `GroupPoliciesMapInput` via: // @@ -329,12 +316,6 @@ func (i GroupPoliciesMap) ToGroupPoliciesMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(GroupPoliciesMapOutput) } -func (i GroupPoliciesMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicies] { - return pulumix.Output[map[string]*GroupPolicies]{ - OutputState: i.ToGroupPoliciesMapOutputWithContext(ctx).OutputState, - } -} - type GroupPoliciesOutput struct{ *pulumi.OutputState } func (GroupPoliciesOutput) ElementType() reflect.Type { @@ -349,12 +330,6 @@ func (o GroupPoliciesOutput) ToGroupPoliciesOutputWithContext(ctx context.Contex return o } -func (o GroupPoliciesOutput) ToOutput(ctx context.Context) pulumix.Output[*GroupPolicies] { - return pulumix.Output[*GroupPolicies]{ - OutputState: o.OutputState, - } -} - // Defaults to `true`. // // If `true`, this resource will take exclusive control of the policies assigned to the group and will set it equal to what is specified in the resource. @@ -401,12 +376,6 @@ func (o GroupPoliciesArrayOutput) ToGroupPoliciesArrayOutputWithContext(ctx cont return o } -func (o GroupPoliciesArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*GroupPolicies] { - return pulumix.Output[[]*GroupPolicies]{ - OutputState: o.OutputState, - } -} - func (o GroupPoliciesArrayOutput) Index(i pulumi.IntInput) GroupPoliciesOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *GroupPolicies { return vs[0].([]*GroupPolicies)[vs[1].(int)] @@ -427,12 +396,6 @@ func (o GroupPoliciesMapOutput) ToGroupPoliciesMapOutputWithContext(ctx context. return o } -func (o GroupPoliciesMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*GroupPolicies] { - return pulumix.Output[map[string]*GroupPolicies]{ - OutputState: o.OutputState, - } -} - func (o GroupPoliciesMapOutput) MapIndex(k pulumi.StringInput) GroupPoliciesOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *GroupPolicies { return vs[0].(map[string]*GroupPolicies)[vs[1].(string)] diff --git a/sdk/go/vault/identity/mfaDuo.go b/sdk/go/vault/identity/mfaDuo.go index a4c255482..2aa5694e2 100644 --- a/sdk/go/vault/identity/mfaDuo.go +++ b/sdk/go/vault/identity/mfaDuo.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource for configuring the duo MFA method. @@ -258,12 +257,6 @@ func (i *MfaDuo) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput { return pulumi.ToOutputWithContext(ctx, i).(MfaDuoOutput) } -func (i *MfaDuo) ToOutput(ctx context.Context) pulumix.Output[*MfaDuo] { - return pulumix.Output[*MfaDuo]{ - OutputState: i.ToMfaDuoOutputWithContext(ctx).OutputState, - } -} - // MfaDuoArrayInput is an input type that accepts MfaDuoArray and MfaDuoArrayOutput values. // You can construct a concrete instance of `MfaDuoArrayInput` via: // @@ -289,12 +282,6 @@ func (i MfaDuoArray) ToMfaDuoArrayOutputWithContext(ctx context.Context) MfaDuoA return pulumi.ToOutputWithContext(ctx, i).(MfaDuoArrayOutput) } -func (i MfaDuoArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaDuo] { - return pulumix.Output[[]*MfaDuo]{ - OutputState: i.ToMfaDuoArrayOutputWithContext(ctx).OutputState, - } -} - // MfaDuoMapInput is an input type that accepts MfaDuoMap and MfaDuoMapOutput values. // You can construct a concrete instance of `MfaDuoMapInput` via: // @@ -320,12 +307,6 @@ func (i MfaDuoMap) ToMfaDuoMapOutputWithContext(ctx context.Context) MfaDuoMapOu return pulumi.ToOutputWithContext(ctx, i).(MfaDuoMapOutput) } -func (i MfaDuoMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaDuo] { - return pulumix.Output[map[string]*MfaDuo]{ - OutputState: i.ToMfaDuoMapOutputWithContext(ctx).OutputState, - } -} - type MfaDuoOutput struct{ *pulumi.OutputState } func (MfaDuoOutput) ElementType() reflect.Type { @@ -340,12 +321,6 @@ func (o MfaDuoOutput) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutpu return o } -func (o MfaDuoOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaDuo] { - return pulumix.Output[*MfaDuo]{ - OutputState: o.OutputState, - } -} - // API hostname for Duo func (o MfaDuoOutput) ApiHostname() pulumi.StringOutput { return o.ApplyT(func(v *MfaDuo) pulumi.StringOutput { return v.ApiHostname }).(pulumi.StringOutput) @@ -430,12 +405,6 @@ func (o MfaDuoArrayOutput) ToMfaDuoArrayOutputWithContext(ctx context.Context) M return o } -func (o MfaDuoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaDuo] { - return pulumix.Output[[]*MfaDuo]{ - OutputState: o.OutputState, - } -} - func (o MfaDuoArrayOutput) Index(i pulumi.IntInput) MfaDuoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaDuo { return vs[0].([]*MfaDuo)[vs[1].(int)] @@ -456,12 +425,6 @@ func (o MfaDuoMapOutput) ToMfaDuoMapOutputWithContext(ctx context.Context) MfaDu return o } -func (o MfaDuoMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaDuo] { - return pulumix.Output[map[string]*MfaDuo]{ - OutputState: o.OutputState, - } -} - func (o MfaDuoMapOutput) MapIndex(k pulumi.StringInput) MfaDuoOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaDuo { return vs[0].(map[string]*MfaDuo)[vs[1].(string)] diff --git a/sdk/go/vault/identity/mfaLoginEnforcement.go b/sdk/go/vault/identity/mfaLoginEnforcement.go index 487c41dc9..e56d5d049 100644 --- a/sdk/go/vault/identity/mfaLoginEnforcement.go +++ b/sdk/go/vault/identity/mfaLoginEnforcement.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource for configuring MFA login-enforcement @@ -226,12 +225,6 @@ func (i *MfaLoginEnforcement) ToMfaLoginEnforcementOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(MfaLoginEnforcementOutput) } -func (i *MfaLoginEnforcement) ToOutput(ctx context.Context) pulumix.Output[*MfaLoginEnforcement] { - return pulumix.Output[*MfaLoginEnforcement]{ - OutputState: i.ToMfaLoginEnforcementOutputWithContext(ctx).OutputState, - } -} - // MfaLoginEnforcementArrayInput is an input type that accepts MfaLoginEnforcementArray and MfaLoginEnforcementArrayOutput values. // You can construct a concrete instance of `MfaLoginEnforcementArrayInput` via: // @@ -257,12 +250,6 @@ func (i MfaLoginEnforcementArray) ToMfaLoginEnforcementArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(MfaLoginEnforcementArrayOutput) } -func (i MfaLoginEnforcementArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaLoginEnforcement] { - return pulumix.Output[[]*MfaLoginEnforcement]{ - OutputState: i.ToMfaLoginEnforcementArrayOutputWithContext(ctx).OutputState, - } -} - // MfaLoginEnforcementMapInput is an input type that accepts MfaLoginEnforcementMap and MfaLoginEnforcementMapOutput values. // You can construct a concrete instance of `MfaLoginEnforcementMapInput` via: // @@ -288,12 +275,6 @@ func (i MfaLoginEnforcementMap) ToMfaLoginEnforcementMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(MfaLoginEnforcementMapOutput) } -func (i MfaLoginEnforcementMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaLoginEnforcement] { - return pulumix.Output[map[string]*MfaLoginEnforcement]{ - OutputState: i.ToMfaLoginEnforcementMapOutputWithContext(ctx).OutputState, - } -} - type MfaLoginEnforcementOutput struct{ *pulumi.OutputState } func (MfaLoginEnforcementOutput) ElementType() reflect.Type { @@ -308,12 +289,6 @@ func (o MfaLoginEnforcementOutput) ToMfaLoginEnforcementOutputWithContext(ctx co return o } -func (o MfaLoginEnforcementOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaLoginEnforcement] { - return pulumix.Output[*MfaLoginEnforcement]{ - OutputState: o.OutputState, - } -} - // Set of auth method accessor IDs. func (o MfaLoginEnforcementOutput) AuthMethodAccessors() pulumi.StringArrayOutput { return o.ApplyT(func(v *MfaLoginEnforcement) pulumi.StringArrayOutput { return v.AuthMethodAccessors }).(pulumi.StringArrayOutput) @@ -378,12 +353,6 @@ func (o MfaLoginEnforcementArrayOutput) ToMfaLoginEnforcementArrayOutputWithCont return o } -func (o MfaLoginEnforcementArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaLoginEnforcement] { - return pulumix.Output[[]*MfaLoginEnforcement]{ - OutputState: o.OutputState, - } -} - func (o MfaLoginEnforcementArrayOutput) Index(i pulumi.IntInput) MfaLoginEnforcementOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaLoginEnforcement { return vs[0].([]*MfaLoginEnforcement)[vs[1].(int)] @@ -404,12 +373,6 @@ func (o MfaLoginEnforcementMapOutput) ToMfaLoginEnforcementMapOutputWithContext( return o } -func (o MfaLoginEnforcementMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaLoginEnforcement] { - return pulumix.Output[map[string]*MfaLoginEnforcement]{ - OutputState: o.OutputState, - } -} - func (o MfaLoginEnforcementMapOutput) MapIndex(k pulumi.StringInput) MfaLoginEnforcementOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaLoginEnforcement { return vs[0].(map[string]*MfaLoginEnforcement)[vs[1].(string)] diff --git a/sdk/go/vault/identity/mfaOkta.go b/sdk/go/vault/identity/mfaOkta.go index 9ef97085c..2be881211 100644 --- a/sdk/go/vault/identity/mfaOkta.go +++ b/sdk/go/vault/identity/mfaOkta.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource for configuring the okta MFA method. @@ -241,12 +240,6 @@ func (i *MfaOkta) ToMfaOktaOutputWithContext(ctx context.Context) MfaOktaOutput return pulumi.ToOutputWithContext(ctx, i).(MfaOktaOutput) } -func (i *MfaOkta) ToOutput(ctx context.Context) pulumix.Output[*MfaOkta] { - return pulumix.Output[*MfaOkta]{ - OutputState: i.ToMfaOktaOutputWithContext(ctx).OutputState, - } -} - // MfaOktaArrayInput is an input type that accepts MfaOktaArray and MfaOktaArrayOutput values. // You can construct a concrete instance of `MfaOktaArrayInput` via: // @@ -272,12 +265,6 @@ func (i MfaOktaArray) ToMfaOktaArrayOutputWithContext(ctx context.Context) MfaOk return pulumi.ToOutputWithContext(ctx, i).(MfaOktaArrayOutput) } -func (i MfaOktaArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaOkta] { - return pulumix.Output[[]*MfaOkta]{ - OutputState: i.ToMfaOktaArrayOutputWithContext(ctx).OutputState, - } -} - // MfaOktaMapInput is an input type that accepts MfaOktaMap and MfaOktaMapOutput values. // You can construct a concrete instance of `MfaOktaMapInput` via: // @@ -303,12 +290,6 @@ func (i MfaOktaMap) ToMfaOktaMapOutputWithContext(ctx context.Context) MfaOktaMa return pulumi.ToOutputWithContext(ctx, i).(MfaOktaMapOutput) } -func (i MfaOktaMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaOkta] { - return pulumix.Output[map[string]*MfaOkta]{ - OutputState: i.ToMfaOktaMapOutputWithContext(ctx).OutputState, - } -} - type MfaOktaOutput struct{ *pulumi.OutputState } func (MfaOktaOutput) ElementType() reflect.Type { @@ -323,12 +304,6 @@ func (o MfaOktaOutput) ToMfaOktaOutputWithContext(ctx context.Context) MfaOktaOu return o } -func (o MfaOktaOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaOkta] { - return pulumix.Output[*MfaOkta]{ - OutputState: o.OutputState, - } -} - // Okta API token. func (o MfaOktaOutput) ApiToken() pulumi.StringOutput { return o.ApplyT(func(v *MfaOkta) pulumi.StringOutput { return v.ApiToken }).(pulumi.StringOutput) @@ -408,12 +383,6 @@ func (o MfaOktaArrayOutput) ToMfaOktaArrayOutputWithContext(ctx context.Context) return o } -func (o MfaOktaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaOkta] { - return pulumix.Output[[]*MfaOkta]{ - OutputState: o.OutputState, - } -} - func (o MfaOktaArrayOutput) Index(i pulumi.IntInput) MfaOktaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaOkta { return vs[0].([]*MfaOkta)[vs[1].(int)] @@ -434,12 +403,6 @@ func (o MfaOktaMapOutput) ToMfaOktaMapOutputWithContext(ctx context.Context) Mfa return o } -func (o MfaOktaMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaOkta] { - return pulumix.Output[map[string]*MfaOkta]{ - OutputState: o.OutputState, - } -} - func (o MfaOktaMapOutput) MapIndex(k pulumi.StringInput) MfaOktaOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaOkta { return vs[0].(map[string]*MfaOkta)[vs[1].(string)] diff --git a/sdk/go/vault/identity/mfaPingid.go b/sdk/go/vault/identity/mfaPingid.go index 87abdedcf..bb0d2f881 100644 --- a/sdk/go/vault/identity/mfaPingid.go +++ b/sdk/go/vault/identity/mfaPingid.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource for configuring the pingid MFA method. @@ -229,12 +228,6 @@ func (i *MfaPingid) ToMfaPingidOutputWithContext(ctx context.Context) MfaPingidO return pulumi.ToOutputWithContext(ctx, i).(MfaPingidOutput) } -func (i *MfaPingid) ToOutput(ctx context.Context) pulumix.Output[*MfaPingid] { - return pulumix.Output[*MfaPingid]{ - OutputState: i.ToMfaPingidOutputWithContext(ctx).OutputState, - } -} - // MfaPingidArrayInput is an input type that accepts MfaPingidArray and MfaPingidArrayOutput values. // You can construct a concrete instance of `MfaPingidArrayInput` via: // @@ -260,12 +253,6 @@ func (i MfaPingidArray) ToMfaPingidArrayOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MfaPingidArrayOutput) } -func (i MfaPingidArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaPingid] { - return pulumix.Output[[]*MfaPingid]{ - OutputState: i.ToMfaPingidArrayOutputWithContext(ctx).OutputState, - } -} - // MfaPingidMapInput is an input type that accepts MfaPingidMap and MfaPingidMapOutput values. // You can construct a concrete instance of `MfaPingidMapInput` via: // @@ -291,12 +278,6 @@ func (i MfaPingidMap) ToMfaPingidMapOutputWithContext(ctx context.Context) MfaPi return pulumi.ToOutputWithContext(ctx, i).(MfaPingidMapOutput) } -func (i MfaPingidMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaPingid] { - return pulumix.Output[map[string]*MfaPingid]{ - OutputState: i.ToMfaPingidMapOutputWithContext(ctx).OutputState, - } -} - type MfaPingidOutput struct{ *pulumi.OutputState } func (MfaPingidOutput) ElementType() reflect.Type { @@ -311,12 +292,6 @@ func (o MfaPingidOutput) ToMfaPingidOutputWithContext(ctx context.Context) MfaPi return o } -func (o MfaPingidOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaPingid] { - return pulumix.Output[*MfaPingid]{ - OutputState: o.OutputState, - } -} - // The admin URL, derived from "settingsFileBase64" func (o MfaPingidOutput) AdminUrl() pulumi.StringOutput { return o.ApplyT(func(v *MfaPingid) pulumi.StringOutput { return v.AdminUrl }).(pulumi.StringOutput) @@ -406,12 +381,6 @@ func (o MfaPingidArrayOutput) ToMfaPingidArrayOutputWithContext(ctx context.Cont return o } -func (o MfaPingidArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaPingid] { - return pulumix.Output[[]*MfaPingid]{ - OutputState: o.OutputState, - } -} - func (o MfaPingidArrayOutput) Index(i pulumi.IntInput) MfaPingidOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaPingid { return vs[0].([]*MfaPingid)[vs[1].(int)] @@ -432,12 +401,6 @@ func (o MfaPingidMapOutput) ToMfaPingidMapOutputWithContext(ctx context.Context) return o } -func (o MfaPingidMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaPingid] { - return pulumix.Output[map[string]*MfaPingid]{ - OutputState: o.OutputState, - } -} - func (o MfaPingidMapOutput) MapIndex(k pulumi.StringInput) MfaPingidOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaPingid { return vs[0].(map[string]*MfaPingid)[vs[1].(string)] diff --git a/sdk/go/vault/identity/mfaTotp.go b/sdk/go/vault/identity/mfaTotp.go index 92bfea7d8..e1bd91762 100644 --- a/sdk/go/vault/identity/mfaTotp.go +++ b/sdk/go/vault/identity/mfaTotp.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Resource for configuring the totp MFA method. @@ -259,12 +258,6 @@ func (i *MfaTotp) ToMfaTotpOutputWithContext(ctx context.Context) MfaTotpOutput return pulumi.ToOutputWithContext(ctx, i).(MfaTotpOutput) } -func (i *MfaTotp) ToOutput(ctx context.Context) pulumix.Output[*MfaTotp] { - return pulumix.Output[*MfaTotp]{ - OutputState: i.ToMfaTotpOutputWithContext(ctx).OutputState, - } -} - // MfaTotpArrayInput is an input type that accepts MfaTotpArray and MfaTotpArrayOutput values. // You can construct a concrete instance of `MfaTotpArrayInput` via: // @@ -290,12 +283,6 @@ func (i MfaTotpArray) ToMfaTotpArrayOutputWithContext(ctx context.Context) MfaTo return pulumi.ToOutputWithContext(ctx, i).(MfaTotpArrayOutput) } -func (i MfaTotpArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaTotp] { - return pulumix.Output[[]*MfaTotp]{ - OutputState: i.ToMfaTotpArrayOutputWithContext(ctx).OutputState, - } -} - // MfaTotpMapInput is an input type that accepts MfaTotpMap and MfaTotpMapOutput values. // You can construct a concrete instance of `MfaTotpMapInput` via: // @@ -321,12 +308,6 @@ func (i MfaTotpMap) ToMfaTotpMapOutputWithContext(ctx context.Context) MfaTotpMa return pulumi.ToOutputWithContext(ctx, i).(MfaTotpMapOutput) } -func (i MfaTotpMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaTotp] { - return pulumix.Output[map[string]*MfaTotp]{ - OutputState: i.ToMfaTotpMapOutputWithContext(ctx).OutputState, - } -} - type MfaTotpOutput struct{ *pulumi.OutputState } func (MfaTotpOutput) ElementType() reflect.Type { @@ -341,12 +322,6 @@ func (o MfaTotpOutput) ToMfaTotpOutputWithContext(ctx context.Context) MfaTotpOu return o } -func (o MfaTotpOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaTotp] { - return pulumix.Output[*MfaTotp]{ - OutputState: o.OutputState, - } -} - // Specifies the hashing algorithm used to generate the TOTP code. Options include SHA1, SHA256, SHA512. func (o MfaTotpOutput) Algorithm() pulumi.StringPtrOutput { return o.ApplyT(func(v *MfaTotp) pulumi.StringPtrOutput { return v.Algorithm }).(pulumi.StringPtrOutput) @@ -441,12 +416,6 @@ func (o MfaTotpArrayOutput) ToMfaTotpArrayOutputWithContext(ctx context.Context) return o } -func (o MfaTotpArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaTotp] { - return pulumix.Output[[]*MfaTotp]{ - OutputState: o.OutputState, - } -} - func (o MfaTotpArrayOutput) Index(i pulumi.IntInput) MfaTotpOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaTotp { return vs[0].([]*MfaTotp)[vs[1].(int)] @@ -467,12 +436,6 @@ func (o MfaTotpMapOutput) ToMfaTotpMapOutputWithContext(ctx context.Context) Mfa return o } -func (o MfaTotpMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaTotp] { - return pulumix.Output[map[string]*MfaTotp]{ - OutputState: o.OutputState, - } -} - func (o MfaTotpMapOutput) MapIndex(k pulumi.StringInput) MfaTotpOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaTotp { return vs[0].(map[string]*MfaTotp)[vs[1].(string)] diff --git a/sdk/go/vault/identity/oidc.go b/sdk/go/vault/identity/oidc.go index e9ced008c..8f448ac06 100644 --- a/sdk/go/vault/identity/oidc.go +++ b/sdk/go/vault/identity/oidc.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Configure the [Identity Tokens Backend](https://www.vaultproject.io/docs/secrets/identity/index.html#identity-tokens). @@ -168,12 +167,6 @@ func (i *Oidc) ToOidcOutputWithContext(ctx context.Context) OidcOutput { return pulumi.ToOutputWithContext(ctx, i).(OidcOutput) } -func (i *Oidc) ToOutput(ctx context.Context) pulumix.Output[*Oidc] { - return pulumix.Output[*Oidc]{ - OutputState: i.ToOidcOutputWithContext(ctx).OutputState, - } -} - // OidcArrayInput is an input type that accepts OidcArray and OidcArrayOutput values. // You can construct a concrete instance of `OidcArrayInput` via: // @@ -199,12 +192,6 @@ func (i OidcArray) ToOidcArrayOutputWithContext(ctx context.Context) OidcArrayOu return pulumi.ToOutputWithContext(ctx, i).(OidcArrayOutput) } -func (i OidcArray) ToOutput(ctx context.Context) pulumix.Output[[]*Oidc] { - return pulumix.Output[[]*Oidc]{ - OutputState: i.ToOidcArrayOutputWithContext(ctx).OutputState, - } -} - // OidcMapInput is an input type that accepts OidcMap and OidcMapOutput values. // You can construct a concrete instance of `OidcMapInput` via: // @@ -230,12 +217,6 @@ func (i OidcMap) ToOidcMapOutputWithContext(ctx context.Context) OidcMapOutput { return pulumi.ToOutputWithContext(ctx, i).(OidcMapOutput) } -func (i OidcMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Oidc] { - return pulumix.Output[map[string]*Oidc]{ - OutputState: i.ToOidcMapOutputWithContext(ctx).OutputState, - } -} - type OidcOutput struct{ *pulumi.OutputState } func (OidcOutput) ElementType() reflect.Type { @@ -250,12 +231,6 @@ func (o OidcOutput) ToOidcOutputWithContext(ctx context.Context) OidcOutput { return o } -func (o OidcOutput) ToOutput(ctx context.Context) pulumix.Output[*Oidc] { - return pulumix.Output[*Oidc]{ - OutputState: o.OutputState, - } -} - // Issuer URL to be used in the iss claim of the token. If not set, Vault's // `apiAddr` will be used. The issuer is a case sensitive URL using the https scheme that contains // scheme, host, and optionally, port number and path components, but no query or fragment @@ -286,12 +261,6 @@ func (o OidcArrayOutput) ToOidcArrayOutputWithContext(ctx context.Context) OidcA return o } -func (o OidcArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Oidc] { - return pulumix.Output[[]*Oidc]{ - OutputState: o.OutputState, - } -} - func (o OidcArrayOutput) Index(i pulumi.IntInput) OidcOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Oidc { return vs[0].([]*Oidc)[vs[1].(int)] @@ -312,12 +281,6 @@ func (o OidcMapOutput) ToOidcMapOutputWithContext(ctx context.Context) OidcMapOu return o } -func (o OidcMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Oidc] { - return pulumix.Output[map[string]*Oidc]{ - OutputState: o.OutputState, - } -} - func (o OidcMapOutput) MapIndex(k pulumi.StringInput) OidcOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Oidc { return vs[0].(map[string]*Oidc)[vs[1].(string)] diff --git a/sdk/go/vault/identity/oidcAssignment.go b/sdk/go/vault/identity/oidcAssignment.go index b7993495f..71693b0ce 100644 --- a/sdk/go/vault/identity/oidcAssignment.go +++ b/sdk/go/vault/identity/oidcAssignment.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages OIDC Assignments in a Vault server. See the [Vault documentation](https://www.vaultproject.io/api-docs/secret/identity/oidc-provider#create-or-update-an-assignment) @@ -202,12 +201,6 @@ func (i *OidcAssignment) ToOidcAssignmentOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcAssignmentOutput) } -func (i *OidcAssignment) ToOutput(ctx context.Context) pulumix.Output[*OidcAssignment] { - return pulumix.Output[*OidcAssignment]{ - OutputState: i.ToOidcAssignmentOutputWithContext(ctx).OutputState, - } -} - // OidcAssignmentArrayInput is an input type that accepts OidcAssignmentArray and OidcAssignmentArrayOutput values. // You can construct a concrete instance of `OidcAssignmentArrayInput` via: // @@ -233,12 +226,6 @@ func (i OidcAssignmentArray) ToOidcAssignmentArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(OidcAssignmentArrayOutput) } -func (i OidcAssignmentArray) ToOutput(ctx context.Context) pulumix.Output[[]*OidcAssignment] { - return pulumix.Output[[]*OidcAssignment]{ - OutputState: i.ToOidcAssignmentArrayOutputWithContext(ctx).OutputState, - } -} - // OidcAssignmentMapInput is an input type that accepts OidcAssignmentMap and OidcAssignmentMapOutput values. // You can construct a concrete instance of `OidcAssignmentMapInput` via: // @@ -264,12 +251,6 @@ func (i OidcAssignmentMap) ToOidcAssignmentMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OidcAssignmentMapOutput) } -func (i OidcAssignmentMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcAssignment] { - return pulumix.Output[map[string]*OidcAssignment]{ - OutputState: i.ToOidcAssignmentMapOutputWithContext(ctx).OutputState, - } -} - type OidcAssignmentOutput struct{ *pulumi.OutputState } func (OidcAssignmentOutput) ElementType() reflect.Type { @@ -284,12 +265,6 @@ func (o OidcAssignmentOutput) ToOidcAssignmentOutputWithContext(ctx context.Cont return o } -func (o OidcAssignmentOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcAssignment] { - return pulumix.Output[*OidcAssignment]{ - OutputState: o.OutputState, - } -} - // A set of Vault entity IDs. func (o OidcAssignmentOutput) EntityIds() pulumi.StringArrayOutput { return o.ApplyT(func(v *OidcAssignment) pulumi.StringArrayOutput { return v.EntityIds }).(pulumi.StringArrayOutput) @@ -327,12 +302,6 @@ func (o OidcAssignmentArrayOutput) ToOidcAssignmentArrayOutputWithContext(ctx co return o } -func (o OidcAssignmentArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OidcAssignment] { - return pulumix.Output[[]*OidcAssignment]{ - OutputState: o.OutputState, - } -} - func (o OidcAssignmentArrayOutput) Index(i pulumi.IntInput) OidcAssignmentOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OidcAssignment { return vs[0].([]*OidcAssignment)[vs[1].(int)] @@ -353,12 +322,6 @@ func (o OidcAssignmentMapOutput) ToOidcAssignmentMapOutputWithContext(ctx contex return o } -func (o OidcAssignmentMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcAssignment] { - return pulumix.Output[map[string]*OidcAssignment]{ - OutputState: o.OutputState, - } -} - func (o OidcAssignmentMapOutput) MapIndex(k pulumi.StringInput) OidcAssignmentOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OidcAssignment { return vs[0].(map[string]*OidcAssignment)[vs[1].(string)] diff --git a/sdk/go/vault/identity/oidcClient.go b/sdk/go/vault/identity/oidcClient.go index ebff61226..f2a5e98fe 100644 --- a/sdk/go/vault/identity/oidcClient.go +++ b/sdk/go/vault/identity/oidcClient.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages OIDC Clients in a Vault server. See the [Vault documentation](https://www.vaultproject.io/api-docs/secret/identity/oidc-provider#create-or-update-an-assignment) @@ -285,12 +284,6 @@ func (i *OidcClient) ToOidcClientOutputWithContext(ctx context.Context) OidcClie return pulumi.ToOutputWithContext(ctx, i).(OidcClientOutput) } -func (i *OidcClient) ToOutput(ctx context.Context) pulumix.Output[*OidcClient] { - return pulumix.Output[*OidcClient]{ - OutputState: i.ToOidcClientOutputWithContext(ctx).OutputState, - } -} - // OidcClientArrayInput is an input type that accepts OidcClientArray and OidcClientArrayOutput values. // You can construct a concrete instance of `OidcClientArrayInput` via: // @@ -316,12 +309,6 @@ func (i OidcClientArray) ToOidcClientArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcClientArrayOutput) } -func (i OidcClientArray) ToOutput(ctx context.Context) pulumix.Output[[]*OidcClient] { - return pulumix.Output[[]*OidcClient]{ - OutputState: i.ToOidcClientArrayOutputWithContext(ctx).OutputState, - } -} - // OidcClientMapInput is an input type that accepts OidcClientMap and OidcClientMapOutput values. // You can construct a concrete instance of `OidcClientMapInput` via: // @@ -347,12 +334,6 @@ func (i OidcClientMap) ToOidcClientMapOutputWithContext(ctx context.Context) Oid return pulumi.ToOutputWithContext(ctx, i).(OidcClientMapOutput) } -func (i OidcClientMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcClient] { - return pulumix.Output[map[string]*OidcClient]{ - OutputState: i.ToOidcClientMapOutputWithContext(ctx).OutputState, - } -} - type OidcClientOutput struct{ *pulumi.OutputState } func (OidcClientOutput) ElementType() reflect.Type { @@ -367,12 +348,6 @@ func (o OidcClientOutput) ToOidcClientOutputWithContext(ctx context.Context) Oid return o } -func (o OidcClientOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcClient] { - return pulumix.Output[*OidcClient]{ - OutputState: o.OutputState, - } -} - // The time-to-live for access tokens obtained by the client. func (o OidcClientOutput) AccessTokenTtl() pulumi.IntOutput { return o.ApplyT(func(v *OidcClient) pulumi.IntOutput { return v.AccessTokenTtl }).(pulumi.IntOutput) @@ -446,12 +421,6 @@ func (o OidcClientArrayOutput) ToOidcClientArrayOutputWithContext(ctx context.Co return o } -func (o OidcClientArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OidcClient] { - return pulumix.Output[[]*OidcClient]{ - OutputState: o.OutputState, - } -} - func (o OidcClientArrayOutput) Index(i pulumi.IntInput) OidcClientOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OidcClient { return vs[0].([]*OidcClient)[vs[1].(int)] @@ -472,12 +441,6 @@ func (o OidcClientMapOutput) ToOidcClientMapOutputWithContext(ctx context.Contex return o } -func (o OidcClientMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcClient] { - return pulumix.Output[map[string]*OidcClient]{ - OutputState: o.OutputState, - } -} - func (o OidcClientMapOutput) MapIndex(k pulumi.StringInput) OidcClientOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OidcClient { return vs[0].(map[string]*OidcClient)[vs[1].(string)] diff --git a/sdk/go/vault/identity/oidcKey.go b/sdk/go/vault/identity/oidcKey.go index d9ad235d3..c10aab0d0 100644 --- a/sdk/go/vault/identity/oidcKey.go +++ b/sdk/go/vault/identity/oidcKey.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -224,12 +223,6 @@ func (i *OidcKey) ToOidcKeyOutputWithContext(ctx context.Context) OidcKeyOutput return pulumi.ToOutputWithContext(ctx, i).(OidcKeyOutput) } -func (i *OidcKey) ToOutput(ctx context.Context) pulumix.Output[*OidcKey] { - return pulumix.Output[*OidcKey]{ - OutputState: i.ToOidcKeyOutputWithContext(ctx).OutputState, - } -} - // OidcKeyArrayInput is an input type that accepts OidcKeyArray and OidcKeyArrayOutput values. // You can construct a concrete instance of `OidcKeyArrayInput` via: // @@ -255,12 +248,6 @@ func (i OidcKeyArray) ToOidcKeyArrayOutputWithContext(ctx context.Context) OidcK return pulumi.ToOutputWithContext(ctx, i).(OidcKeyArrayOutput) } -func (i OidcKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*OidcKey] { - return pulumix.Output[[]*OidcKey]{ - OutputState: i.ToOidcKeyArrayOutputWithContext(ctx).OutputState, - } -} - // OidcKeyMapInput is an input type that accepts OidcKeyMap and OidcKeyMapOutput values. // You can construct a concrete instance of `OidcKeyMapInput` via: // @@ -286,12 +273,6 @@ func (i OidcKeyMap) ToOidcKeyMapOutputWithContext(ctx context.Context) OidcKeyMa return pulumi.ToOutputWithContext(ctx, i).(OidcKeyMapOutput) } -func (i OidcKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcKey] { - return pulumix.Output[map[string]*OidcKey]{ - OutputState: i.ToOidcKeyMapOutputWithContext(ctx).OutputState, - } -} - type OidcKeyOutput struct{ *pulumi.OutputState } func (OidcKeyOutput) ElementType() reflect.Type { @@ -306,12 +287,6 @@ func (o OidcKeyOutput) ToOidcKeyOutputWithContext(ctx context.Context) OidcKeyOu return o } -func (o OidcKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcKey] { - return pulumix.Output[*OidcKey]{ - OutputState: o.OutputState, - } -} - // Signing algorithm to use. Signing algorithm to use. // Allowed values are: RS256 (default), RS384, RS512, ES256, ES384, ES512, EdDSA. func (o OidcKeyOutput) Algorithm() pulumi.StringPtrOutput { @@ -362,12 +337,6 @@ func (o OidcKeyArrayOutput) ToOidcKeyArrayOutputWithContext(ctx context.Context) return o } -func (o OidcKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OidcKey] { - return pulumix.Output[[]*OidcKey]{ - OutputState: o.OutputState, - } -} - func (o OidcKeyArrayOutput) Index(i pulumi.IntInput) OidcKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OidcKey { return vs[0].([]*OidcKey)[vs[1].(int)] @@ -388,12 +357,6 @@ func (o OidcKeyMapOutput) ToOidcKeyMapOutputWithContext(ctx context.Context) Oid return o } -func (o OidcKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcKey] { - return pulumix.Output[map[string]*OidcKey]{ - OutputState: o.OutputState, - } -} - func (o OidcKeyMapOutput) MapIndex(k pulumi.StringInput) OidcKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OidcKey { return vs[0].(map[string]*OidcKey)[vs[1].(string)] diff --git a/sdk/go/vault/identity/oidcKeyAllowedClientID.go b/sdk/go/vault/identity/oidcKeyAllowedClientID.go index 92a7c3712..58ea27285 100644 --- a/sdk/go/vault/identity/oidcKeyAllowedClientID.go +++ b/sdk/go/vault/identity/oidcKeyAllowedClientID.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -176,12 +175,6 @@ func (i *OidcKeyAllowedClientID) ToOidcKeyAllowedClientIDOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(OidcKeyAllowedClientIDOutput) } -func (i *OidcKeyAllowedClientID) ToOutput(ctx context.Context) pulumix.Output[*OidcKeyAllowedClientID] { - return pulumix.Output[*OidcKeyAllowedClientID]{ - OutputState: i.ToOidcKeyAllowedClientIDOutputWithContext(ctx).OutputState, - } -} - // OidcKeyAllowedClientIDArrayInput is an input type that accepts OidcKeyAllowedClientIDArray and OidcKeyAllowedClientIDArrayOutput values. // You can construct a concrete instance of `OidcKeyAllowedClientIDArrayInput` via: // @@ -207,12 +200,6 @@ func (i OidcKeyAllowedClientIDArray) ToOidcKeyAllowedClientIDArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(OidcKeyAllowedClientIDArrayOutput) } -func (i OidcKeyAllowedClientIDArray) ToOutput(ctx context.Context) pulumix.Output[[]*OidcKeyAllowedClientID] { - return pulumix.Output[[]*OidcKeyAllowedClientID]{ - OutputState: i.ToOidcKeyAllowedClientIDArrayOutputWithContext(ctx).OutputState, - } -} - // OidcKeyAllowedClientIDMapInput is an input type that accepts OidcKeyAllowedClientIDMap and OidcKeyAllowedClientIDMapOutput values. // You can construct a concrete instance of `OidcKeyAllowedClientIDMapInput` via: // @@ -238,12 +225,6 @@ func (i OidcKeyAllowedClientIDMap) ToOidcKeyAllowedClientIDMapOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(OidcKeyAllowedClientIDMapOutput) } -func (i OidcKeyAllowedClientIDMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcKeyAllowedClientID] { - return pulumix.Output[map[string]*OidcKeyAllowedClientID]{ - OutputState: i.ToOidcKeyAllowedClientIDMapOutputWithContext(ctx).OutputState, - } -} - type OidcKeyAllowedClientIDOutput struct{ *pulumi.OutputState } func (OidcKeyAllowedClientIDOutput) ElementType() reflect.Type { @@ -258,12 +239,6 @@ func (o OidcKeyAllowedClientIDOutput) ToOidcKeyAllowedClientIDOutputWithContext( return o } -func (o OidcKeyAllowedClientIDOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcKeyAllowedClientID] { - return pulumix.Output[*OidcKeyAllowedClientID]{ - OutputState: o.OutputState, - } -} - // Client ID to allow usage with the OIDC named key func (o OidcKeyAllowedClientIDOutput) AllowedClientId() pulumi.StringOutput { return o.ApplyT(func(v *OidcKeyAllowedClientID) pulumi.StringOutput { return v.AllowedClientId }).(pulumi.StringOutput) @@ -296,12 +271,6 @@ func (o OidcKeyAllowedClientIDArrayOutput) ToOidcKeyAllowedClientIDArrayOutputWi return o } -func (o OidcKeyAllowedClientIDArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OidcKeyAllowedClientID] { - return pulumix.Output[[]*OidcKeyAllowedClientID]{ - OutputState: o.OutputState, - } -} - func (o OidcKeyAllowedClientIDArrayOutput) Index(i pulumi.IntInput) OidcKeyAllowedClientIDOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OidcKeyAllowedClientID { return vs[0].([]*OidcKeyAllowedClientID)[vs[1].(int)] @@ -322,12 +291,6 @@ func (o OidcKeyAllowedClientIDMapOutput) ToOidcKeyAllowedClientIDMapOutputWithCo return o } -func (o OidcKeyAllowedClientIDMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcKeyAllowedClientID] { - return pulumix.Output[map[string]*OidcKeyAllowedClientID]{ - OutputState: o.OutputState, - } -} - func (o OidcKeyAllowedClientIDMapOutput) MapIndex(k pulumi.StringInput) OidcKeyAllowedClientIDOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OidcKeyAllowedClientID { return vs[0].(map[string]*OidcKeyAllowedClientID)[vs[1].(string)] diff --git a/sdk/go/vault/identity/oidcProvider.go b/sdk/go/vault/identity/oidcProvider.go index c85c64349..37760c3f7 100644 --- a/sdk/go/vault/identity/oidcProvider.go +++ b/sdk/go/vault/identity/oidcProvider.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages OIDC Providers in a Vault server. See the [Vault documentation](https://www.vaultproject.io/api-docs/secret/identity/oidc-provider#create-or-update-an-assignment) @@ -276,12 +275,6 @@ func (i *OidcProvider) ToOidcProviderOutputWithContext(ctx context.Context) Oidc return pulumi.ToOutputWithContext(ctx, i).(OidcProviderOutput) } -func (i *OidcProvider) ToOutput(ctx context.Context) pulumix.Output[*OidcProvider] { - return pulumix.Output[*OidcProvider]{ - OutputState: i.ToOidcProviderOutputWithContext(ctx).OutputState, - } -} - // OidcProviderArrayInput is an input type that accepts OidcProviderArray and OidcProviderArrayOutput values. // You can construct a concrete instance of `OidcProviderArrayInput` via: // @@ -307,12 +300,6 @@ func (i OidcProviderArray) ToOidcProviderArrayOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(OidcProviderArrayOutput) } -func (i OidcProviderArray) ToOutput(ctx context.Context) pulumix.Output[[]*OidcProvider] { - return pulumix.Output[[]*OidcProvider]{ - OutputState: i.ToOidcProviderArrayOutputWithContext(ctx).OutputState, - } -} - // OidcProviderMapInput is an input type that accepts OidcProviderMap and OidcProviderMapOutput values. // You can construct a concrete instance of `OidcProviderMapInput` via: // @@ -338,12 +325,6 @@ func (i OidcProviderMap) ToOidcProviderMapOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(OidcProviderMapOutput) } -func (i OidcProviderMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcProvider] { - return pulumix.Output[map[string]*OidcProvider]{ - OutputState: i.ToOidcProviderMapOutputWithContext(ctx).OutputState, - } -} - type OidcProviderOutput struct{ *pulumi.OutputState } func (OidcProviderOutput) ElementType() reflect.Type { @@ -358,12 +339,6 @@ func (o OidcProviderOutput) ToOidcProviderOutputWithContext(ctx context.Context) return o } -func (o OidcProviderOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcProvider] { - return pulumix.Output[*OidcProvider]{ - OutputState: o.OutputState, - } -} - // The client IDs that are permitted to use the provider. // If empty, no clients are allowed. If `*`, all clients are allowed. func (o OidcProviderOutput) AllowedClientIds() pulumi.StringArrayOutput { @@ -419,12 +394,6 @@ func (o OidcProviderArrayOutput) ToOidcProviderArrayOutputWithContext(ctx contex return o } -func (o OidcProviderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OidcProvider] { - return pulumix.Output[[]*OidcProvider]{ - OutputState: o.OutputState, - } -} - func (o OidcProviderArrayOutput) Index(i pulumi.IntInput) OidcProviderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OidcProvider { return vs[0].([]*OidcProvider)[vs[1].(int)] @@ -445,12 +414,6 @@ func (o OidcProviderMapOutput) ToOidcProviderMapOutputWithContext(ctx context.Co return o } -func (o OidcProviderMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcProvider] { - return pulumix.Output[map[string]*OidcProvider]{ - OutputState: o.OutputState, - } -} - func (o OidcProviderMapOutput) MapIndex(k pulumi.StringInput) OidcProviderOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OidcProvider { return vs[0].(map[string]*OidcProvider)[vs[1].(string)] diff --git a/sdk/go/vault/identity/oidcRole.go b/sdk/go/vault/identity/oidcRole.go index 1a03e8051..3df40eb9f 100644 --- a/sdk/go/vault/identity/oidcRole.go +++ b/sdk/go/vault/identity/oidcRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -286,12 +285,6 @@ func (i *OidcRole) ToOidcRoleOutputWithContext(ctx context.Context) OidcRoleOutp return pulumi.ToOutputWithContext(ctx, i).(OidcRoleOutput) } -func (i *OidcRole) ToOutput(ctx context.Context) pulumix.Output[*OidcRole] { - return pulumix.Output[*OidcRole]{ - OutputState: i.ToOidcRoleOutputWithContext(ctx).OutputState, - } -} - // OidcRoleArrayInput is an input type that accepts OidcRoleArray and OidcRoleArrayOutput values. // You can construct a concrete instance of `OidcRoleArrayInput` via: // @@ -317,12 +310,6 @@ func (i OidcRoleArray) ToOidcRoleArrayOutputWithContext(ctx context.Context) Oid return pulumi.ToOutputWithContext(ctx, i).(OidcRoleArrayOutput) } -func (i OidcRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*OidcRole] { - return pulumix.Output[[]*OidcRole]{ - OutputState: i.ToOidcRoleArrayOutputWithContext(ctx).OutputState, - } -} - // OidcRoleMapInput is an input type that accepts OidcRoleMap and OidcRoleMapOutput values. // You can construct a concrete instance of `OidcRoleMapInput` via: // @@ -348,12 +335,6 @@ func (i OidcRoleMap) ToOidcRoleMapOutputWithContext(ctx context.Context) OidcRol return pulumi.ToOutputWithContext(ctx, i).(OidcRoleMapOutput) } -func (i OidcRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcRole] { - return pulumix.Output[map[string]*OidcRole]{ - OutputState: i.ToOidcRoleMapOutputWithContext(ctx).OutputState, - } -} - type OidcRoleOutput struct{ *pulumi.OutputState } func (OidcRoleOutput) ElementType() reflect.Type { @@ -368,12 +349,6 @@ func (o OidcRoleOutput) ToOidcRoleOutputWithContext(ctx context.Context) OidcRol return o } -func (o OidcRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcRole] { - return pulumix.Output[*OidcRole]{ - OutputState: o.OutputState, - } -} - // The value that will be included in the `aud` field of all the OIDC identity // tokens issued by this role func (o OidcRoleOutput) ClientId() pulumi.StringOutput { @@ -426,12 +401,6 @@ func (o OidcRoleArrayOutput) ToOidcRoleArrayOutputWithContext(ctx context.Contex return o } -func (o OidcRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OidcRole] { - return pulumix.Output[[]*OidcRole]{ - OutputState: o.OutputState, - } -} - func (o OidcRoleArrayOutput) Index(i pulumi.IntInput) OidcRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OidcRole { return vs[0].([]*OidcRole)[vs[1].(int)] @@ -452,12 +421,6 @@ func (o OidcRoleMapOutput) ToOidcRoleMapOutputWithContext(ctx context.Context) O return o } -func (o OidcRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcRole] { - return pulumix.Output[map[string]*OidcRole]{ - OutputState: o.OutputState, - } -} - func (o OidcRoleMapOutput) MapIndex(k pulumi.StringInput) OidcRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OidcRole { return vs[0].(map[string]*OidcRole)[vs[1].(string)] diff --git a/sdk/go/vault/identity/oidcScope.go b/sdk/go/vault/identity/oidcScope.go index 47a4d9080..bf92c91fc 100644 --- a/sdk/go/vault/identity/oidcScope.go +++ b/sdk/go/vault/identity/oidcScope.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages OIDC Scopes in a Vault server. See the [Vault documentation](https://www.vaultproject.io/api-docs/secret/identity/oidc-provider#create-or-update-a-scope) @@ -180,12 +179,6 @@ func (i *OidcScope) ToOidcScopeOutputWithContext(ctx context.Context) OidcScopeO return pulumi.ToOutputWithContext(ctx, i).(OidcScopeOutput) } -func (i *OidcScope) ToOutput(ctx context.Context) pulumix.Output[*OidcScope] { - return pulumix.Output[*OidcScope]{ - OutputState: i.ToOidcScopeOutputWithContext(ctx).OutputState, - } -} - // OidcScopeArrayInput is an input type that accepts OidcScopeArray and OidcScopeArrayOutput values. // You can construct a concrete instance of `OidcScopeArrayInput` via: // @@ -211,12 +204,6 @@ func (i OidcScopeArray) ToOidcScopeArrayOutputWithContext(ctx context.Context) O return pulumi.ToOutputWithContext(ctx, i).(OidcScopeArrayOutput) } -func (i OidcScopeArray) ToOutput(ctx context.Context) pulumix.Output[[]*OidcScope] { - return pulumix.Output[[]*OidcScope]{ - OutputState: i.ToOidcScopeArrayOutputWithContext(ctx).OutputState, - } -} - // OidcScopeMapInput is an input type that accepts OidcScopeMap and OidcScopeMapOutput values. // You can construct a concrete instance of `OidcScopeMapInput` via: // @@ -242,12 +229,6 @@ func (i OidcScopeMap) ToOidcScopeMapOutputWithContext(ctx context.Context) OidcS return pulumi.ToOutputWithContext(ctx, i).(OidcScopeMapOutput) } -func (i OidcScopeMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcScope] { - return pulumix.Output[map[string]*OidcScope]{ - OutputState: i.ToOidcScopeMapOutputWithContext(ctx).OutputState, - } -} - type OidcScopeOutput struct{ *pulumi.OutputState } func (OidcScopeOutput) ElementType() reflect.Type { @@ -262,12 +243,6 @@ func (o OidcScopeOutput) ToOidcScopeOutputWithContext(ctx context.Context) OidcS return o } -func (o OidcScopeOutput) ToOutput(ctx context.Context) pulumix.Output[*OidcScope] { - return pulumix.Output[*OidcScope]{ - OutputState: o.OutputState, - } -} - // A description of the scope. func (o OidcScopeOutput) Description() pulumi.StringPtrOutput { return o.ApplyT(func(v *OidcScope) pulumi.StringPtrOutput { return v.Description }).(pulumi.StringPtrOutput) @@ -305,12 +280,6 @@ func (o OidcScopeArrayOutput) ToOidcScopeArrayOutputWithContext(ctx context.Cont return o } -func (o OidcScopeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*OidcScope] { - return pulumix.Output[[]*OidcScope]{ - OutputState: o.OutputState, - } -} - func (o OidcScopeArrayOutput) Index(i pulumi.IntInput) OidcScopeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *OidcScope { return vs[0].([]*OidcScope)[vs[1].(int)] @@ -331,12 +300,6 @@ func (o OidcScopeMapOutput) ToOidcScopeMapOutputWithContext(ctx context.Context) return o } -func (o OidcScopeMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*OidcScope] { - return pulumix.Output[map[string]*OidcScope]{ - OutputState: o.OutputState, - } -} - func (o OidcScopeMapOutput) MapIndex(k pulumi.StringInput) OidcScopeOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *OidcScope { return vs[0].(map[string]*OidcScope)[vs[1].(string)] diff --git a/sdk/go/vault/identity/pulumiTypes.go b/sdk/go/vault/identity/pulumiTypes.go index f8c06e063..84af7a1b8 100644 --- a/sdk/go/vault/identity/pulumiTypes.go +++ b/sdk/go/vault/identity/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -83,12 +82,6 @@ func (i GetEntityAliasTypeArgs) ToGetEntityAliasTypeOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(GetEntityAliasTypeOutput) } -func (i GetEntityAliasTypeArgs) ToOutput(ctx context.Context) pulumix.Output[GetEntityAliasType] { - return pulumix.Output[GetEntityAliasType]{ - OutputState: i.ToGetEntityAliasTypeOutputWithContext(ctx).OutputState, - } -} - // GetEntityAliasTypeArrayInput is an input type that accepts GetEntityAliasTypeArray and GetEntityAliasTypeArrayOutput values. // You can construct a concrete instance of `GetEntityAliasTypeArrayInput` via: // @@ -114,12 +107,6 @@ func (i GetEntityAliasTypeArray) ToGetEntityAliasTypeArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GetEntityAliasTypeArrayOutput) } -func (i GetEntityAliasTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]GetEntityAliasType] { - return pulumix.Output[[]GetEntityAliasType]{ - OutputState: i.ToGetEntityAliasTypeArrayOutputWithContext(ctx).OutputState, - } -} - type GetEntityAliasTypeOutput struct{ *pulumi.OutputState } func (GetEntityAliasTypeOutput) ElementType() reflect.Type { @@ -134,12 +121,6 @@ func (o GetEntityAliasTypeOutput) ToGetEntityAliasTypeOutputWithContext(ctx cont return o } -func (o GetEntityAliasTypeOutput) ToOutput(ctx context.Context) pulumix.Output[GetEntityAliasType] { - return pulumix.Output[GetEntityAliasType]{ - OutputState: o.OutputState, - } -} - // Canonical ID of the Alias func (o GetEntityAliasTypeOutput) CanonicalId() pulumi.StringOutput { return o.ApplyT(func(v GetEntityAliasType) string { return v.CanonicalId }).(pulumi.StringOutput) @@ -204,12 +185,6 @@ func (o GetEntityAliasTypeArrayOutput) ToGetEntityAliasTypeArrayOutputWithContex return o } -func (o GetEntityAliasTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetEntityAliasType] { - return pulumix.Output[[]GetEntityAliasType]{ - OutputState: o.OutputState, - } -} - func (o GetEntityAliasTypeArrayOutput) Index(i pulumi.IntInput) GetEntityAliasTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetEntityAliasType { return vs[0].([]GetEntityAliasType)[vs[1].(int)] diff --git a/sdk/go/vault/jwt/authBackend.go b/sdk/go/vault/jwt/authBackend.go index 229bcd7f7..b310c734c 100644 --- a/sdk/go/vault/jwt/authBackend.go +++ b/sdk/go/vault/jwt/authBackend.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource for managing an @@ -465,12 +464,6 @@ func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBa return pulumi.ToOutputWithContext(ctx, i).(AuthBackendOutput) } -func (i *AuthBackend) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: i.ToAuthBackendOutputWithContext(ctx).OutputState, - } -} - // AuthBackendArrayInput is an input type that accepts AuthBackendArray and AuthBackendArrayOutput values. // You can construct a concrete instance of `AuthBackendArrayInput` via: // @@ -496,12 +489,6 @@ func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendArrayOutput) } -func (i AuthBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: i.ToAuthBackendArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendMapInput is an input type that accepts AuthBackendMap and AuthBackendMapOutput values. // You can construct a concrete instance of `AuthBackendMapInput` via: // @@ -527,12 +514,6 @@ func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthBackendMapOutput) } -func (i AuthBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: i.ToAuthBackendMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendOutput struct{ *pulumi.OutputState } func (AuthBackendOutput) ElementType() reflect.Type { @@ -547,12 +528,6 @@ func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) A return o } -func (o AuthBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: o.OutputState, - } -} - // The accessor for this auth method func (o AuthBackendOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackend) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -684,12 +659,6 @@ func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context. return o } -func (o AuthBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].([]*AuthBackend)[vs[1].(int)] @@ -710,12 +679,6 @@ func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Cont return o } -func (o AuthBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].(map[string]*AuthBackend)[vs[1].(string)] diff --git a/sdk/go/vault/jwt/authBackendRole.go b/sdk/go/vault/jwt/authBackendRole.go index d2abcb826..7b88925f8 100644 --- a/sdk/go/vault/jwt/authBackendRole.go +++ b/sdk/go/vault/jwt/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an JWT/OIDC auth backend role in a Vault server. See the [Vault @@ -728,12 +727,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -759,12 +752,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -790,12 +777,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -810,12 +791,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - // The list of allowed values for redirectUri during OIDC logins. // Required for OIDC roles func (o AuthBackendRoleOutput) AllowedRedirectUris() pulumi.StringArrayOutput { @@ -1023,12 +998,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -1049,12 +1018,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/jwt/pulumiTypes.go b/sdk/go/vault/jwt/pulumiTypes.go index 4a959fd75..f41106ac8 100644 --- a/sdk/go/vault/jwt/pulumiTypes.go +++ b/sdk/go/vault/jwt/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -95,12 +94,6 @@ func (i AuthBackendTuneArgs) ToAuthBackendTuneOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTuneOutput) } -func (i AuthBackendTuneArgs) ToOutput(ctx context.Context) pulumix.Output[AuthBackendTune] { - return pulumix.Output[AuthBackendTune]{ - OutputState: i.ToAuthBackendTuneOutputWithContext(ctx).OutputState, - } -} - func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput { return i.ToAuthBackendTunePtrOutputWithContext(context.Background()) } @@ -142,12 +135,6 @@ func (i *authBackendTunePtrType) ToAuthBackendTunePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTunePtrOutput) } -func (i *authBackendTunePtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendTune] { - return pulumix.Output[*AuthBackendTune]{ - OutputState: i.ToAuthBackendTunePtrOutputWithContext(ctx).OutputState, - } -} - type AuthBackendTuneOutput struct{ *pulumi.OutputState } func (AuthBackendTuneOutput) ElementType() reflect.Type { @@ -172,12 +159,6 @@ func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutputWithContext(ctx context }).(AuthBackendTunePtrOutput) } -func (o AuthBackendTuneOutput) ToOutput(ctx context.Context) pulumix.Output[AuthBackendTune] { - return pulumix.Output[AuthBackendTune]{ - OutputState: o.OutputState, - } -} - // List of headers to whitelist and allowing // a plugin to include them in the response. func (o AuthBackendTuneOutput) AllowedResponseHeaders() pulumi.StringArrayOutput { @@ -242,12 +223,6 @@ func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutputWithContext(ctx cont return o } -func (o AuthBackendTunePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendTune] { - return pulumix.Output[*AuthBackendTune]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendTunePtrOutput) Elem() AuthBackendTuneOutput { return o.ApplyT(func(v *AuthBackendTune) AuthBackendTune { if v != nil { diff --git a/sdk/go/vault/kmip/secretBackend.go b/sdk/go/vault/kmip/secretBackend.go index 1d3062c14..862d19582 100644 --- a/sdk/go/vault/kmip/secretBackend.go +++ b/sdk/go/vault/kmip/secretBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages KMIP Secret backends in a Vault server. This feature requires @@ -294,12 +293,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -325,12 +318,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -356,12 +343,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -376,12 +357,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // Client certificate key bits, valid values depend on key type. func (o SecretBackendOutput) DefaultTlsClientKeyBits() pulumi.IntOutput { return o.ApplyT(func(v *SecretBackend) pulumi.IntOutput { return v.DefaultTlsClientKeyBits }).(pulumi.IntOutput) @@ -466,12 +441,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -492,12 +461,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/kmip/secretRole.go b/sdk/go/vault/kmip/secretRole.go index 43453b496..a42d81c9a 100644 --- a/sdk/go/vault/kmip/secretRole.go +++ b/sdk/go/vault/kmip/secretRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages KMIP Secret roles in a Vault server. This feature requires @@ -389,12 +388,6 @@ func (i *SecretRole) ToSecretRoleOutputWithContext(ctx context.Context) SecretRo return pulumi.ToOutputWithContext(ctx, i).(SecretRoleOutput) } -func (i *SecretRole) ToOutput(ctx context.Context) pulumix.Output[*SecretRole] { - return pulumix.Output[*SecretRole]{ - OutputState: i.ToSecretRoleOutputWithContext(ctx).OutputState, - } -} - // SecretRoleArrayInput is an input type that accepts SecretRoleArray and SecretRoleArrayOutput values. // You can construct a concrete instance of `SecretRoleArrayInput` via: // @@ -420,12 +413,6 @@ func (i SecretRoleArray) ToSecretRoleArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretRoleArrayOutput) } -func (i SecretRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRole] { - return pulumix.Output[[]*SecretRole]{ - OutputState: i.ToSecretRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretRoleMapInput is an input type that accepts SecretRoleMap and SecretRoleMapOutput values. // You can construct a concrete instance of `SecretRoleMapInput` via: // @@ -451,12 +438,6 @@ func (i SecretRoleMap) ToSecretRoleMapOutputWithContext(ctx context.Context) Sec return pulumi.ToOutputWithContext(ctx, i).(SecretRoleMapOutput) } -func (i SecretRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRole] { - return pulumix.Output[map[string]*SecretRole]{ - OutputState: i.ToSecretRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretRoleOutput struct{ *pulumi.OutputState } func (SecretRoleOutput) ElementType() reflect.Type { @@ -471,12 +452,6 @@ func (o SecretRoleOutput) ToSecretRoleOutputWithContext(ctx context.Context) Sec return o } -func (o SecretRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretRole] { - return pulumix.Output[*SecretRole]{ - OutputState: o.OutputState, - } -} - // The namespace to provision the resource in. // The value should not contain leading or trailing forward slashes. // The `namespace` is always relative to the provider's configured [namespace](https://www.terraform.io/docs/providers/vault#namespace). @@ -600,12 +575,6 @@ func (o SecretRoleArrayOutput) ToSecretRoleArrayOutputWithContext(ctx context.Co return o } -func (o SecretRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRole] { - return pulumix.Output[[]*SecretRole]{ - OutputState: o.OutputState, - } -} - func (o SecretRoleArrayOutput) Index(i pulumi.IntInput) SecretRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretRole { return vs[0].([]*SecretRole)[vs[1].(int)] @@ -626,12 +595,6 @@ func (o SecretRoleMapOutput) ToSecretRoleMapOutputWithContext(ctx context.Contex return o } -func (o SecretRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRole] { - return pulumix.Output[map[string]*SecretRole]{ - OutputState: o.OutputState, - } -} - func (o SecretRoleMapOutput) MapIndex(k pulumi.StringInput) SecretRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretRole { return vs[0].(map[string]*SecretRole)[vs[1].(string)] diff --git a/sdk/go/vault/kmip/secretScope.go b/sdk/go/vault/kmip/secretScope.go index 57d50fc21..a0bd4b036 100644 --- a/sdk/go/vault/kmip/secretScope.go +++ b/sdk/go/vault/kmip/secretScope.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages KMIP Secret Scopes in a Vault server. This feature requires @@ -201,12 +200,6 @@ func (i *SecretScope) ToSecretScopeOutputWithContext(ctx context.Context) Secret return pulumi.ToOutputWithContext(ctx, i).(SecretScopeOutput) } -func (i *SecretScope) ToOutput(ctx context.Context) pulumix.Output[*SecretScope] { - return pulumix.Output[*SecretScope]{ - OutputState: i.ToSecretScopeOutputWithContext(ctx).OutputState, - } -} - // SecretScopeArrayInput is an input type that accepts SecretScopeArray and SecretScopeArrayOutput values. // You can construct a concrete instance of `SecretScopeArrayInput` via: // @@ -232,12 +225,6 @@ func (i SecretScopeArray) ToSecretScopeArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretScopeArrayOutput) } -func (i SecretScopeArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretScope] { - return pulumix.Output[[]*SecretScope]{ - OutputState: i.ToSecretScopeArrayOutputWithContext(ctx).OutputState, - } -} - // SecretScopeMapInput is an input type that accepts SecretScopeMap and SecretScopeMapOutput values. // You can construct a concrete instance of `SecretScopeMapInput` via: // @@ -263,12 +250,6 @@ func (i SecretScopeMap) ToSecretScopeMapOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretScopeMapOutput) } -func (i SecretScopeMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretScope] { - return pulumix.Output[map[string]*SecretScope]{ - OutputState: i.ToSecretScopeMapOutputWithContext(ctx).OutputState, - } -} - type SecretScopeOutput struct{ *pulumi.OutputState } func (SecretScopeOutput) ElementType() reflect.Type { @@ -283,12 +264,6 @@ func (o SecretScopeOutput) ToSecretScopeOutputWithContext(ctx context.Context) S return o } -func (o SecretScopeOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretScope] { - return pulumix.Output[*SecretScope]{ - OutputState: o.OutputState, - } -} - // Boolean field to force deletion even if there are managed objects in the scope. func (o SecretScopeOutput) Force() pulumi.BoolPtrOutput { return o.ApplyT(func(v *SecretScope) pulumi.BoolPtrOutput { return v.Force }).(pulumi.BoolPtrOutput) @@ -327,12 +302,6 @@ func (o SecretScopeArrayOutput) ToSecretScopeArrayOutputWithContext(ctx context. return o } -func (o SecretScopeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretScope] { - return pulumix.Output[[]*SecretScope]{ - OutputState: o.OutputState, - } -} - func (o SecretScopeArrayOutput) Index(i pulumi.IntInput) SecretScopeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretScope { return vs[0].([]*SecretScope)[vs[1].(int)] @@ -353,12 +322,6 @@ func (o SecretScopeMapOutput) ToSecretScopeMapOutputWithContext(ctx context.Cont return o } -func (o SecretScopeMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretScope] { - return pulumix.Output[map[string]*SecretScope]{ - OutputState: o.OutputState, - } -} - func (o SecretScopeMapOutput) MapIndex(k pulumi.StringInput) SecretScopeOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretScope { return vs[0].(map[string]*SecretScope)[vs[1].(string)] diff --git a/sdk/go/vault/kubernetes/authBackendConfig.go b/sdk/go/vault/kubernetes/authBackendConfig.go index 2ad7a5f92..9f059740e 100644 --- a/sdk/go/vault/kubernetes/authBackendConfig.go +++ b/sdk/go/vault/kubernetes/authBackendConfig.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an Kubernetes auth backend config in a Vault server. See the [Vault @@ -253,12 +252,6 @@ func (i *AuthBackendConfig) ToAuthBackendConfigOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigOutput) } -func (i *AuthBackendConfig) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendConfig] { - return pulumix.Output[*AuthBackendConfig]{ - OutputState: i.ToAuthBackendConfigOutputWithContext(ctx).OutputState, - } -} - // AuthBackendConfigArrayInput is an input type that accepts AuthBackendConfigArray and AuthBackendConfigArrayOutput values. // You can construct a concrete instance of `AuthBackendConfigArrayInput` via: // @@ -284,12 +277,6 @@ func (i AuthBackendConfigArray) ToAuthBackendConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigArrayOutput) } -func (i AuthBackendConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendConfig] { - return pulumix.Output[[]*AuthBackendConfig]{ - OutputState: i.ToAuthBackendConfigArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendConfigMapInput is an input type that accepts AuthBackendConfigMap and AuthBackendConfigMapOutput values. // You can construct a concrete instance of `AuthBackendConfigMapInput` via: // @@ -315,12 +302,6 @@ func (i AuthBackendConfigMap) ToAuthBackendConfigMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendConfigMapOutput) } -func (i AuthBackendConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendConfig] { - return pulumix.Output[map[string]*AuthBackendConfig]{ - OutputState: i.ToAuthBackendConfigMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendConfigOutput struct{ *pulumi.OutputState } func (AuthBackendConfigOutput) ElementType() reflect.Type { @@ -335,12 +316,6 @@ func (o AuthBackendConfigOutput) ToAuthBackendConfigOutputWithContext(ctx contex return o } -func (o AuthBackendConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendConfig] { - return pulumix.Output[*AuthBackendConfig]{ - OutputState: o.OutputState, - } -} - // Unique name of the kubernetes backend to configure. func (o AuthBackendConfigOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v *AuthBackendConfig) pulumi.StringPtrOutput { return v.Backend }).(pulumi.StringPtrOutput) @@ -403,12 +378,6 @@ func (o AuthBackendConfigArrayOutput) ToAuthBackendConfigArrayOutputWithContext( return o } -func (o AuthBackendConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendConfig] { - return pulumix.Output[[]*AuthBackendConfig]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendConfigArrayOutput) Index(i pulumi.IntInput) AuthBackendConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendConfig { return vs[0].([]*AuthBackendConfig)[vs[1].(int)] @@ -429,12 +398,6 @@ func (o AuthBackendConfigMapOutput) ToAuthBackendConfigMapOutputWithContext(ctx return o } -func (o AuthBackendConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendConfig] { - return pulumix.Output[map[string]*AuthBackendConfig]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendConfigMapOutput) MapIndex(k pulumi.StringInput) AuthBackendConfigOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendConfig { return vs[0].(map[string]*AuthBackendConfig)[vs[1].(string)] diff --git a/sdk/go/vault/kubernetes/authBackendRole.go b/sdk/go/vault/kubernetes/authBackendRole.go index c00578b38..d3ab75744 100644 --- a/sdk/go/vault/kubernetes/authBackendRole.go +++ b/sdk/go/vault/kubernetes/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an Kubernetes auth backend role in a Vault server. See the [Vault @@ -436,12 +435,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -467,12 +460,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -498,12 +485,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -518,12 +499,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - // Configures how identity aliases are generated. // Valid choices are: `serviceaccountUid`, `serviceaccountName`. (vault-1.9+) func (o AuthBackendRoleOutput) AliasNameSource() pulumi.StringOutput { @@ -642,12 +617,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -668,12 +637,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/kubernetes/getAuthBackendConfig.go b/sdk/go/vault/kubernetes/getAuthBackendConfig.go index 99d629437..834edac5f 100644 --- a/sdk/go/vault/kubernetes/getAuthBackendConfig.go +++ b/sdk/go/vault/kubernetes/getAuthBackendConfig.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Reads the Role of an Kubernetes from a Vault server. See the [Vault @@ -119,12 +118,6 @@ func (o LookupAuthBackendConfigResultOutput) ToLookupAuthBackendConfigResultOutp return o } -func (o LookupAuthBackendConfigResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthBackendConfigResult] { - return pulumix.Output[LookupAuthBackendConfigResult]{ - OutputState: o.OutputState, - } -} - func (o LookupAuthBackendConfigResultOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v LookupAuthBackendConfigResult) *string { return v.Backend }).(pulumi.StringPtrOutput) } diff --git a/sdk/go/vault/kubernetes/getAuthBackendRole.go b/sdk/go/vault/kubernetes/getAuthBackendRole.go index f02cf6420..30fec705f 100644 --- a/sdk/go/vault/kubernetes/getAuthBackendRole.go +++ b/sdk/go/vault/kubernetes/getAuthBackendRole.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Reads the Role of an Kubernetes from a Vault server. See the [Vault @@ -214,12 +213,6 @@ func (o LookupAuthBackendRoleResultOutput) ToLookupAuthBackendRoleResultOutputWi return o } -func (o LookupAuthBackendRoleResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupAuthBackendRoleResult] { - return pulumix.Output[LookupAuthBackendRoleResult]{ - OutputState: o.OutputState, - } -} - // Method used for generating identity aliases. (vault-1.9+) func (o LookupAuthBackendRoleResultOutput) AliasNameSource() pulumi.StringOutput { return o.ApplyT(func(v LookupAuthBackendRoleResult) string { return v.AliasNameSource }).(pulumi.StringOutput) diff --git a/sdk/go/vault/kubernetes/getServiceAccountToken.go b/sdk/go/vault/kubernetes/getServiceAccountToken.go index 5af21aadf..63c0b6ffe 100644 --- a/sdk/go/vault/kubernetes/getServiceAccountToken.go +++ b/sdk/go/vault/kubernetes/getServiceAccountToken.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -193,12 +192,6 @@ func (o GetServiceAccountTokenResultOutput) ToGetServiceAccountTokenResultOutput return o } -func (o GetServiceAccountTokenResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetServiceAccountTokenResult] { - return pulumix.Output[GetServiceAccountTokenResult]{ - OutputState: o.OutputState, - } -} - func (o GetServiceAccountTokenResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetServiceAccountTokenResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/kubernetes/secretBackend.go b/sdk/go/vault/kubernetes/secretBackend.go index 1589ad4fc..37c959484 100644 --- a/sdk/go/vault/kubernetes/secretBackend.go +++ b/sdk/go/vault/kubernetes/secretBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -370,12 +369,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -401,12 +394,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -432,12 +419,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -452,12 +433,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // Accessor of the mount func (o SecretBackendOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackend) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -568,12 +543,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -594,12 +563,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/kubernetes/secretBackendRole.go b/sdk/go/vault/kubernetes/secretBackendRole.go index 8117d2da6..5cf4453c4 100644 --- a/sdk/go/vault/kubernetes/secretBackendRole.go +++ b/sdk/go/vault/kubernetes/secretBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -513,12 +512,6 @@ func (i *SecretBackendRole) ToSecretBackendRoleOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleOutput) } -func (i *SecretBackendRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleArrayInput is an input type that accepts SecretBackendRoleArray and SecretBackendRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleArrayInput` via: // @@ -544,12 +537,6 @@ func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleArrayOutput) } -func (i SecretBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleMapInput is an input type that accepts SecretBackendRoleMap and SecretBackendRoleMapOutput values. // You can construct a concrete instance of `SecretBackendRoleMapInput` via: // @@ -575,12 +562,6 @@ func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleMapOutput) } -func (i SecretBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleOutput struct{ *pulumi.OutputState } func (SecretBackendRoleOutput) ElementType() reflect.Type { @@ -595,12 +576,6 @@ func (o SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext(ctx contex return o } -func (o SecretBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - // The list of Kubernetes namespaces this role // can generate credentials for. If set to `*` all namespaces are allowed. func (o SecretBackendRoleOutput) AllowedKubernetesNamespaces() pulumi.StringArrayOutput { @@ -699,12 +674,6 @@ func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext( return o } -func (o SecretBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].([]*SecretBackendRole)[vs[1].(int)] @@ -725,12 +694,6 @@ func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext(ctx return o } -func (o SecretBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].(map[string]*SecretBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/kv/getSecret.go b/sdk/go/vault/kv/getSecret.go index cfe41d740..95c0948f3 100644 --- a/sdk/go/vault/kv/getSecret.go +++ b/sdk/go/vault/kv/getSecret.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -157,12 +156,6 @@ func (o LookupSecretResultOutput) ToLookupSecretResultOutputWithContext(ctx cont return o } -func (o LookupSecretResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretResult] { - return pulumix.Output[LookupSecretResult]{ - OutputState: o.OutputState, - } -} - // A mapping whose keys are the top-level data keys returned from // Vault and whose values are the corresponding values. This map can only // represent string data, so any non-string values returned from Vault are diff --git a/sdk/go/vault/kv/getSecretSubkeysV2.go b/sdk/go/vault/kv/getSecretSubkeysV2.go index 0f42a8828..e13e519ec 100644 --- a/sdk/go/vault/kv/getSecretSubkeysV2.go +++ b/sdk/go/vault/kv/getSecretSubkeysV2.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -174,12 +173,6 @@ func (o GetSecretSubkeysV2ResultOutput) ToGetSecretSubkeysV2ResultOutputWithCont return o } -func (o GetSecretSubkeysV2ResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretSubkeysV2Result] { - return pulumix.Output[GetSecretSubkeysV2Result]{ - OutputState: o.OutputState, - } -} - // Subkeys for the KV-V2 secret stored as a serialized map of strings. func (o GetSecretSubkeysV2ResultOutput) Data() pulumi.MapOutput { return o.ApplyT(func(v GetSecretSubkeysV2Result) map[string]interface{} { return v.Data }).(pulumi.MapOutput) diff --git a/sdk/go/vault/kv/getSecretV2.go b/sdk/go/vault/kv/getSecretV2.go index 97979d60d..660e9babe 100644 --- a/sdk/go/vault/kv/getSecretV2.go +++ b/sdk/go/vault/kv/getSecretV2.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Required Vault Capabilities @@ -121,12 +120,6 @@ func (o LookupSecretV2ResultOutput) ToLookupSecretV2ResultOutputWithContext(ctx return o } -func (o LookupSecretV2ResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupSecretV2Result] { - return pulumix.Output[LookupSecretV2Result]{ - OutputState: o.OutputState, - } -} - // Time at which secret was created. func (o LookupSecretV2ResultOutput) CreatedTime() pulumi.StringOutput { return o.ApplyT(func(v LookupSecretV2Result) string { return v.CreatedTime }).(pulumi.StringOutput) diff --git a/sdk/go/vault/kv/getSecretsList.go b/sdk/go/vault/kv/getSecretsList.go index c8390e8e2..e75e484b3 100644 --- a/sdk/go/vault/kv/getSecretsList.go +++ b/sdk/go/vault/kv/getSecretsList.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -158,12 +157,6 @@ func (o GetSecretsListResultOutput) ToGetSecretsListResultOutputWithContext(ctx return o } -func (o GetSecretsListResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsListResult] { - return pulumix.Output[GetSecretsListResult]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetSecretsListResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetSecretsListResult) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/vault/kv/getSecretsListV2.go b/sdk/go/vault/kv/getSecretsListV2.go index ec251a59f..b293d9755 100644 --- a/sdk/go/vault/kv/getSecretsListV2.go +++ b/sdk/go/vault/kv/getSecretsListV2.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -186,12 +185,6 @@ func (o GetSecretsListV2ResultOutput) ToGetSecretsListV2ResultOutputWithContext( return o } -func (o GetSecretsListV2ResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetSecretsListV2Result] { - return pulumix.Output[GetSecretsListV2Result]{ - OutputState: o.OutputState, - } -} - // The provider-assigned unique ID for this managed resource. func (o GetSecretsListV2ResultOutput) Id() pulumi.StringOutput { return o.ApplyT(func(v GetSecretsListV2Result) string { return v.Id }).(pulumi.StringOutput) diff --git a/sdk/go/vault/kv/pulumiTypes.go b/sdk/go/vault/kv/pulumiTypes.go index 60407b5c5..b68947715 100644 --- a/sdk/go/vault/kv/pulumiTypes.go +++ b/sdk/go/vault/kv/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -59,12 +58,6 @@ func (i SecretV2CustomMetadataArgs) ToSecretV2CustomMetadataOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretV2CustomMetadataOutput) } -func (i SecretV2CustomMetadataArgs) ToOutput(ctx context.Context) pulumix.Output[SecretV2CustomMetadata] { - return pulumix.Output[SecretV2CustomMetadata]{ - OutputState: i.ToSecretV2CustomMetadataOutputWithContext(ctx).OutputState, - } -} - func (i SecretV2CustomMetadataArgs) ToSecretV2CustomMetadataPtrOutput() SecretV2CustomMetadataPtrOutput { return i.ToSecretV2CustomMetadataPtrOutputWithContext(context.Background()) } @@ -106,12 +99,6 @@ func (i *secretV2CustomMetadataPtrType) ToSecretV2CustomMetadataPtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(SecretV2CustomMetadataPtrOutput) } -func (i *secretV2CustomMetadataPtrType) ToOutput(ctx context.Context) pulumix.Output[*SecretV2CustomMetadata] { - return pulumix.Output[*SecretV2CustomMetadata]{ - OutputState: i.ToSecretV2CustomMetadataPtrOutputWithContext(ctx).OutputState, - } -} - type SecretV2CustomMetadataOutput struct{ *pulumi.OutputState } func (SecretV2CustomMetadataOutput) ElementType() reflect.Type { @@ -136,12 +123,6 @@ func (o SecretV2CustomMetadataOutput) ToSecretV2CustomMetadataPtrOutputWithConte }).(SecretV2CustomMetadataPtrOutput) } -func (o SecretV2CustomMetadataOutput) ToOutput(ctx context.Context) pulumix.Output[SecretV2CustomMetadata] { - return pulumix.Output[SecretV2CustomMetadata]{ - OutputState: o.OutputState, - } -} - func (o SecretV2CustomMetadataOutput) CasRequired() pulumi.BoolPtrOutput { return o.ApplyT(func(v SecretV2CustomMetadata) *bool { return v.CasRequired }).(pulumi.BoolPtrOutput) } @@ -176,12 +157,6 @@ func (o SecretV2CustomMetadataPtrOutput) ToSecretV2CustomMetadataPtrOutputWithCo return o } -func (o SecretV2CustomMetadataPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretV2CustomMetadata] { - return pulumix.Output[*SecretV2CustomMetadata]{ - OutputState: o.OutputState, - } -} - func (o SecretV2CustomMetadataPtrOutput) Elem() SecretV2CustomMetadataOutput { return o.ApplyT(func(v *SecretV2CustomMetadata) SecretV2CustomMetadata { if v != nil { diff --git a/sdk/go/vault/kv/secret.go b/sdk/go/vault/kv/secret.go index 31e73e974..2cb60f8d2 100644 --- a/sdk/go/vault/kv/secret.go +++ b/sdk/go/vault/kv/secret.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Writes a KV-V1 secret to a given path in Vault. @@ -238,12 +237,6 @@ func (i *Secret) ToSecretOutputWithContext(ctx context.Context) SecretOutput { return pulumi.ToOutputWithContext(ctx, i).(SecretOutput) } -func (i *Secret) ToOutput(ctx context.Context) pulumix.Output[*Secret] { - return pulumix.Output[*Secret]{ - OutputState: i.ToSecretOutputWithContext(ctx).OutputState, - } -} - // SecretArrayInput is an input type that accepts SecretArray and SecretArrayOutput values. // You can construct a concrete instance of `SecretArrayInput` via: // @@ -269,12 +262,6 @@ func (i SecretArray) ToSecretArrayOutputWithContext(ctx context.Context) SecretA return pulumi.ToOutputWithContext(ctx, i).(SecretArrayOutput) } -func (i SecretArray) ToOutput(ctx context.Context) pulumix.Output[[]*Secret] { - return pulumix.Output[[]*Secret]{ - OutputState: i.ToSecretArrayOutputWithContext(ctx).OutputState, - } -} - // SecretMapInput is an input type that accepts SecretMap and SecretMapOutput values. // You can construct a concrete instance of `SecretMapInput` via: // @@ -300,12 +287,6 @@ func (i SecretMap) ToSecretMapOutputWithContext(ctx context.Context) SecretMapOu return pulumi.ToOutputWithContext(ctx, i).(SecretMapOutput) } -func (i SecretMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Secret] { - return pulumix.Output[map[string]*Secret]{ - OutputState: i.ToSecretMapOutputWithContext(ctx).OutputState, - } -} - type SecretOutput struct{ *pulumi.OutputState } func (SecretOutput) ElementType() reflect.Type { @@ -320,12 +301,6 @@ func (o SecretOutput) ToSecretOutputWithContext(ctx context.Context) SecretOutpu return o } -func (o SecretOutput) ToOutput(ctx context.Context) pulumix.Output[*Secret] { - return pulumix.Output[*Secret]{ - OutputState: o.OutputState, - } -} - // A mapping whose keys are the top-level data keys returned from // Vault and whose values are the corresponding values. This map can only // represent string data, so any non-string values returned from Vault are @@ -367,12 +342,6 @@ func (o SecretArrayOutput) ToSecretArrayOutputWithContext(ctx context.Context) S return o } -func (o SecretArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Secret] { - return pulumix.Output[[]*Secret]{ - OutputState: o.OutputState, - } -} - func (o SecretArrayOutput) Index(i pulumi.IntInput) SecretOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Secret { return vs[0].([]*Secret)[vs[1].(int)] @@ -393,12 +362,6 @@ func (o SecretMapOutput) ToSecretMapOutputWithContext(ctx context.Context) Secre return o } -func (o SecretMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Secret] { - return pulumix.Output[map[string]*Secret]{ - OutputState: o.OutputState, - } -} - func (o SecretMapOutput) MapIndex(k pulumi.StringInput) SecretOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Secret { return vs[0].(map[string]*Secret)[vs[1].(string)] diff --git a/sdk/go/vault/kv/secretBackendV2.go b/sdk/go/vault/kv/secretBackendV2.go index 4d6b1c87a..2041bc209 100644 --- a/sdk/go/vault/kv/secretBackendV2.go +++ b/sdk/go/vault/kv/secretBackendV2.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Configures KV-V2 backend level settings that are applied to @@ -227,12 +226,6 @@ func (i *SecretBackendV2) ToSecretBackendV2OutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SecretBackendV2Output) } -func (i *SecretBackendV2) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendV2] { - return pulumix.Output[*SecretBackendV2]{ - OutputState: i.ToSecretBackendV2OutputWithContext(ctx).OutputState, - } -} - // SecretBackendV2ArrayInput is an input type that accepts SecretBackendV2Array and SecretBackendV2ArrayOutput values. // You can construct a concrete instance of `SecretBackendV2ArrayInput` via: // @@ -258,12 +251,6 @@ func (i SecretBackendV2Array) ToSecretBackendV2ArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendV2ArrayOutput) } -func (i SecretBackendV2Array) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendV2] { - return pulumix.Output[[]*SecretBackendV2]{ - OutputState: i.ToSecretBackendV2ArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendV2MapInput is an input type that accepts SecretBackendV2Map and SecretBackendV2MapOutput values. // You can construct a concrete instance of `SecretBackendV2MapInput` via: // @@ -289,12 +276,6 @@ func (i SecretBackendV2Map) ToSecretBackendV2MapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendV2MapOutput) } -func (i SecretBackendV2Map) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendV2] { - return pulumix.Output[map[string]*SecretBackendV2]{ - OutputState: i.ToSecretBackendV2MapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendV2Output struct{ *pulumi.OutputState } func (SecretBackendV2Output) ElementType() reflect.Type { @@ -309,12 +290,6 @@ func (o SecretBackendV2Output) ToSecretBackendV2OutputWithContext(ctx context.Co return o } -func (o SecretBackendV2Output) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendV2] { - return pulumix.Output[*SecretBackendV2]{ - OutputState: o.OutputState, - } -} - // If true, all keys will require the cas // parameter to be set on all write requests. func (o SecretBackendV2Output) CasRequired() pulumi.BoolOutput { @@ -359,12 +334,6 @@ func (o SecretBackendV2ArrayOutput) ToSecretBackendV2ArrayOutputWithContext(ctx return o } -func (o SecretBackendV2ArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendV2] { - return pulumix.Output[[]*SecretBackendV2]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendV2ArrayOutput) Index(i pulumi.IntInput) SecretBackendV2Output { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendV2 { return vs[0].([]*SecretBackendV2)[vs[1].(int)] @@ -385,12 +354,6 @@ func (o SecretBackendV2MapOutput) ToSecretBackendV2MapOutputWithContext(ctx cont return o } -func (o SecretBackendV2MapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendV2] { - return pulumix.Output[map[string]*SecretBackendV2]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendV2MapOutput) MapIndex(k pulumi.StringInput) SecretBackendV2Output { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendV2 { return vs[0].(map[string]*SecretBackendV2)[vs[1].(string)] diff --git a/sdk/go/vault/kv/secretV2.go b/sdk/go/vault/kv/secretV2.go index ff2c2964c..71688f166 100644 --- a/sdk/go/vault/kv/secretV2.go +++ b/sdk/go/vault/kv/secretV2.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Writes a KV-V2 secret to a given path in Vault. @@ -378,12 +377,6 @@ func (i *SecretV2) ToSecretV2OutputWithContext(ctx context.Context) SecretV2Outp return pulumi.ToOutputWithContext(ctx, i).(SecretV2Output) } -func (i *SecretV2) ToOutput(ctx context.Context) pulumix.Output[*SecretV2] { - return pulumix.Output[*SecretV2]{ - OutputState: i.ToSecretV2OutputWithContext(ctx).OutputState, - } -} - // SecretV2ArrayInput is an input type that accepts SecretV2Array and SecretV2ArrayOutput values. // You can construct a concrete instance of `SecretV2ArrayInput` via: // @@ -409,12 +402,6 @@ func (i SecretV2Array) ToSecretV2ArrayOutputWithContext(ctx context.Context) Sec return pulumi.ToOutputWithContext(ctx, i).(SecretV2ArrayOutput) } -func (i SecretV2Array) ToOutput(ctx context.Context) pulumix.Output[[]*SecretV2] { - return pulumix.Output[[]*SecretV2]{ - OutputState: i.ToSecretV2ArrayOutputWithContext(ctx).OutputState, - } -} - // SecretV2MapInput is an input type that accepts SecretV2Map and SecretV2MapOutput values. // You can construct a concrete instance of `SecretV2MapInput` via: // @@ -440,12 +427,6 @@ func (i SecretV2Map) ToSecretV2MapOutputWithContext(ctx context.Context) SecretV return pulumi.ToOutputWithContext(ctx, i).(SecretV2MapOutput) } -func (i SecretV2Map) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretV2] { - return pulumix.Output[map[string]*SecretV2]{ - OutputState: i.ToSecretV2MapOutputWithContext(ctx).OutputState, - } -} - type SecretV2Output struct{ *pulumi.OutputState } func (SecretV2Output) ElementType() reflect.Type { @@ -460,12 +441,6 @@ func (o SecretV2Output) ToSecretV2OutputWithContext(ctx context.Context) SecretV return o } -func (o SecretV2Output) ToOutput(ctx context.Context) pulumix.Output[*SecretV2] { - return pulumix.Output[*SecretV2]{ - OutputState: o.OutputState, - } -} - // This flag is required if `casRequired` is set to true // on either the secret or the engine's config. In order for a // write operation to be successful, cas must be set to the current version @@ -557,12 +532,6 @@ func (o SecretV2ArrayOutput) ToSecretV2ArrayOutputWithContext(ctx context.Contex return o } -func (o SecretV2ArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretV2] { - return pulumix.Output[[]*SecretV2]{ - OutputState: o.OutputState, - } -} - func (o SecretV2ArrayOutput) Index(i pulumi.IntInput) SecretV2Output { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretV2 { return vs[0].([]*SecretV2)[vs[1].(int)] @@ -583,12 +552,6 @@ func (o SecretV2MapOutput) ToSecretV2MapOutputWithContext(ctx context.Context) S return o } -func (o SecretV2MapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretV2] { - return pulumix.Output[map[string]*SecretV2]{ - OutputState: o.OutputState, - } -} - func (o SecretV2MapOutput) MapIndex(k pulumi.StringInput) SecretV2Output { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretV2 { return vs[0].(map[string]*SecretV2)[vs[1].(string)] diff --git a/sdk/go/vault/ldap/authBackend.go b/sdk/go/vault/ldap/authBackend.go index a8c953e91..1535ec5b9 100644 --- a/sdk/go/vault/ldap/authBackend.go +++ b/sdk/go/vault/ldap/authBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource for managing an [LDAP auth backend within Vault](https://www.vaultproject.io/docs/auth/ldap.html). @@ -601,12 +600,6 @@ func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBa return pulumi.ToOutputWithContext(ctx, i).(AuthBackendOutput) } -func (i *AuthBackend) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: i.ToAuthBackendOutputWithContext(ctx).OutputState, - } -} - // AuthBackendArrayInput is an input type that accepts AuthBackendArray and AuthBackendArrayOutput values. // You can construct a concrete instance of `AuthBackendArrayInput` via: // @@ -632,12 +625,6 @@ func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendArrayOutput) } -func (i AuthBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: i.ToAuthBackendArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendMapInput is an input type that accepts AuthBackendMap and AuthBackendMapOutput values. // You can construct a concrete instance of `AuthBackendMapInput` via: // @@ -663,12 +650,6 @@ func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthBackendMapOutput) } -func (i AuthBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: i.ToAuthBackendMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendOutput struct{ *pulumi.OutputState } func (AuthBackendOutput) ElementType() reflect.Type { @@ -683,12 +664,6 @@ func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) A return o } -func (o AuthBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: o.OutputState, - } -} - // The accessor for this auth mount. func (o AuthBackendOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackend) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -909,12 +884,6 @@ func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context. return o } -func (o AuthBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].([]*AuthBackend)[vs[1].(int)] @@ -935,12 +904,6 @@ func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Cont return o } -func (o AuthBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].(map[string]*AuthBackend)[vs[1].(string)] diff --git a/sdk/go/vault/ldap/authBackendGroup.go b/sdk/go/vault/ldap/authBackendGroup.go index ae078394b..e8f15b9a5 100644 --- a/sdk/go/vault/ldap/authBackendGroup.go +++ b/sdk/go/vault/ldap/authBackendGroup.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to create a group in an [LDAP auth backend within Vault](https://www.vaultproject.io/docs/auth/ldap.html). @@ -209,12 +208,6 @@ func (i *AuthBackendGroup) ToAuthBackendGroupOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AuthBackendGroupOutput) } -func (i *AuthBackendGroup) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendGroup] { - return pulumix.Output[*AuthBackendGroup]{ - OutputState: i.ToAuthBackendGroupOutputWithContext(ctx).OutputState, - } -} - // AuthBackendGroupArrayInput is an input type that accepts AuthBackendGroupArray and AuthBackendGroupArrayOutput values. // You can construct a concrete instance of `AuthBackendGroupArrayInput` via: // @@ -240,12 +233,6 @@ func (i AuthBackendGroupArray) ToAuthBackendGroupArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendGroupArrayOutput) } -func (i AuthBackendGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendGroup] { - return pulumix.Output[[]*AuthBackendGroup]{ - OutputState: i.ToAuthBackendGroupArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendGroupMapInput is an input type that accepts AuthBackendGroupMap and AuthBackendGroupMapOutput values. // You can construct a concrete instance of `AuthBackendGroupMapInput` via: // @@ -271,12 +258,6 @@ func (i AuthBackendGroupMap) ToAuthBackendGroupMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuthBackendGroupMapOutput) } -func (i AuthBackendGroupMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendGroup] { - return pulumix.Output[map[string]*AuthBackendGroup]{ - OutputState: i.ToAuthBackendGroupMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendGroupOutput struct{ *pulumi.OutputState } func (AuthBackendGroupOutput) ElementType() reflect.Type { @@ -291,12 +272,6 @@ func (o AuthBackendGroupOutput) ToAuthBackendGroupOutputWithContext(ctx context. return o } -func (o AuthBackendGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendGroup] { - return pulumix.Output[*AuthBackendGroup]{ - OutputState: o.OutputState, - } -} - // Path to the authentication backend // // For more details on the usage of each argument consult the [Vault LDAP API documentation](https://www.vaultproject.io/api-docs/auth/ldap). @@ -336,12 +311,6 @@ func (o AuthBackendGroupArrayOutput) ToAuthBackendGroupArrayOutputWithContext(ct return o } -func (o AuthBackendGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendGroup] { - return pulumix.Output[[]*AuthBackendGroup]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendGroupArrayOutput) Index(i pulumi.IntInput) AuthBackendGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendGroup { return vs[0].([]*AuthBackendGroup)[vs[1].(int)] @@ -362,12 +331,6 @@ func (o AuthBackendGroupMapOutput) ToAuthBackendGroupMapOutputWithContext(ctx co return o } -func (o AuthBackendGroupMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendGroup] { - return pulumix.Output[map[string]*AuthBackendGroup]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendGroupMapOutput) MapIndex(k pulumi.StringInput) AuthBackendGroupOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendGroup { return vs[0].(map[string]*AuthBackendGroup)[vs[1].(string)] diff --git a/sdk/go/vault/ldap/authBackendUser.go b/sdk/go/vault/ldap/authBackendUser.go index 865789fe8..91f62efba 100644 --- a/sdk/go/vault/ldap/authBackendUser.go +++ b/sdk/go/vault/ldap/authBackendUser.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to create a user in an [LDAP auth backend within Vault](https://www.vaultproject.io/docs/auth/ldap.html). @@ -220,12 +219,6 @@ func (i *AuthBackendUser) ToAuthBackendUserOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendUserOutput) } -func (i *AuthBackendUser) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendUser] { - return pulumix.Output[*AuthBackendUser]{ - OutputState: i.ToAuthBackendUserOutputWithContext(ctx).OutputState, - } -} - // AuthBackendUserArrayInput is an input type that accepts AuthBackendUserArray and AuthBackendUserArrayOutput values. // You can construct a concrete instance of `AuthBackendUserArrayInput` via: // @@ -251,12 +244,6 @@ func (i AuthBackendUserArray) ToAuthBackendUserArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendUserArrayOutput) } -func (i AuthBackendUserArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendUser] { - return pulumix.Output[[]*AuthBackendUser]{ - OutputState: i.ToAuthBackendUserArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendUserMapInput is an input type that accepts AuthBackendUserMap and AuthBackendUserMapOutput values. // You can construct a concrete instance of `AuthBackendUserMapInput` via: // @@ -282,12 +269,6 @@ func (i AuthBackendUserMap) ToAuthBackendUserMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendUserMapOutput) } -func (i AuthBackendUserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendUser] { - return pulumix.Output[map[string]*AuthBackendUser]{ - OutputState: i.ToAuthBackendUserMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendUserOutput struct{ *pulumi.OutputState } func (AuthBackendUserOutput) ElementType() reflect.Type { @@ -302,12 +283,6 @@ func (o AuthBackendUserOutput) ToAuthBackendUserOutputWithContext(ctx context.Co return o } -func (o AuthBackendUserOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendUser] { - return pulumix.Output[*AuthBackendUser]{ - OutputState: o.OutputState, - } -} - // Path to the authentication backend // // For more details on the usage of each argument consult the [Vault LDAP API documentation](https://www.vaultproject.io/api-docs/auth/ldap). @@ -352,12 +327,6 @@ func (o AuthBackendUserArrayOutput) ToAuthBackendUserArrayOutputWithContext(ctx return o } -func (o AuthBackendUserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendUser] { - return pulumix.Output[[]*AuthBackendUser]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendUserArrayOutput) Index(i pulumi.IntInput) AuthBackendUserOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendUser { return vs[0].([]*AuthBackendUser)[vs[1].(int)] @@ -378,12 +347,6 @@ func (o AuthBackendUserMapOutput) ToAuthBackendUserMapOutputWithContext(ctx cont return o } -func (o AuthBackendUserMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendUser] { - return pulumix.Output[map[string]*AuthBackendUser]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendUserMapOutput) MapIndex(k pulumi.StringInput) AuthBackendUserOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendUser { return vs[0].(map[string]*AuthBackendUser)[vs[1].(string)] diff --git a/sdk/go/vault/ldap/getDynamicCredentials.go b/sdk/go/vault/ldap/getDynamicCredentials.go index 5c2220b5d..fb733d252 100644 --- a/sdk/go/vault/ldap/getDynamicCredentials.go +++ b/sdk/go/vault/ldap/getDynamicCredentials.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetDynamicCredentials(ctx *pulumi.Context, args *GetDynamicCredentialsArgs, opts ...pulumi.InvokeOption) (*GetDynamicCredentialsResult, error) { @@ -83,12 +82,6 @@ func (o GetDynamicCredentialsResultOutput) ToGetDynamicCredentialsResultOutputWi return o } -func (o GetDynamicCredentialsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDynamicCredentialsResult] { - return pulumix.Output[GetDynamicCredentialsResult]{ - OutputState: o.OutputState, - } -} - func (o GetDynamicCredentialsResultOutput) DistinguishedNames() pulumi.StringArrayOutput { return o.ApplyT(func(v GetDynamicCredentialsResult) []string { return v.DistinguishedNames }).(pulumi.StringArrayOutput) } diff --git a/sdk/go/vault/ldap/getStaticCredentials.go b/sdk/go/vault/ldap/getStaticCredentials.go index 7a2fca91b..ea8546cbd 100644 --- a/sdk/go/vault/ldap/getStaticCredentials.go +++ b/sdk/go/vault/ldap/getStaticCredentials.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetStaticCredentials(ctx *pulumi.Context, args *GetStaticCredentialsArgs, opts ...pulumi.InvokeOption) (*GetStaticCredentialsResult, error) { @@ -84,12 +83,6 @@ func (o GetStaticCredentialsResultOutput) ToGetStaticCredentialsResultOutputWith return o } -func (o GetStaticCredentialsResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetStaticCredentialsResult] { - return pulumix.Output[GetStaticCredentialsResult]{ - OutputState: o.OutputState, - } -} - func (o GetStaticCredentialsResultOutput) Dn() pulumi.StringOutput { return o.ApplyT(func(v GetStaticCredentialsResult) string { return v.Dn }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/ldap/secretBackend.go b/sdk/go/vault/ldap/secretBackend.go index 40a0bb513..ca12ccafc 100644 --- a/sdk/go/vault/ldap/secretBackend.go +++ b/sdk/go/vault/ldap/secretBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -509,12 +508,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -540,12 +533,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -571,12 +558,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -591,12 +572,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // Accessor of the mount func (o SecretBackendOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackend) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -774,12 +749,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -800,12 +769,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/ldap/secretBackendDynamicRole.go b/sdk/go/vault/ldap/secretBackendDynamicRole.go index f03a36503..971322d4c 100644 --- a/sdk/go/vault/ldap/secretBackendDynamicRole.go +++ b/sdk/go/vault/ldap/secretBackendDynamicRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -367,12 +366,6 @@ func (i *SecretBackendDynamicRole) ToSecretBackendDynamicRoleOutputWithContext(c return pulumi.ToOutputWithContext(ctx, i).(SecretBackendDynamicRoleOutput) } -func (i *SecretBackendDynamicRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendDynamicRole] { - return pulumix.Output[*SecretBackendDynamicRole]{ - OutputState: i.ToSecretBackendDynamicRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendDynamicRoleArrayInput is an input type that accepts SecretBackendDynamicRoleArray and SecretBackendDynamicRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendDynamicRoleArrayInput` via: // @@ -398,12 +391,6 @@ func (i SecretBackendDynamicRoleArray) ToSecretBackendDynamicRoleArrayOutputWith return pulumi.ToOutputWithContext(ctx, i).(SecretBackendDynamicRoleArrayOutput) } -func (i SecretBackendDynamicRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendDynamicRole] { - return pulumix.Output[[]*SecretBackendDynamicRole]{ - OutputState: i.ToSecretBackendDynamicRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendDynamicRoleMapInput is an input type that accepts SecretBackendDynamicRoleMap and SecretBackendDynamicRoleMapOutput values. // You can construct a concrete instance of `SecretBackendDynamicRoleMapInput` via: // @@ -429,12 +416,6 @@ func (i SecretBackendDynamicRoleMap) ToSecretBackendDynamicRoleMapOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecretBackendDynamicRoleMapOutput) } -func (i SecretBackendDynamicRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendDynamicRole] { - return pulumix.Output[map[string]*SecretBackendDynamicRole]{ - OutputState: i.ToSecretBackendDynamicRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendDynamicRoleOutput struct{ *pulumi.OutputState } func (SecretBackendDynamicRoleOutput) ElementType() reflect.Type { @@ -449,12 +430,6 @@ func (o SecretBackendDynamicRoleOutput) ToSecretBackendDynamicRoleOutputWithCont return o } -func (o SecretBackendDynamicRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendDynamicRole] { - return pulumix.Output[*SecretBackendDynamicRole]{ - OutputState: o.OutputState, - } -} - // A templatized LDIF string used to create a user // account. This may contain multiple LDIF entries. The `creationLdif` can also // be used to add the user account to an existing group. All LDIF entries are @@ -537,12 +512,6 @@ func (o SecretBackendDynamicRoleArrayOutput) ToSecretBackendDynamicRoleArrayOutp return o } -func (o SecretBackendDynamicRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendDynamicRole] { - return pulumix.Output[[]*SecretBackendDynamicRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendDynamicRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendDynamicRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendDynamicRole { return vs[0].([]*SecretBackendDynamicRole)[vs[1].(int)] @@ -563,12 +532,6 @@ func (o SecretBackendDynamicRoleMapOutput) ToSecretBackendDynamicRoleMapOutputWi return o } -func (o SecretBackendDynamicRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendDynamicRole] { - return pulumix.Output[map[string]*SecretBackendDynamicRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendDynamicRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendDynamicRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendDynamicRole { return vs[0].(map[string]*SecretBackendDynamicRole)[vs[1].(string)] diff --git a/sdk/go/vault/ldap/secretBackendLibrarySet.go b/sdk/go/vault/ldap/secretBackendLibrarySet.go index 546c3b923..3cfa65c2a 100644 --- a/sdk/go/vault/ldap/secretBackendLibrarySet.go +++ b/sdk/go/vault/ldap/secretBackendLibrarySet.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -253,12 +252,6 @@ func (i *SecretBackendLibrarySet) ToSecretBackendLibrarySetOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretBackendLibrarySetOutput) } -func (i *SecretBackendLibrarySet) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendLibrarySet] { - return pulumix.Output[*SecretBackendLibrarySet]{ - OutputState: i.ToSecretBackendLibrarySetOutputWithContext(ctx).OutputState, - } -} - // SecretBackendLibrarySetArrayInput is an input type that accepts SecretBackendLibrarySetArray and SecretBackendLibrarySetArrayOutput values. // You can construct a concrete instance of `SecretBackendLibrarySetArrayInput` via: // @@ -284,12 +277,6 @@ func (i SecretBackendLibrarySetArray) ToSecretBackendLibrarySetArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretBackendLibrarySetArrayOutput) } -func (i SecretBackendLibrarySetArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendLibrarySet] { - return pulumix.Output[[]*SecretBackendLibrarySet]{ - OutputState: i.ToSecretBackendLibrarySetArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendLibrarySetMapInput is an input type that accepts SecretBackendLibrarySetMap and SecretBackendLibrarySetMapOutput values. // You can construct a concrete instance of `SecretBackendLibrarySetMapInput` via: // @@ -315,12 +302,6 @@ func (i SecretBackendLibrarySetMap) ToSecretBackendLibrarySetMapOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendLibrarySetMapOutput) } -func (i SecretBackendLibrarySetMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendLibrarySet] { - return pulumix.Output[map[string]*SecretBackendLibrarySet]{ - OutputState: i.ToSecretBackendLibrarySetMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendLibrarySetOutput struct{ *pulumi.OutputState } func (SecretBackendLibrarySetOutput) ElementType() reflect.Type { @@ -335,12 +316,6 @@ func (o SecretBackendLibrarySetOutput) ToSecretBackendLibrarySetOutputWithContex return o } -func (o SecretBackendLibrarySetOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendLibrarySet] { - return pulumix.Output[*SecretBackendLibrarySet]{ - OutputState: o.OutputState, - } -} - // Disable enforcing that service // accounts must be checked in by the entity or client token that checked them // out. Defaults to false. @@ -398,12 +373,6 @@ func (o SecretBackendLibrarySetArrayOutput) ToSecretBackendLibrarySetArrayOutput return o } -func (o SecretBackendLibrarySetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendLibrarySet] { - return pulumix.Output[[]*SecretBackendLibrarySet]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendLibrarySetArrayOutput) Index(i pulumi.IntInput) SecretBackendLibrarySetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendLibrarySet { return vs[0].([]*SecretBackendLibrarySet)[vs[1].(int)] @@ -424,12 +393,6 @@ func (o SecretBackendLibrarySetMapOutput) ToSecretBackendLibrarySetMapOutputWith return o } -func (o SecretBackendLibrarySetMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendLibrarySet] { - return pulumix.Output[map[string]*SecretBackendLibrarySet]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendLibrarySetMapOutput) MapIndex(k pulumi.StringInput) SecretBackendLibrarySetOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendLibrarySet { return vs[0].(map[string]*SecretBackendLibrarySet)[vs[1].(string)] diff --git a/sdk/go/vault/ldap/secretBackendStaticRole.go b/sdk/go/vault/ldap/secretBackendStaticRole.go index 2ab2ad09b..2a53ff0c1 100644 --- a/sdk/go/vault/ldap/secretBackendStaticRole.go +++ b/sdk/go/vault/ldap/secretBackendStaticRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -236,12 +235,6 @@ func (i *SecretBackendStaticRole) ToSecretBackendStaticRoleOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleOutput) } -func (i *SecretBackendStaticRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendStaticRole] { - return pulumix.Output[*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendStaticRoleArrayInput is an input type that accepts SecretBackendStaticRoleArray and SecretBackendStaticRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendStaticRoleArrayInput` via: // @@ -267,12 +260,6 @@ func (i SecretBackendStaticRoleArray) ToSecretBackendStaticRoleArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleArrayOutput) } -func (i SecretBackendStaticRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendStaticRole] { - return pulumix.Output[[]*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendStaticRoleMapInput is an input type that accepts SecretBackendStaticRoleMap and SecretBackendStaticRoleMapOutput values. // You can construct a concrete instance of `SecretBackendStaticRoleMapInput` via: // @@ -298,12 +285,6 @@ func (i SecretBackendStaticRoleMap) ToSecretBackendStaticRoleMapOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendStaticRoleMapOutput) } -func (i SecretBackendStaticRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendStaticRole] { - return pulumix.Output[map[string]*SecretBackendStaticRole]{ - OutputState: i.ToSecretBackendStaticRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendStaticRoleOutput struct{ *pulumi.OutputState } func (SecretBackendStaticRoleOutput) ElementType() reflect.Type { @@ -318,12 +299,6 @@ func (o SecretBackendStaticRoleOutput) ToSecretBackendStaticRoleOutputWithContex return o } -func (o SecretBackendStaticRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendStaticRole] { - return pulumix.Output[*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - // Distinguished name (DN) of the existing LDAP entry to manage // password rotation for. If given, it will take precedence over `username` for the LDAP // search performed during password rotation. Cannot be modified after creation. @@ -374,12 +349,6 @@ func (o SecretBackendStaticRoleArrayOutput) ToSecretBackendStaticRoleArrayOutput return o } -func (o SecretBackendStaticRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendStaticRole] { - return pulumix.Output[[]*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendStaticRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendStaticRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendStaticRole { return vs[0].([]*SecretBackendStaticRole)[vs[1].(int)] @@ -400,12 +369,6 @@ func (o SecretBackendStaticRoleMapOutput) ToSecretBackendStaticRoleMapOutputWith return o } -func (o SecretBackendStaticRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendStaticRole] { - return pulumix.Output[map[string]*SecretBackendStaticRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendStaticRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendStaticRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendStaticRole { return vs[0].(map[string]*SecretBackendStaticRole)[vs[1].(string)] diff --git a/sdk/go/vault/managed/keys.go b/sdk/go/vault/managed/keys.go index 82bca3bb8..2c5ecd457 100644 --- a/sdk/go/vault/managed/keys.go +++ b/sdk/go/vault/managed/keys.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Import @@ -150,12 +149,6 @@ func (i *Keys) ToKeysOutputWithContext(ctx context.Context) KeysOutput { return pulumi.ToOutputWithContext(ctx, i).(KeysOutput) } -func (i *Keys) ToOutput(ctx context.Context) pulumix.Output[*Keys] { - return pulumix.Output[*Keys]{ - OutputState: i.ToKeysOutputWithContext(ctx).OutputState, - } -} - // KeysArrayInput is an input type that accepts KeysArray and KeysArrayOutput values. // You can construct a concrete instance of `KeysArrayInput` via: // @@ -181,12 +174,6 @@ func (i KeysArray) ToKeysArrayOutputWithContext(ctx context.Context) KeysArrayOu return pulumi.ToOutputWithContext(ctx, i).(KeysArrayOutput) } -func (i KeysArray) ToOutput(ctx context.Context) pulumix.Output[[]*Keys] { - return pulumix.Output[[]*Keys]{ - OutputState: i.ToKeysArrayOutputWithContext(ctx).OutputState, - } -} - // KeysMapInput is an input type that accepts KeysMap and KeysMapOutput values. // You can construct a concrete instance of `KeysMapInput` via: // @@ -212,12 +199,6 @@ func (i KeysMap) ToKeysMapOutputWithContext(ctx context.Context) KeysMapOutput { return pulumi.ToOutputWithContext(ctx, i).(KeysMapOutput) } -func (i KeysMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Keys] { - return pulumix.Output[map[string]*Keys]{ - OutputState: i.ToKeysMapOutputWithContext(ctx).OutputState, - } -} - type KeysOutput struct{ *pulumi.OutputState } func (KeysOutput) ElementType() reflect.Type { @@ -232,12 +213,6 @@ func (o KeysOutput) ToKeysOutputWithContext(ctx context.Context) KeysOutput { return o } -func (o KeysOutput) ToOutput(ctx context.Context) pulumix.Output[*Keys] { - return pulumix.Output[*Keys]{ - OutputState: o.OutputState, - } -} - // Configuration block for AWS Managed Keys func (o KeysOutput) Aws() KeysAwArrayOutput { return o.ApplyT(func(v *Keys) KeysAwArrayOutput { return v.Aws }).(KeysAwArrayOutput) @@ -275,12 +250,6 @@ func (o KeysArrayOutput) ToKeysArrayOutputWithContext(ctx context.Context) KeysA return o } -func (o KeysArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Keys] { - return pulumix.Output[[]*Keys]{ - OutputState: o.OutputState, - } -} - func (o KeysArrayOutput) Index(i pulumi.IntInput) KeysOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Keys { return vs[0].([]*Keys)[vs[1].(int)] @@ -301,12 +270,6 @@ func (o KeysMapOutput) ToKeysMapOutputWithContext(ctx context.Context) KeysMapOu return o } -func (o KeysMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Keys] { - return pulumix.Output[map[string]*Keys]{ - OutputState: o.OutputState, - } -} - func (o KeysMapOutput) MapIndex(k pulumi.StringInput) KeysOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Keys { return vs[0].(map[string]*Keys)[vs[1].(string)] diff --git a/sdk/go/vault/managed/pulumiTypes.go b/sdk/go/vault/managed/pulumiTypes.go index d0a559f45..de2b9cff6 100644 --- a/sdk/go/vault/managed/pulumiTypes.go +++ b/sdk/go/vault/managed/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -111,12 +110,6 @@ func (i KeysAwArgs) ToKeysAwOutputWithContext(ctx context.Context) KeysAwOutput return pulumi.ToOutputWithContext(ctx, i).(KeysAwOutput) } -func (i KeysAwArgs) ToOutput(ctx context.Context) pulumix.Output[KeysAw] { - return pulumix.Output[KeysAw]{ - OutputState: i.ToKeysAwOutputWithContext(ctx).OutputState, - } -} - // KeysAwArrayInput is an input type that accepts KeysAwArray and KeysAwArrayOutput values. // You can construct a concrete instance of `KeysAwArrayInput` via: // @@ -142,12 +135,6 @@ func (i KeysAwArray) ToKeysAwArrayOutputWithContext(ctx context.Context) KeysAwA return pulumi.ToOutputWithContext(ctx, i).(KeysAwArrayOutput) } -func (i KeysAwArray) ToOutput(ctx context.Context) pulumix.Output[[]KeysAw] { - return pulumix.Output[[]KeysAw]{ - OutputState: i.ToKeysAwArrayOutputWithContext(ctx).OutputState, - } -} - type KeysAwOutput struct{ *pulumi.OutputState } func (KeysAwOutput) ElementType() reflect.Type { @@ -162,12 +149,6 @@ func (o KeysAwOutput) ToKeysAwOutputWithContext(ctx context.Context) KeysAwOutpu return o } -func (o KeysAwOutput) ToOutput(ctx context.Context) pulumix.Output[KeysAw] { - return pulumix.Output[KeysAw]{ - OutputState: o.OutputState, - } -} - // The AWS access key to use. func (o KeysAwOutput) AccessKey() pulumi.StringOutput { return o.ApplyT(func(v KeysAw) string { return v.AccessKey }).(pulumi.StringOutput) @@ -258,12 +239,6 @@ func (o KeysAwArrayOutput) ToKeysAwArrayOutputWithContext(ctx context.Context) K return o } -func (o KeysAwArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeysAw] { - return pulumix.Output[[]KeysAw]{ - OutputState: o.OutputState, - } -} - func (o KeysAwArrayOutput) Index(i pulumi.IntInput) KeysAwOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeysAw { return vs[0].([]KeysAw)[vs[1].(int)] @@ -369,12 +344,6 @@ func (i KeysAzureArgs) ToKeysAzureOutputWithContext(ctx context.Context) KeysAzu return pulumi.ToOutputWithContext(ctx, i).(KeysAzureOutput) } -func (i KeysAzureArgs) ToOutput(ctx context.Context) pulumix.Output[KeysAzure] { - return pulumix.Output[KeysAzure]{ - OutputState: i.ToKeysAzureOutputWithContext(ctx).OutputState, - } -} - // KeysAzureArrayInput is an input type that accepts KeysAzureArray and KeysAzureArrayOutput values. // You can construct a concrete instance of `KeysAzureArrayInput` via: // @@ -400,12 +369,6 @@ func (i KeysAzureArray) ToKeysAzureArrayOutputWithContext(ctx context.Context) K return pulumi.ToOutputWithContext(ctx, i).(KeysAzureArrayOutput) } -func (i KeysAzureArray) ToOutput(ctx context.Context) pulumix.Output[[]KeysAzure] { - return pulumix.Output[[]KeysAzure]{ - OutputState: i.ToKeysAzureArrayOutputWithContext(ctx).OutputState, - } -} - type KeysAzureOutput struct{ *pulumi.OutputState } func (KeysAzureOutput) ElementType() reflect.Type { @@ -420,12 +383,6 @@ func (o KeysAzureOutput) ToKeysAzureOutputWithContext(ctx context.Context) KeysA return o } -func (o KeysAzureOutput) ToOutput(ctx context.Context) pulumix.Output[KeysAzure] { - return pulumix.Output[KeysAzure]{ - OutputState: o.OutputState, - } -} - // If no existing key can be found in // the referenced backend, instructs Vault to generate a key within the backend. func (o KeysAzureOutput) AllowGenerateKey() pulumi.BoolPtrOutput { @@ -520,12 +477,6 @@ func (o KeysAzureArrayOutput) ToKeysAzureArrayOutputWithContext(ctx context.Cont return o } -func (o KeysAzureArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeysAzure] { - return pulumix.Output[[]KeysAzure]{ - OutputState: o.OutputState, - } -} - func (o KeysAzureArrayOutput) Index(i pulumi.IntInput) KeysAzureOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeysAzure { return vs[0].([]KeysAzure)[vs[1].(int)] @@ -645,12 +596,6 @@ func (i KeysPkcArgs) ToKeysPkcOutputWithContext(ctx context.Context) KeysPkcOutp return pulumi.ToOutputWithContext(ctx, i).(KeysPkcOutput) } -func (i KeysPkcArgs) ToOutput(ctx context.Context) pulumix.Output[KeysPkc] { - return pulumix.Output[KeysPkc]{ - OutputState: i.ToKeysPkcOutputWithContext(ctx).OutputState, - } -} - // KeysPkcArrayInput is an input type that accepts KeysPkcArray and KeysPkcArrayOutput values. // You can construct a concrete instance of `KeysPkcArrayInput` via: // @@ -676,12 +621,6 @@ func (i KeysPkcArray) ToKeysPkcArrayOutputWithContext(ctx context.Context) KeysP return pulumi.ToOutputWithContext(ctx, i).(KeysPkcArrayOutput) } -func (i KeysPkcArray) ToOutput(ctx context.Context) pulumix.Output[[]KeysPkc] { - return pulumix.Output[[]KeysPkc]{ - OutputState: i.ToKeysPkcArrayOutputWithContext(ctx).OutputState, - } -} - type KeysPkcOutput struct{ *pulumi.OutputState } func (KeysPkcOutput) ElementType() reflect.Type { @@ -696,12 +635,6 @@ func (o KeysPkcOutput) ToKeysPkcOutputWithContext(ctx context.Context) KeysPkcOu return o } -func (o KeysPkcOutput) ToOutput(ctx context.Context) pulumix.Output[KeysPkc] { - return pulumix.Output[KeysPkc]{ - OutputState: o.OutputState, - } -} - // If no existing key can be found in // the referenced backend, instructs Vault to generate a key within the backend. func (o KeysPkcOutput) AllowGenerateKey() pulumi.BoolPtrOutput { @@ -806,12 +739,6 @@ func (o KeysPkcArrayOutput) ToKeysPkcArrayOutputWithContext(ctx context.Context) return o } -func (o KeysPkcArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]KeysPkc] { - return pulumix.Output[[]KeysPkc]{ - OutputState: o.OutputState, - } -} - func (o KeysPkcArrayOutput) Index(i pulumi.IntInput) KeysPkcOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) KeysPkc { return vs[0].([]KeysPkc)[vs[1].(int)] diff --git a/sdk/go/vault/mfaDuo.go b/sdk/go/vault/mfaDuo.go index de552a044..31e8dba37 100644 --- a/sdk/go/vault/mfaDuo.go +++ b/sdk/go/vault/mfaDuo.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage [Duo MFA](https://www.vaultproject.io/docs/enterprise/mfa/mfa-duo.html). @@ -274,12 +273,6 @@ func (i *MfaDuo) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutput { return pulumi.ToOutputWithContext(ctx, i).(MfaDuoOutput) } -func (i *MfaDuo) ToOutput(ctx context.Context) pulumix.Output[*MfaDuo] { - return pulumix.Output[*MfaDuo]{ - OutputState: i.ToMfaDuoOutputWithContext(ctx).OutputState, - } -} - // MfaDuoArrayInput is an input type that accepts MfaDuoArray and MfaDuoArrayOutput values. // You can construct a concrete instance of `MfaDuoArrayInput` via: // @@ -305,12 +298,6 @@ func (i MfaDuoArray) ToMfaDuoArrayOutputWithContext(ctx context.Context) MfaDuoA return pulumi.ToOutputWithContext(ctx, i).(MfaDuoArrayOutput) } -func (i MfaDuoArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaDuo] { - return pulumix.Output[[]*MfaDuo]{ - OutputState: i.ToMfaDuoArrayOutputWithContext(ctx).OutputState, - } -} - // MfaDuoMapInput is an input type that accepts MfaDuoMap and MfaDuoMapOutput values. // You can construct a concrete instance of `MfaDuoMapInput` via: // @@ -336,12 +323,6 @@ func (i MfaDuoMap) ToMfaDuoMapOutputWithContext(ctx context.Context) MfaDuoMapOu return pulumi.ToOutputWithContext(ctx, i).(MfaDuoMapOutput) } -func (i MfaDuoMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaDuo] { - return pulumix.Output[map[string]*MfaDuo]{ - OutputState: i.ToMfaDuoMapOutputWithContext(ctx).OutputState, - } -} - type MfaDuoOutput struct{ *pulumi.OutputState } func (MfaDuoOutput) ElementType() reflect.Type { @@ -356,12 +337,6 @@ func (o MfaDuoOutput) ToMfaDuoOutputWithContext(ctx context.Context) MfaDuoOutpu return o } -func (o MfaDuoOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaDuo] { - return pulumix.Output[*MfaDuo]{ - OutputState: o.OutputState, - } -} - // `(string: )` - API hostname for Duo. func (o MfaDuoOutput) ApiHostname() pulumi.StringOutput { return o.ApplyT(func(v *MfaDuo) pulumi.StringOutput { return v.ApiHostname }).(pulumi.StringOutput) @@ -423,12 +398,6 @@ func (o MfaDuoArrayOutput) ToMfaDuoArrayOutputWithContext(ctx context.Context) M return o } -func (o MfaDuoArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaDuo] { - return pulumix.Output[[]*MfaDuo]{ - OutputState: o.OutputState, - } -} - func (o MfaDuoArrayOutput) Index(i pulumi.IntInput) MfaDuoOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaDuo { return vs[0].([]*MfaDuo)[vs[1].(int)] @@ -449,12 +418,6 @@ func (o MfaDuoMapOutput) ToMfaDuoMapOutputWithContext(ctx context.Context) MfaDu return o } -func (o MfaDuoMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaDuo] { - return pulumix.Output[map[string]*MfaDuo]{ - OutputState: o.OutputState, - } -} - func (o MfaDuoMapOutput) MapIndex(k pulumi.StringInput) MfaDuoOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaDuo { return vs[0].(map[string]*MfaDuo)[vs[1].(string)] diff --git a/sdk/go/vault/mfaOkta.go b/sdk/go/vault/mfaOkta.go index 223978af2..535bdb1a5 100644 --- a/sdk/go/vault/mfaOkta.go +++ b/sdk/go/vault/mfaOkta.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage [Okta MFA](https://www.vaultproject.io/docs/enterprise/mfa/mfa-okta). @@ -292,12 +291,6 @@ func (i *MfaOkta) ToMfaOktaOutputWithContext(ctx context.Context) MfaOktaOutput return pulumi.ToOutputWithContext(ctx, i).(MfaOktaOutput) } -func (i *MfaOkta) ToOutput(ctx context.Context) pulumix.Output[*MfaOkta] { - return pulumix.Output[*MfaOkta]{ - OutputState: i.ToMfaOktaOutputWithContext(ctx).OutputState, - } -} - // MfaOktaArrayInput is an input type that accepts MfaOktaArray and MfaOktaArrayOutput values. // You can construct a concrete instance of `MfaOktaArrayInput` via: // @@ -323,12 +316,6 @@ func (i MfaOktaArray) ToMfaOktaArrayOutputWithContext(ctx context.Context) MfaOk return pulumi.ToOutputWithContext(ctx, i).(MfaOktaArrayOutput) } -func (i MfaOktaArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaOkta] { - return pulumix.Output[[]*MfaOkta]{ - OutputState: i.ToMfaOktaArrayOutputWithContext(ctx).OutputState, - } -} - // MfaOktaMapInput is an input type that accepts MfaOktaMap and MfaOktaMapOutput values. // You can construct a concrete instance of `MfaOktaMapInput` via: // @@ -354,12 +341,6 @@ func (i MfaOktaMap) ToMfaOktaMapOutputWithContext(ctx context.Context) MfaOktaMa return pulumi.ToOutputWithContext(ctx, i).(MfaOktaMapOutput) } -func (i MfaOktaMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaOkta] { - return pulumix.Output[map[string]*MfaOkta]{ - OutputState: i.ToMfaOktaMapOutputWithContext(ctx).OutputState, - } -} - type MfaOktaOutput struct{ *pulumi.OutputState } func (MfaOktaOutput) ElementType() reflect.Type { @@ -374,12 +355,6 @@ func (o MfaOktaOutput) ToMfaOktaOutputWithContext(ctx context.Context) MfaOktaOu return o } -func (o MfaOktaOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaOkta] { - return pulumix.Output[*MfaOkta]{ - OutputState: o.OutputState, - } -} - // `(string: )` - Okta API key. func (o MfaOktaOutput) ApiToken() pulumi.StringOutput { return o.ApplyT(func(v *MfaOkta) pulumi.StringOutput { return v.ApiToken }).(pulumi.StringOutput) @@ -446,12 +421,6 @@ func (o MfaOktaArrayOutput) ToMfaOktaArrayOutputWithContext(ctx context.Context) return o } -func (o MfaOktaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaOkta] { - return pulumix.Output[[]*MfaOkta]{ - OutputState: o.OutputState, - } -} - func (o MfaOktaArrayOutput) Index(i pulumi.IntInput) MfaOktaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaOkta { return vs[0].([]*MfaOkta)[vs[1].(int)] @@ -472,12 +441,6 @@ func (o MfaOktaMapOutput) ToMfaOktaMapOutputWithContext(ctx context.Context) Mfa return o } -func (o MfaOktaMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaOkta] { - return pulumix.Output[map[string]*MfaOkta]{ - OutputState: o.OutputState, - } -} - func (o MfaOktaMapOutput) MapIndex(k pulumi.StringInput) MfaOktaOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaOkta { return vs[0].(map[string]*MfaOkta)[vs[1].(string)] diff --git a/sdk/go/vault/mfaPingid.go b/sdk/go/vault/mfaPingid.go index e9f10f36a..2a9a2e65a 100644 --- a/sdk/go/vault/mfaPingid.go +++ b/sdk/go/vault/mfaPingid.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage [PingID MFA](https://www.vaultproject.io/docs/enterprise/mfa/mfa-pingid). @@ -291,12 +290,6 @@ func (i *MfaPingid) ToMfaPingidOutputWithContext(ctx context.Context) MfaPingidO return pulumi.ToOutputWithContext(ctx, i).(MfaPingidOutput) } -func (i *MfaPingid) ToOutput(ctx context.Context) pulumix.Output[*MfaPingid] { - return pulumix.Output[*MfaPingid]{ - OutputState: i.ToMfaPingidOutputWithContext(ctx).OutputState, - } -} - // MfaPingidArrayInput is an input type that accepts MfaPingidArray and MfaPingidArrayOutput values. // You can construct a concrete instance of `MfaPingidArrayInput` via: // @@ -322,12 +315,6 @@ func (i MfaPingidArray) ToMfaPingidArrayOutputWithContext(ctx context.Context) M return pulumi.ToOutputWithContext(ctx, i).(MfaPingidArrayOutput) } -func (i MfaPingidArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaPingid] { - return pulumix.Output[[]*MfaPingid]{ - OutputState: i.ToMfaPingidArrayOutputWithContext(ctx).OutputState, - } -} - // MfaPingidMapInput is an input type that accepts MfaPingidMap and MfaPingidMapOutput values. // You can construct a concrete instance of `MfaPingidMapInput` via: // @@ -353,12 +340,6 @@ func (i MfaPingidMap) ToMfaPingidMapOutputWithContext(ctx context.Context) MfaPi return pulumi.ToOutputWithContext(ctx, i).(MfaPingidMapOutput) } -func (i MfaPingidMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaPingid] { - return pulumix.Output[map[string]*MfaPingid]{ - OutputState: i.ToMfaPingidMapOutputWithContext(ctx).OutputState, - } -} - type MfaPingidOutput struct{ *pulumi.OutputState } func (MfaPingidOutput) ElementType() reflect.Type { @@ -373,12 +354,6 @@ func (o MfaPingidOutput) ToMfaPingidOutputWithContext(ctx context.Context) MfaPi return o } -func (o MfaPingidOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaPingid] { - return pulumix.Output[*MfaPingid]{ - OutputState: o.OutputState, - } -} - // `(string)` – Admin URL computed by Vault func (o MfaPingidOutput) AdminUrl() pulumi.StringOutput { return o.ApplyT(func(v *MfaPingid) pulumi.StringOutput { return v.AdminUrl }).(pulumi.StringOutput) @@ -464,12 +439,6 @@ func (o MfaPingidArrayOutput) ToMfaPingidArrayOutputWithContext(ctx context.Cont return o } -func (o MfaPingidArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaPingid] { - return pulumix.Output[[]*MfaPingid]{ - OutputState: o.OutputState, - } -} - func (o MfaPingidArrayOutput) Index(i pulumi.IntInput) MfaPingidOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaPingid { return vs[0].([]*MfaPingid)[vs[1].(int)] @@ -490,12 +459,6 @@ func (o MfaPingidMapOutput) ToMfaPingidMapOutputWithContext(ctx context.Context) return o } -func (o MfaPingidMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaPingid] { - return pulumix.Output[map[string]*MfaPingid]{ - OutputState: o.OutputState, - } -} - func (o MfaPingidMapOutput) MapIndex(k pulumi.StringInput) MfaPingidOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaPingid { return vs[0].(map[string]*MfaPingid)[vs[1].(string)] diff --git a/sdk/go/vault/mfaTotp.go b/sdk/go/vault/mfaTotp.go index 4fc03cbaf..696988c96 100644 --- a/sdk/go/vault/mfaTotp.go +++ b/sdk/go/vault/mfaTotp.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage [TOTP MFA](https://www.vaultproject.io/docs/enterprise/mfa/mfa-totp). @@ -253,12 +252,6 @@ func (i *MfaTotp) ToMfaTotpOutputWithContext(ctx context.Context) MfaTotpOutput return pulumi.ToOutputWithContext(ctx, i).(MfaTotpOutput) } -func (i *MfaTotp) ToOutput(ctx context.Context) pulumix.Output[*MfaTotp] { - return pulumix.Output[*MfaTotp]{ - OutputState: i.ToMfaTotpOutputWithContext(ctx).OutputState, - } -} - // MfaTotpArrayInput is an input type that accepts MfaTotpArray and MfaTotpArrayOutput values. // You can construct a concrete instance of `MfaTotpArrayInput` via: // @@ -284,12 +277,6 @@ func (i MfaTotpArray) ToMfaTotpArrayOutputWithContext(ctx context.Context) MfaTo return pulumi.ToOutputWithContext(ctx, i).(MfaTotpArrayOutput) } -func (i MfaTotpArray) ToOutput(ctx context.Context) pulumix.Output[[]*MfaTotp] { - return pulumix.Output[[]*MfaTotp]{ - OutputState: i.ToMfaTotpArrayOutputWithContext(ctx).OutputState, - } -} - // MfaTotpMapInput is an input type that accepts MfaTotpMap and MfaTotpMapOutput values. // You can construct a concrete instance of `MfaTotpMapInput` via: // @@ -315,12 +302,6 @@ func (i MfaTotpMap) ToMfaTotpMapOutputWithContext(ctx context.Context) MfaTotpMa return pulumi.ToOutputWithContext(ctx, i).(MfaTotpMapOutput) } -func (i MfaTotpMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaTotp] { - return pulumix.Output[map[string]*MfaTotp]{ - OutputState: i.ToMfaTotpMapOutputWithContext(ctx).OutputState, - } -} - type MfaTotpOutput struct{ *pulumi.OutputState } func (MfaTotpOutput) ElementType() reflect.Type { @@ -335,12 +316,6 @@ func (o MfaTotpOutput) ToMfaTotpOutputWithContext(ctx context.Context) MfaTotpOu return o } -func (o MfaTotpOutput) ToOutput(ctx context.Context) pulumix.Output[*MfaTotp] { - return pulumix.Output[*MfaTotp]{ - OutputState: o.OutputState, - } -} - // `(string)` - Specifies the hashing algorithm used to generate the TOTP code. // Options include `SHA1`, `SHA256` and `SHA512` func (o MfaTotpOutput) Algorithm() pulumi.StringPtrOutput { @@ -406,12 +381,6 @@ func (o MfaTotpArrayOutput) ToMfaTotpArrayOutputWithContext(ctx context.Context) return o } -func (o MfaTotpArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*MfaTotp] { - return pulumix.Output[[]*MfaTotp]{ - OutputState: o.OutputState, - } -} - func (o MfaTotpArrayOutput) Index(i pulumi.IntInput) MfaTotpOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *MfaTotp { return vs[0].([]*MfaTotp)[vs[1].(int)] @@ -432,12 +401,6 @@ func (o MfaTotpMapOutput) ToMfaTotpMapOutputWithContext(ctx context.Context) Mfa return o } -func (o MfaTotpMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*MfaTotp] { - return pulumix.Output[map[string]*MfaTotp]{ - OutputState: o.OutputState, - } -} - func (o MfaTotpMapOutput) MapIndex(k pulumi.StringInput) MfaTotpOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *MfaTotp { return vs[0].(map[string]*MfaTotp)[vs[1].(string)] diff --git a/sdk/go/vault/mongodbatlas/secretBackend.go b/sdk/go/vault/mongodbatlas/secretBackend.go index 3d1b41945..6c5380cd7 100644 --- a/sdk/go/vault/mongodbatlas/secretBackend.go +++ b/sdk/go/vault/mongodbatlas/secretBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -203,12 +202,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -234,12 +227,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -265,12 +252,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -285,12 +266,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // Path where the MongoDB Atlas Secrets Engine is mounted. func (o SecretBackendOutput) Mount() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackend) pulumi.StringOutput { return v.Mount }).(pulumi.StringOutput) @@ -333,12 +308,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -359,12 +328,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/mongodbatlas/secretRole.go b/sdk/go/vault/mongodbatlas/secretRole.go index 32d5dc80c..e71831083 100644 --- a/sdk/go/vault/mongodbatlas/secretRole.go +++ b/sdk/go/vault/mongodbatlas/secretRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -288,12 +287,6 @@ func (i *SecretRole) ToSecretRoleOutputWithContext(ctx context.Context) SecretRo return pulumi.ToOutputWithContext(ctx, i).(SecretRoleOutput) } -func (i *SecretRole) ToOutput(ctx context.Context) pulumix.Output[*SecretRole] { - return pulumix.Output[*SecretRole]{ - OutputState: i.ToSecretRoleOutputWithContext(ctx).OutputState, - } -} - // SecretRoleArrayInput is an input type that accepts SecretRoleArray and SecretRoleArrayOutput values. // You can construct a concrete instance of `SecretRoleArrayInput` via: // @@ -319,12 +312,6 @@ func (i SecretRoleArray) ToSecretRoleArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretRoleArrayOutput) } -func (i SecretRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRole] { - return pulumix.Output[[]*SecretRole]{ - OutputState: i.ToSecretRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretRoleMapInput is an input type that accepts SecretRoleMap and SecretRoleMapOutput values. // You can construct a concrete instance of `SecretRoleMapInput` via: // @@ -350,12 +337,6 @@ func (i SecretRoleMap) ToSecretRoleMapOutputWithContext(ctx context.Context) Sec return pulumi.ToOutputWithContext(ctx, i).(SecretRoleMapOutput) } -func (i SecretRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRole] { - return pulumix.Output[map[string]*SecretRole]{ - OutputState: i.ToSecretRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretRoleOutput struct{ *pulumi.OutputState } func (SecretRoleOutput) ElementType() reflect.Type { @@ -370,12 +351,6 @@ func (o SecretRoleOutput) ToSecretRoleOutputWithContext(ctx context.Context) Sec return o } -func (o SecretRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretRole] { - return pulumix.Output[*SecretRole]{ - OutputState: o.OutputState, - } -} - // Whitelist entry in CIDR notation to be added for the API key. func (o SecretRoleOutput) CidrBlocks() pulumi.StringArrayOutput { return o.ApplyT(func(v *SecretRole) pulumi.StringArrayOutput { return v.CidrBlocks }).(pulumi.StringArrayOutput) @@ -450,12 +425,6 @@ func (o SecretRoleArrayOutput) ToSecretRoleArrayOutputWithContext(ctx context.Co return o } -func (o SecretRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRole] { - return pulumix.Output[[]*SecretRole]{ - OutputState: o.OutputState, - } -} - func (o SecretRoleArrayOutput) Index(i pulumi.IntInput) SecretRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretRole { return vs[0].([]*SecretRole)[vs[1].(int)] @@ -476,12 +445,6 @@ func (o SecretRoleMapOutput) ToSecretRoleMapOutputWithContext(ctx context.Contex return o } -func (o SecretRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRole] { - return pulumix.Output[map[string]*SecretRole]{ - OutputState: o.OutputState, - } -} - func (o SecretRoleMapOutput) MapIndex(k pulumi.StringInput) SecretRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretRole { return vs[0].(map[string]*SecretRole)[vs[1].(string)] diff --git a/sdk/go/vault/mount.go b/sdk/go/vault/mount.go index 508322032..68bf80882 100644 --- a/sdk/go/vault/mount.go +++ b/sdk/go/vault/mount.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -368,12 +367,6 @@ func (i *Mount) ToMountOutputWithContext(ctx context.Context) MountOutput { return pulumi.ToOutputWithContext(ctx, i).(MountOutput) } -func (i *Mount) ToOutput(ctx context.Context) pulumix.Output[*Mount] { - return pulumix.Output[*Mount]{ - OutputState: i.ToMountOutputWithContext(ctx).OutputState, - } -} - // MountArrayInput is an input type that accepts MountArray and MountArrayOutput values. // You can construct a concrete instance of `MountArrayInput` via: // @@ -399,12 +392,6 @@ func (i MountArray) ToMountArrayOutputWithContext(ctx context.Context) MountArra return pulumi.ToOutputWithContext(ctx, i).(MountArrayOutput) } -func (i MountArray) ToOutput(ctx context.Context) pulumix.Output[[]*Mount] { - return pulumix.Output[[]*Mount]{ - OutputState: i.ToMountArrayOutputWithContext(ctx).OutputState, - } -} - // MountMapInput is an input type that accepts MountMap and MountMapOutput values. // You can construct a concrete instance of `MountMapInput` via: // @@ -430,12 +417,6 @@ func (i MountMap) ToMountMapOutputWithContext(ctx context.Context) MountMapOutpu return pulumi.ToOutputWithContext(ctx, i).(MountMapOutput) } -func (i MountMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Mount] { - return pulumix.Output[map[string]*Mount]{ - OutputState: i.ToMountMapOutputWithContext(ctx).OutputState, - } -} - type MountOutput struct{ *pulumi.OutputState } func (MountOutput) ElementType() reflect.Type { @@ -450,12 +431,6 @@ func (o MountOutput) ToMountOutputWithContext(ctx context.Context) MountOutput { return o } -func (o MountOutput) ToOutput(ctx context.Context) pulumix.Output[*Mount] { - return pulumix.Output[*Mount]{ - OutputState: o.OutputState, - } -} - // The accessor for this mount. func (o MountOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *Mount) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -543,12 +518,6 @@ func (o MountArrayOutput) ToMountArrayOutputWithContext(ctx context.Context) Mou return o } -func (o MountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Mount] { - return pulumix.Output[[]*Mount]{ - OutputState: o.OutputState, - } -} - func (o MountArrayOutput) Index(i pulumi.IntInput) MountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Mount { return vs[0].([]*Mount)[vs[1].(int)] @@ -569,12 +538,6 @@ func (o MountMapOutput) ToMountMapOutputWithContext(ctx context.Context) MountMa return o } -func (o MountMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Mount] { - return pulumix.Output[map[string]*Mount]{ - OutputState: o.OutputState, - } -} - func (o MountMapOutput) MapIndex(k pulumi.StringInput) MountOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Mount { return vs[0].(map[string]*Mount)[vs[1].(string)] diff --git a/sdk/go/vault/namespace.go b/sdk/go/vault/namespace.go index 3b79f1fee..bb1c3b725 100644 --- a/sdk/go/vault/namespace.go +++ b/sdk/go/vault/namespace.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Import @@ -208,12 +207,6 @@ func (i *Namespace) ToNamespaceOutputWithContext(ctx context.Context) NamespaceO return pulumi.ToOutputWithContext(ctx, i).(NamespaceOutput) } -func (i *Namespace) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { - return pulumix.Output[*Namespace]{ - OutputState: i.ToNamespaceOutputWithContext(ctx).OutputState, - } -} - // NamespaceArrayInput is an input type that accepts NamespaceArray and NamespaceArrayOutput values. // You can construct a concrete instance of `NamespaceArrayInput` via: // @@ -239,12 +232,6 @@ func (i NamespaceArray) ToNamespaceArrayOutputWithContext(ctx context.Context) N return pulumi.ToOutputWithContext(ctx, i).(NamespaceArrayOutput) } -func (i NamespaceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Namespace] { - return pulumix.Output[[]*Namespace]{ - OutputState: i.ToNamespaceArrayOutputWithContext(ctx).OutputState, - } -} - // NamespaceMapInput is an input type that accepts NamespaceMap and NamespaceMapOutput values. // You can construct a concrete instance of `NamespaceMapInput` via: // @@ -270,12 +257,6 @@ func (i NamespaceMap) ToNamespaceMapOutputWithContext(ctx context.Context) Names return pulumi.ToOutputWithContext(ctx, i).(NamespaceMapOutput) } -func (i NamespaceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Namespace] { - return pulumix.Output[map[string]*Namespace]{ - OutputState: i.ToNamespaceMapOutputWithContext(ctx).OutputState, - } -} - type NamespaceOutput struct{ *pulumi.OutputState } func (NamespaceOutput) ElementType() reflect.Type { @@ -290,12 +271,6 @@ func (o NamespaceOutput) ToNamespaceOutputWithContext(ctx context.Context) Names return o } -func (o NamespaceOutput) ToOutput(ctx context.Context) pulumix.Output[*Namespace] { - return pulumix.Output[*Namespace]{ - OutputState: o.OutputState, - } -} - // Custom metadata describing this namespace. Value type // is `map[string]string`. Requires Vault version 1.12+. func (o NamespaceOutput) CustomMetadata() pulumi.MapOutput { @@ -340,12 +315,6 @@ func (o NamespaceArrayOutput) ToNamespaceArrayOutputWithContext(ctx context.Cont return o } -func (o NamespaceArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Namespace] { - return pulumix.Output[[]*Namespace]{ - OutputState: o.OutputState, - } -} - func (o NamespaceArrayOutput) Index(i pulumi.IntInput) NamespaceOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Namespace { return vs[0].([]*Namespace)[vs[1].(int)] @@ -366,12 +335,6 @@ func (o NamespaceMapOutput) ToNamespaceMapOutputWithContext(ctx context.Context) return o } -func (o NamespaceMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Namespace] { - return pulumix.Output[map[string]*Namespace]{ - OutputState: o.OutputState, - } -} - func (o NamespaceMapOutput) MapIndex(k pulumi.StringInput) NamespaceOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Namespace { return vs[0].(map[string]*Namespace)[vs[1].(string)] diff --git a/sdk/go/vault/nomadSecretBackend.go b/sdk/go/vault/nomadSecretBackend.go index 1bb5db486..284cbbb44 100644 --- a/sdk/go/vault/nomadSecretBackend.go +++ b/sdk/go/vault/nomadSecretBackend.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -343,12 +342,6 @@ func (i *NomadSecretBackend) ToNomadSecretBackendOutputWithContext(ctx context.C return pulumi.ToOutputWithContext(ctx, i).(NomadSecretBackendOutput) } -func (i *NomadSecretBackend) ToOutput(ctx context.Context) pulumix.Output[*NomadSecretBackend] { - return pulumix.Output[*NomadSecretBackend]{ - OutputState: i.ToNomadSecretBackendOutputWithContext(ctx).OutputState, - } -} - // NomadSecretBackendArrayInput is an input type that accepts NomadSecretBackendArray and NomadSecretBackendArrayOutput values. // You can construct a concrete instance of `NomadSecretBackendArrayInput` via: // @@ -374,12 +367,6 @@ func (i NomadSecretBackendArray) ToNomadSecretBackendArrayOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(NomadSecretBackendArrayOutput) } -func (i NomadSecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*NomadSecretBackend] { - return pulumix.Output[[]*NomadSecretBackend]{ - OutputState: i.ToNomadSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // NomadSecretBackendMapInput is an input type that accepts NomadSecretBackendMap and NomadSecretBackendMapOutput values. // You can construct a concrete instance of `NomadSecretBackendMapInput` via: // @@ -405,12 +392,6 @@ func (i NomadSecretBackendMap) ToNomadSecretBackendMapOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(NomadSecretBackendMapOutput) } -func (i NomadSecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*NomadSecretBackend] { - return pulumix.Output[map[string]*NomadSecretBackend]{ - OutputState: i.ToNomadSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type NomadSecretBackendOutput struct{ *pulumi.OutputState } func (NomadSecretBackendOutput) ElementType() reflect.Type { @@ -425,12 +406,6 @@ func (o NomadSecretBackendOutput) ToNomadSecretBackendOutputWithContext(ctx cont return o } -func (o NomadSecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*NomadSecretBackend] { - return pulumix.Output[*NomadSecretBackend]{ - OutputState: o.OutputState, - } -} - // Specifies the address of the Nomad instance, provided // as "protocol://host:port" like "http://127.0.0.1:4646". func (o NomadSecretBackendOutput) Address() pulumi.StringPtrOutput { @@ -530,12 +505,6 @@ func (o NomadSecretBackendArrayOutput) ToNomadSecretBackendArrayOutputWithContex return o } -func (o NomadSecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*NomadSecretBackend] { - return pulumix.Output[[]*NomadSecretBackend]{ - OutputState: o.OutputState, - } -} - func (o NomadSecretBackendArrayOutput) Index(i pulumi.IntInput) NomadSecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NomadSecretBackend { return vs[0].([]*NomadSecretBackend)[vs[1].(int)] @@ -556,12 +525,6 @@ func (o NomadSecretBackendMapOutput) ToNomadSecretBackendMapOutputWithContext(ct return o } -func (o NomadSecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*NomadSecretBackend] { - return pulumix.Output[map[string]*NomadSecretBackend]{ - OutputState: o.OutputState, - } -} - func (o NomadSecretBackendMapOutput) MapIndex(k pulumi.StringInput) NomadSecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NomadSecretBackend { return vs[0].(map[string]*NomadSecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/nomadSecretRole.go b/sdk/go/vault/nomadSecretRole.go index 09982107c..bec16b103 100644 --- a/sdk/go/vault/nomadSecretRole.go +++ b/sdk/go/vault/nomadSecretRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -239,12 +238,6 @@ func (i *NomadSecretRole) ToNomadSecretRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(NomadSecretRoleOutput) } -func (i *NomadSecretRole) ToOutput(ctx context.Context) pulumix.Output[*NomadSecretRole] { - return pulumix.Output[*NomadSecretRole]{ - OutputState: i.ToNomadSecretRoleOutputWithContext(ctx).OutputState, - } -} - // NomadSecretRoleArrayInput is an input type that accepts NomadSecretRoleArray and NomadSecretRoleArrayOutput values. // You can construct a concrete instance of `NomadSecretRoleArrayInput` via: // @@ -270,12 +263,6 @@ func (i NomadSecretRoleArray) ToNomadSecretRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(NomadSecretRoleArrayOutput) } -func (i NomadSecretRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*NomadSecretRole] { - return pulumix.Output[[]*NomadSecretRole]{ - OutputState: i.ToNomadSecretRoleArrayOutputWithContext(ctx).OutputState, - } -} - // NomadSecretRoleMapInput is an input type that accepts NomadSecretRoleMap and NomadSecretRoleMapOutput values. // You can construct a concrete instance of `NomadSecretRoleMapInput` via: // @@ -301,12 +288,6 @@ func (i NomadSecretRoleMap) ToNomadSecretRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(NomadSecretRoleMapOutput) } -func (i NomadSecretRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*NomadSecretRole] { - return pulumix.Output[map[string]*NomadSecretRole]{ - OutputState: i.ToNomadSecretRoleMapOutputWithContext(ctx).OutputState, - } -} - type NomadSecretRoleOutput struct{ *pulumi.OutputState } func (NomadSecretRoleOutput) ElementType() reflect.Type { @@ -321,12 +302,6 @@ func (o NomadSecretRoleOutput) ToNomadSecretRoleOutputWithContext(ctx context.Co return o } -func (o NomadSecretRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*NomadSecretRole] { - return pulumix.Output[*NomadSecretRole]{ - OutputState: o.OutputState, - } -} - // The unique path this backend should be mounted at. func (o NomadSecretRoleOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *NomadSecretRole) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -378,12 +353,6 @@ func (o NomadSecretRoleArrayOutput) ToNomadSecretRoleArrayOutputWithContext(ctx return o } -func (o NomadSecretRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*NomadSecretRole] { - return pulumix.Output[[]*NomadSecretRole]{ - OutputState: o.OutputState, - } -} - func (o NomadSecretRoleArrayOutput) Index(i pulumi.IntInput) NomadSecretRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *NomadSecretRole { return vs[0].([]*NomadSecretRole)[vs[1].(int)] @@ -404,12 +373,6 @@ func (o NomadSecretRoleMapOutput) ToNomadSecretRoleMapOutputWithContext(ctx cont return o } -func (o NomadSecretRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*NomadSecretRole] { - return pulumix.Output[map[string]*NomadSecretRole]{ - OutputState: o.OutputState, - } -} - func (o NomadSecretRoleMapOutput) MapIndex(k pulumi.StringInput) NomadSecretRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *NomadSecretRole { return vs[0].(map[string]*NomadSecretRole)[vs[1].(string)] diff --git a/sdk/go/vault/okta/authBackend.go b/sdk/go/vault/okta/authBackend.go index f00c130f7..cde79ebaa 100644 --- a/sdk/go/vault/okta/authBackend.go +++ b/sdk/go/vault/okta/authBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource for managing an @@ -325,12 +324,6 @@ func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBa return pulumi.ToOutputWithContext(ctx, i).(AuthBackendOutput) } -func (i *AuthBackend) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: i.ToAuthBackendOutputWithContext(ctx).OutputState, - } -} - // AuthBackendArrayInput is an input type that accepts AuthBackendArray and AuthBackendArrayOutput values. // You can construct a concrete instance of `AuthBackendArrayInput` via: // @@ -356,12 +349,6 @@ func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendArrayOutput) } -func (i AuthBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: i.ToAuthBackendArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendMapInput is an input type that accepts AuthBackendMap and AuthBackendMapOutput values. // You can construct a concrete instance of `AuthBackendMapInput` via: // @@ -387,12 +374,6 @@ func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthBackendMapOutput) } -func (i AuthBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: i.ToAuthBackendMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendOutput struct{ *pulumi.OutputState } func (AuthBackendOutput) ElementType() reflect.Type { @@ -407,12 +388,6 @@ func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) A return o } -func (o AuthBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: o.OutputState, - } -} - // The mount accessor related to the auth mount. It is useful for integration with [Identity Secrets Engine](https://www.vaultproject.io/docs/secrets/identity/index.html). func (o AuthBackendOutput) Accessor() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackend) pulumi.StringOutput { return v.Accessor }).(pulumi.StringOutput) @@ -501,12 +476,6 @@ func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context. return o } -func (o AuthBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].([]*AuthBackend)[vs[1].(int)] @@ -527,12 +496,6 @@ func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Cont return o } -func (o AuthBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].(map[string]*AuthBackend)[vs[1].(string)] diff --git a/sdk/go/vault/okta/authBackendGroup.go b/sdk/go/vault/okta/authBackendGroup.go index dd9f84325..271aa6f27 100644 --- a/sdk/go/vault/okta/authBackendGroup.go +++ b/sdk/go/vault/okta/authBackendGroup.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to create a group in an @@ -198,12 +197,6 @@ func (i *AuthBackendGroup) ToAuthBackendGroupOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(AuthBackendGroupOutput) } -func (i *AuthBackendGroup) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendGroup] { - return pulumix.Output[*AuthBackendGroup]{ - OutputState: i.ToAuthBackendGroupOutputWithContext(ctx).OutputState, - } -} - // AuthBackendGroupArrayInput is an input type that accepts AuthBackendGroupArray and AuthBackendGroupArrayOutput values. // You can construct a concrete instance of `AuthBackendGroupArrayInput` via: // @@ -229,12 +222,6 @@ func (i AuthBackendGroupArray) ToAuthBackendGroupArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendGroupArrayOutput) } -func (i AuthBackendGroupArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendGroup] { - return pulumix.Output[[]*AuthBackendGroup]{ - OutputState: i.ToAuthBackendGroupArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendGroupMapInput is an input type that accepts AuthBackendGroupMap and AuthBackendGroupMapOutput values. // You can construct a concrete instance of `AuthBackendGroupMapInput` via: // @@ -260,12 +247,6 @@ func (i AuthBackendGroupMap) ToAuthBackendGroupMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(AuthBackendGroupMapOutput) } -func (i AuthBackendGroupMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendGroup] { - return pulumix.Output[map[string]*AuthBackendGroup]{ - OutputState: i.ToAuthBackendGroupMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendGroupOutput struct{ *pulumi.OutputState } func (AuthBackendGroupOutput) ElementType() reflect.Type { @@ -280,12 +261,6 @@ func (o AuthBackendGroupOutput) ToAuthBackendGroupOutputWithContext(ctx context. return o } -func (o AuthBackendGroupOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendGroup] { - return pulumix.Output[*AuthBackendGroup]{ - OutputState: o.OutputState, - } -} - // Name of the group within the Okta func (o AuthBackendGroupOutput) GroupName() pulumi.StringOutput { return o.ApplyT(func(v *AuthBackendGroup) pulumi.StringOutput { return v.GroupName }).(pulumi.StringOutput) @@ -323,12 +298,6 @@ func (o AuthBackendGroupArrayOutput) ToAuthBackendGroupArrayOutputWithContext(ct return o } -func (o AuthBackendGroupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendGroup] { - return pulumix.Output[[]*AuthBackendGroup]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendGroupArrayOutput) Index(i pulumi.IntInput) AuthBackendGroupOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendGroup { return vs[0].([]*AuthBackendGroup)[vs[1].(int)] @@ -349,12 +318,6 @@ func (o AuthBackendGroupMapOutput) ToAuthBackendGroupMapOutputWithContext(ctx co return o } -func (o AuthBackendGroupMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendGroup] { - return pulumix.Output[map[string]*AuthBackendGroup]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendGroupMapOutput) MapIndex(k pulumi.StringInput) AuthBackendGroupOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendGroup { return vs[0].(map[string]*AuthBackendGroup)[vs[1].(string)] diff --git a/sdk/go/vault/okta/authBackendUser.go b/sdk/go/vault/okta/authBackendUser.go index c3ad5ab2b..ba0b213fa 100644 --- a/sdk/go/vault/okta/authBackendUser.go +++ b/sdk/go/vault/okta/authBackendUser.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to create a user in an @@ -208,12 +207,6 @@ func (i *AuthBackendUser) ToAuthBackendUserOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendUserOutput) } -func (i *AuthBackendUser) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendUser] { - return pulumix.Output[*AuthBackendUser]{ - OutputState: i.ToAuthBackendUserOutputWithContext(ctx).OutputState, - } -} - // AuthBackendUserArrayInput is an input type that accepts AuthBackendUserArray and AuthBackendUserArrayOutput values. // You can construct a concrete instance of `AuthBackendUserArrayInput` via: // @@ -239,12 +232,6 @@ func (i AuthBackendUserArray) ToAuthBackendUserArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendUserArrayOutput) } -func (i AuthBackendUserArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendUser] { - return pulumix.Output[[]*AuthBackendUser]{ - OutputState: i.ToAuthBackendUserArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendUserMapInput is an input type that accepts AuthBackendUserMap and AuthBackendUserMapOutput values. // You can construct a concrete instance of `AuthBackendUserMapInput` via: // @@ -270,12 +257,6 @@ func (i AuthBackendUserMap) ToAuthBackendUserMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendUserMapOutput) } -func (i AuthBackendUserMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendUser] { - return pulumix.Output[map[string]*AuthBackendUser]{ - OutputState: i.ToAuthBackendUserMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendUserOutput struct{ *pulumi.OutputState } func (AuthBackendUserOutput) ElementType() reflect.Type { @@ -290,12 +271,6 @@ func (o AuthBackendUserOutput) ToAuthBackendUserOutputWithContext(ctx context.Co return o } -func (o AuthBackendUserOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendUser] { - return pulumix.Output[*AuthBackendUser]{ - OutputState: o.OutputState, - } -} - // List of Okta groups to associate with this user func (o AuthBackendUserOutput) Groups() pulumi.StringArrayOutput { return o.ApplyT(func(v *AuthBackendUser) pulumi.StringArrayOutput { return v.Groups }).(pulumi.StringArrayOutput) @@ -338,12 +313,6 @@ func (o AuthBackendUserArrayOutput) ToAuthBackendUserArrayOutputWithContext(ctx return o } -func (o AuthBackendUserArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendUser] { - return pulumix.Output[[]*AuthBackendUser]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendUserArrayOutput) Index(i pulumi.IntInput) AuthBackendUserOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendUser { return vs[0].([]*AuthBackendUser)[vs[1].(int)] @@ -364,12 +333,6 @@ func (o AuthBackendUserMapOutput) ToAuthBackendUserMapOutputWithContext(ctx cont return o } -func (o AuthBackendUserMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendUser] { - return pulumix.Output[map[string]*AuthBackendUser]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendUserMapOutput) MapIndex(k pulumi.StringInput) AuthBackendUserOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendUser { return vs[0].(map[string]*AuthBackendUser)[vs[1].(string)] diff --git a/sdk/go/vault/okta/pulumiTypes.go b/sdk/go/vault/okta/pulumiTypes.go index 4ca881075..ef6f16576 100644 --- a/sdk/go/vault/okta/pulumiTypes.go +++ b/sdk/go/vault/okta/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -51,12 +50,6 @@ func (i AuthBackendGroupTypeArgs) ToAuthBackendGroupTypeOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendGroupTypeOutput) } -func (i AuthBackendGroupTypeArgs) ToOutput(ctx context.Context) pulumix.Output[AuthBackendGroupType] { - return pulumix.Output[AuthBackendGroupType]{ - OutputState: i.ToAuthBackendGroupTypeOutputWithContext(ctx).OutputState, - } -} - // AuthBackendGroupTypeArrayInput is an input type that accepts AuthBackendGroupTypeArray and AuthBackendGroupTypeArrayOutput values. // You can construct a concrete instance of `AuthBackendGroupTypeArrayInput` via: // @@ -82,12 +75,6 @@ func (i AuthBackendGroupTypeArray) ToAuthBackendGroupTypeArrayOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(AuthBackendGroupTypeArrayOutput) } -func (i AuthBackendGroupTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]AuthBackendGroupType] { - return pulumix.Output[[]AuthBackendGroupType]{ - OutputState: i.ToAuthBackendGroupTypeArrayOutputWithContext(ctx).OutputState, - } -} - type AuthBackendGroupTypeOutput struct{ *pulumi.OutputState } func (AuthBackendGroupTypeOutput) ElementType() reflect.Type { @@ -102,12 +89,6 @@ func (o AuthBackendGroupTypeOutput) ToAuthBackendGroupTypeOutputWithContext(ctx return o } -func (o AuthBackendGroupTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthBackendGroupType] { - return pulumix.Output[AuthBackendGroupType]{ - OutputState: o.OutputState, - } -} - // Name of the group within the Okta func (o AuthBackendGroupTypeOutput) GroupName() pulumi.StringOutput { return o.ApplyT(func(v AuthBackendGroupType) string { return v.GroupName }).(pulumi.StringOutput) @@ -132,12 +113,6 @@ func (o AuthBackendGroupTypeArrayOutput) ToAuthBackendGroupTypeArrayOutputWithCo return o } -func (o AuthBackendGroupTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthBackendGroupType] { - return pulumix.Output[[]AuthBackendGroupType]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendGroupTypeArrayOutput) Index(i pulumi.IntInput) AuthBackendGroupTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthBackendGroupType { return vs[0].([]AuthBackendGroupType)[vs[1].(int)] @@ -185,12 +160,6 @@ func (i AuthBackendUserTypeArgs) ToAuthBackendUserTypeOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendUserTypeOutput) } -func (i AuthBackendUserTypeArgs) ToOutput(ctx context.Context) pulumix.Output[AuthBackendUserType] { - return pulumix.Output[AuthBackendUserType]{ - OutputState: i.ToAuthBackendUserTypeOutputWithContext(ctx).OutputState, - } -} - // AuthBackendUserTypeArrayInput is an input type that accepts AuthBackendUserTypeArray and AuthBackendUserTypeArrayOutput values. // You can construct a concrete instance of `AuthBackendUserTypeArrayInput` via: // @@ -216,12 +185,6 @@ func (i AuthBackendUserTypeArray) ToAuthBackendUserTypeArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(AuthBackendUserTypeArrayOutput) } -func (i AuthBackendUserTypeArray) ToOutput(ctx context.Context) pulumix.Output[[]AuthBackendUserType] { - return pulumix.Output[[]AuthBackendUserType]{ - OutputState: i.ToAuthBackendUserTypeArrayOutputWithContext(ctx).OutputState, - } -} - type AuthBackendUserTypeOutput struct{ *pulumi.OutputState } func (AuthBackendUserTypeOutput) ElementType() reflect.Type { @@ -236,12 +199,6 @@ func (o AuthBackendUserTypeOutput) ToAuthBackendUserTypeOutputWithContext(ctx co return o } -func (o AuthBackendUserTypeOutput) ToOutput(ctx context.Context) pulumix.Output[AuthBackendUserType] { - return pulumix.Output[AuthBackendUserType]{ - OutputState: o.OutputState, - } -} - // List of Okta groups to associate with this user func (o AuthBackendUserTypeOutput) Groups() pulumi.StringArrayOutput { return o.ApplyT(func(v AuthBackendUserType) []string { return v.Groups }).(pulumi.StringArrayOutput) @@ -271,12 +228,6 @@ func (o AuthBackendUserTypeArrayOutput) ToAuthBackendUserTypeArrayOutputWithCont return o } -func (o AuthBackendUserTypeArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]AuthBackendUserType] { - return pulumix.Output[[]AuthBackendUserType]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendUserTypeArrayOutput) Index(i pulumi.IntInput) AuthBackendUserTypeOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) AuthBackendUserType { return vs[0].([]AuthBackendUserType)[vs[1].(int)] diff --git a/sdk/go/vault/passwordPolicy.go b/sdk/go/vault/passwordPolicy.go index b6798343d..20e1cdb02 100644 --- a/sdk/go/vault/passwordPolicy.go +++ b/sdk/go/vault/passwordPolicy.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage Password Policies @@ -180,12 +179,6 @@ func (i *PasswordPolicy) ToPasswordPolicyOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(PasswordPolicyOutput) } -func (i *PasswordPolicy) ToOutput(ctx context.Context) pulumix.Output[*PasswordPolicy] { - return pulumix.Output[*PasswordPolicy]{ - OutputState: i.ToPasswordPolicyOutputWithContext(ctx).OutputState, - } -} - // PasswordPolicyArrayInput is an input type that accepts PasswordPolicyArray and PasswordPolicyArrayOutput values. // You can construct a concrete instance of `PasswordPolicyArrayInput` via: // @@ -211,12 +204,6 @@ func (i PasswordPolicyArray) ToPasswordPolicyArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(PasswordPolicyArrayOutput) } -func (i PasswordPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*PasswordPolicy] { - return pulumix.Output[[]*PasswordPolicy]{ - OutputState: i.ToPasswordPolicyArrayOutputWithContext(ctx).OutputState, - } -} - // PasswordPolicyMapInput is an input type that accepts PasswordPolicyMap and PasswordPolicyMapOutput values. // You can construct a concrete instance of `PasswordPolicyMapInput` via: // @@ -242,12 +229,6 @@ func (i PasswordPolicyMap) ToPasswordPolicyMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(PasswordPolicyMapOutput) } -func (i PasswordPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*PasswordPolicy] { - return pulumix.Output[map[string]*PasswordPolicy]{ - OutputState: i.ToPasswordPolicyMapOutputWithContext(ctx).OutputState, - } -} - type PasswordPolicyOutput struct{ *pulumi.OutputState } func (PasswordPolicyOutput) ElementType() reflect.Type { @@ -262,12 +243,6 @@ func (o PasswordPolicyOutput) ToPasswordPolicyOutputWithContext(ctx context.Cont return o } -func (o PasswordPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*PasswordPolicy] { - return pulumix.Output[*PasswordPolicy]{ - OutputState: o.OutputState, - } -} - // The name of the password policy. func (o PasswordPolicyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *PasswordPolicy) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) @@ -300,12 +275,6 @@ func (o PasswordPolicyArrayOutput) ToPasswordPolicyArrayOutputWithContext(ctx co return o } -func (o PasswordPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*PasswordPolicy] { - return pulumix.Output[[]*PasswordPolicy]{ - OutputState: o.OutputState, - } -} - func (o PasswordPolicyArrayOutput) Index(i pulumi.IntInput) PasswordPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *PasswordPolicy { return vs[0].([]*PasswordPolicy)[vs[1].(int)] @@ -326,12 +295,6 @@ func (o PasswordPolicyMapOutput) ToPasswordPolicyMapOutputWithContext(ctx contex return o } -func (o PasswordPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*PasswordPolicy] { - return pulumix.Output[map[string]*PasswordPolicy]{ - OutputState: o.OutputState, - } -} - func (o PasswordPolicyMapOutput) MapIndex(k pulumi.StringInput) PasswordPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *PasswordPolicy { return vs[0].(map[string]*PasswordPolicy)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/getBackendIssuer.go b/sdk/go/vault/pkisecret/getBackendIssuer.go index d979d4cf8..e03078d3f 100644 --- a/sdk/go/vault/pkisecret/getBackendIssuer.go +++ b/sdk/go/vault/pkisecret/getBackendIssuer.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) func GetBackendIssuer(ctx *pulumi.Context, args *GetBackendIssuerArgs, opts ...pulumi.InvokeOption) (*GetBackendIssuerResult, error) { @@ -108,12 +107,6 @@ func (o GetBackendIssuerResultOutput) ToGetBackendIssuerResultOutputWithContext( return o } -func (o GetBackendIssuerResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetBackendIssuerResult] { - return pulumix.Output[GetBackendIssuerResult]{ - OutputState: o.OutputState, - } -} - func (o GetBackendIssuerResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetBackendIssuerResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/pkisecret/getBackendIssuers.go b/sdk/go/vault/pkisecret/getBackendIssuers.go index f9f0d9c2e..f0fab8b62 100644 --- a/sdk/go/vault/pkisecret/getBackendIssuers.go +++ b/sdk/go/vault/pkisecret/getBackendIssuers.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -133,12 +132,6 @@ func (o GetBackendIssuersResultOutput) ToGetBackendIssuersResultOutputWithContex return o } -func (o GetBackendIssuersResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetBackendIssuersResult] { - return pulumix.Output[GetBackendIssuersResult]{ - OutputState: o.OutputState, - } -} - func (o GetBackendIssuersResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetBackendIssuersResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/pkisecret/getBackendKey.go b/sdk/go/vault/pkisecret/getBackendKey.go index 8e526338c..3b78d3772 100644 --- a/sdk/go/vault/pkisecret/getBackendKey.go +++ b/sdk/go/vault/pkisecret/getBackendKey.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -141,12 +140,6 @@ func (o GetBackendKeyResultOutput) ToGetBackendKeyResultOutputWithContext(ctx co return o } -func (o GetBackendKeyResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetBackendKeyResult] { - return pulumix.Output[GetBackendKeyResult]{ - OutputState: o.OutputState, - } -} - func (o GetBackendKeyResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetBackendKeyResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/pkisecret/getBackendKeys.go b/sdk/go/vault/pkisecret/getBackendKeys.go index 8311d6875..c4b4c9326 100644 --- a/sdk/go/vault/pkisecret/getBackendKeys.go +++ b/sdk/go/vault/pkisecret/getBackendKeys.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -133,12 +132,6 @@ func (o GetBackendKeysResultOutput) ToGetBackendKeysResultOutputWithContext(ctx return o } -func (o GetBackendKeysResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetBackendKeysResult] { - return pulumix.Output[GetBackendKeysResult]{ - OutputState: o.OutputState, - } -} - func (o GetBackendKeysResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetBackendKeysResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/pkisecret/pulumiTypes.go b/sdk/go/vault/pkisecret/pulumiTypes.go index 614065b7b..08d7bc477 100644 --- a/sdk/go/vault/pkisecret/pulumiTypes.go +++ b/sdk/go/vault/pkisecret/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -59,12 +58,6 @@ func (i SecretBackendRolePolicyIdentifierArgs) ToSecretBackendRolePolicyIdentifi return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRolePolicyIdentifierOutput) } -func (i SecretBackendRolePolicyIdentifierArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRolePolicyIdentifier] { - return pulumix.Output[SecretBackendRolePolicyIdentifier]{ - OutputState: i.ToSecretBackendRolePolicyIdentifierOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRolePolicyIdentifierArrayInput is an input type that accepts SecretBackendRolePolicyIdentifierArray and SecretBackendRolePolicyIdentifierArrayOutput values. // You can construct a concrete instance of `SecretBackendRolePolicyIdentifierArrayInput` via: // @@ -90,12 +83,6 @@ func (i SecretBackendRolePolicyIdentifierArray) ToSecretBackendRolePolicyIdentif return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRolePolicyIdentifierArrayOutput) } -func (i SecretBackendRolePolicyIdentifierArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRolePolicyIdentifier] { - return pulumix.Output[[]SecretBackendRolePolicyIdentifier]{ - OutputState: i.ToSecretBackendRolePolicyIdentifierArrayOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRolePolicyIdentifierOutput struct{ *pulumi.OutputState } func (SecretBackendRolePolicyIdentifierOutput) ElementType() reflect.Type { @@ -110,12 +97,6 @@ func (o SecretBackendRolePolicyIdentifierOutput) ToSecretBackendRolePolicyIdenti return o } -func (o SecretBackendRolePolicyIdentifierOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRolePolicyIdentifier] { - return pulumix.Output[SecretBackendRolePolicyIdentifier]{ - OutputState: o.OutputState, - } -} - // The URL of the CPS for the policy identifier // // Example usage: @@ -147,12 +128,6 @@ func (o SecretBackendRolePolicyIdentifierArrayOutput) ToSecretBackendRolePolicyI return o } -func (o SecretBackendRolePolicyIdentifierArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRolePolicyIdentifier] { - return pulumix.Output[[]SecretBackendRolePolicyIdentifier]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRolePolicyIdentifierArrayOutput) Index(i pulumi.IntInput) SecretBackendRolePolicyIdentifierOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretBackendRolePolicyIdentifier { return vs[0].([]SecretBackendRolePolicyIdentifier)[vs[1].(int)] diff --git a/sdk/go/vault/pkisecret/secretBackendCert.go b/sdk/go/vault/pkisecret/secretBackendCert.go index 4ce6ac326..fd394c702 100644 --- a/sdk/go/vault/pkisecret/secretBackendCert.go +++ b/sdk/go/vault/pkisecret/secretBackendCert.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -358,12 +357,6 @@ func (i *SecretBackendCert) ToSecretBackendCertOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCertOutput) } -func (i *SecretBackendCert) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendCert] { - return pulumix.Output[*SecretBackendCert]{ - OutputState: i.ToSecretBackendCertOutputWithContext(ctx).OutputState, - } -} - // SecretBackendCertArrayInput is an input type that accepts SecretBackendCertArray and SecretBackendCertArrayOutput values. // You can construct a concrete instance of `SecretBackendCertArrayInput` via: // @@ -389,12 +382,6 @@ func (i SecretBackendCertArray) ToSecretBackendCertArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCertArrayOutput) } -func (i SecretBackendCertArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendCert] { - return pulumix.Output[[]*SecretBackendCert]{ - OutputState: i.ToSecretBackendCertArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendCertMapInput is an input type that accepts SecretBackendCertMap and SecretBackendCertMapOutput values. // You can construct a concrete instance of `SecretBackendCertMapInput` via: // @@ -420,12 +407,6 @@ func (i SecretBackendCertMap) ToSecretBackendCertMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCertMapOutput) } -func (i SecretBackendCertMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendCert] { - return pulumix.Output[map[string]*SecretBackendCert]{ - OutputState: i.ToSecretBackendCertMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendCertOutput struct{ *pulumi.OutputState } func (SecretBackendCertOutput) ElementType() reflect.Type { @@ -440,12 +421,6 @@ func (o SecretBackendCertOutput) ToSecretBackendCertOutputWithContext(ctx contex return o } -func (o SecretBackendCertOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendCert] { - return pulumix.Output[*SecretBackendCert]{ - OutputState: o.OutputState, - } -} - // List of alternative names func (o SecretBackendCertOutput) AltNames() pulumi.StringArrayOutput { return o.ApplyT(func(v *SecretBackendCert) pulumi.StringArrayOutput { return v.AltNames }).(pulumi.StringArrayOutput) @@ -588,12 +563,6 @@ func (o SecretBackendCertArrayOutput) ToSecretBackendCertArrayOutputWithContext( return o } -func (o SecretBackendCertArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendCert] { - return pulumix.Output[[]*SecretBackendCert]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendCertArrayOutput) Index(i pulumi.IntInput) SecretBackendCertOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendCert { return vs[0].([]*SecretBackendCert)[vs[1].(int)] @@ -614,12 +583,6 @@ func (o SecretBackendCertMapOutput) ToSecretBackendCertMapOutputWithContext(ctx return o } -func (o SecretBackendCertMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendCert] { - return pulumix.Output[map[string]*SecretBackendCert]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendCertMapOutput) MapIndex(k pulumi.StringInput) SecretBackendCertOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendCert { return vs[0].(map[string]*SecretBackendCert)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendConfigCa.go b/sdk/go/vault/pkisecret/secretBackendConfigCa.go index 233ccd057..6d7cbc936 100644 --- a/sdk/go/vault/pkisecret/secretBackendConfigCa.go +++ b/sdk/go/vault/pkisecret/secretBackendConfigCa.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -223,12 +222,6 @@ func (i *SecretBackendConfigCa) ToSecretBackendConfigCaOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigCaOutput) } -func (i *SecretBackendConfigCa) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConfigCa] { - return pulumix.Output[*SecretBackendConfigCa]{ - OutputState: i.ToSecretBackendConfigCaOutputWithContext(ctx).OutputState, - } -} - // SecretBackendConfigCaArrayInput is an input type that accepts SecretBackendConfigCaArray and SecretBackendConfigCaArrayOutput values. // You can construct a concrete instance of `SecretBackendConfigCaArrayInput` via: // @@ -254,12 +247,6 @@ func (i SecretBackendConfigCaArray) ToSecretBackendConfigCaArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigCaArrayOutput) } -func (i SecretBackendConfigCaArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendConfigCa] { - return pulumix.Output[[]*SecretBackendConfigCa]{ - OutputState: i.ToSecretBackendConfigCaArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendConfigCaMapInput is an input type that accepts SecretBackendConfigCaMap and SecretBackendConfigCaMapOutput values. // You can construct a concrete instance of `SecretBackendConfigCaMapInput` via: // @@ -285,12 +272,6 @@ func (i SecretBackendConfigCaMap) ToSecretBackendConfigCaMapOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigCaMapOutput) } -func (i SecretBackendConfigCaMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendConfigCa] { - return pulumix.Output[map[string]*SecretBackendConfigCa]{ - OutputState: i.ToSecretBackendConfigCaMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConfigCaOutput struct{ *pulumi.OutputState } func (SecretBackendConfigCaOutput) ElementType() reflect.Type { @@ -305,12 +286,6 @@ func (o SecretBackendConfigCaOutput) ToSecretBackendConfigCaOutputWithContext(ct return o } -func (o SecretBackendConfigCaOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConfigCa] { - return pulumix.Output[*SecretBackendConfigCa]{ - OutputState: o.OutputState, - } -} - // The PKI secret backend the resource belongs to. func (o SecretBackendConfigCaOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackendConfigCa) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -343,12 +318,6 @@ func (o SecretBackendConfigCaArrayOutput) ToSecretBackendConfigCaArrayOutputWith return o } -func (o SecretBackendConfigCaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendConfigCa] { - return pulumix.Output[[]*SecretBackendConfigCa]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConfigCaArrayOutput) Index(i pulumi.IntInput) SecretBackendConfigCaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendConfigCa { return vs[0].([]*SecretBackendConfigCa)[vs[1].(int)] @@ -369,12 +338,6 @@ func (o SecretBackendConfigCaMapOutput) ToSecretBackendConfigCaMapOutputWithCont return o } -func (o SecretBackendConfigCaMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendConfigCa] { - return pulumix.Output[map[string]*SecretBackendConfigCa]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConfigCaMapOutput) MapIndex(k pulumi.StringInput) SecretBackendConfigCaOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendConfigCa { return vs[0].(map[string]*SecretBackendConfigCa)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendConfigIssuers.go b/sdk/go/vault/pkisecret/secretBackendConfigIssuers.go index ef27cd76e..3efd7e77e 100644 --- a/sdk/go/vault/pkisecret/secretBackendConfigIssuers.go +++ b/sdk/go/vault/pkisecret/secretBackendConfigIssuers.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Allows setting the value of the default issuer. For more information, see the @@ -222,12 +221,6 @@ func (i *SecretBackendConfigIssuers) ToSecretBackendConfigIssuersOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigIssuersOutput) } -func (i *SecretBackendConfigIssuers) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConfigIssuers] { - return pulumix.Output[*SecretBackendConfigIssuers]{ - OutputState: i.ToSecretBackendConfigIssuersOutputWithContext(ctx).OutputState, - } -} - // SecretBackendConfigIssuersArrayInput is an input type that accepts SecretBackendConfigIssuersArray and SecretBackendConfigIssuersArrayOutput values. // You can construct a concrete instance of `SecretBackendConfigIssuersArrayInput` via: // @@ -253,12 +246,6 @@ func (i SecretBackendConfigIssuersArray) ToSecretBackendConfigIssuersArrayOutput return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigIssuersArrayOutput) } -func (i SecretBackendConfigIssuersArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendConfigIssuers] { - return pulumix.Output[[]*SecretBackendConfigIssuers]{ - OutputState: i.ToSecretBackendConfigIssuersArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendConfigIssuersMapInput is an input type that accepts SecretBackendConfigIssuersMap and SecretBackendConfigIssuersMapOutput values. // You can construct a concrete instance of `SecretBackendConfigIssuersMapInput` via: // @@ -284,12 +271,6 @@ func (i SecretBackendConfigIssuersMap) ToSecretBackendConfigIssuersMapOutputWith return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigIssuersMapOutput) } -func (i SecretBackendConfigIssuersMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendConfigIssuers] { - return pulumix.Output[map[string]*SecretBackendConfigIssuers]{ - OutputState: i.ToSecretBackendConfigIssuersMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConfigIssuersOutput struct{ *pulumi.OutputState } func (SecretBackendConfigIssuersOutput) ElementType() reflect.Type { @@ -304,12 +285,6 @@ func (o SecretBackendConfigIssuersOutput) ToSecretBackendConfigIssuersOutputWith return o } -func (o SecretBackendConfigIssuersOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConfigIssuers] { - return pulumix.Output[*SecretBackendConfigIssuers]{ - OutputState: o.OutputState, - } -} - // The path the PKI secret backend is mounted at, with no // leading or trailing `/`s. func (o SecretBackendConfigIssuersOutput) Backend() pulumi.StringOutput { @@ -349,12 +324,6 @@ func (o SecretBackendConfigIssuersArrayOutput) ToSecretBackendConfigIssuersArray return o } -func (o SecretBackendConfigIssuersArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendConfigIssuers] { - return pulumix.Output[[]*SecretBackendConfigIssuers]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConfigIssuersArrayOutput) Index(i pulumi.IntInput) SecretBackendConfigIssuersOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendConfigIssuers { return vs[0].([]*SecretBackendConfigIssuers)[vs[1].(int)] @@ -375,12 +344,6 @@ func (o SecretBackendConfigIssuersMapOutput) ToSecretBackendConfigIssuersMapOutp return o } -func (o SecretBackendConfigIssuersMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendConfigIssuers] { - return pulumix.Output[map[string]*SecretBackendConfigIssuers]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConfigIssuersMapOutput) MapIndex(k pulumi.StringInput) SecretBackendConfigIssuersOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendConfigIssuers { return vs[0].(map[string]*SecretBackendConfigIssuers)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendConfigUrls.go b/sdk/go/vault/pkisecret/secretBackendConfigUrls.go index 396b768b7..47171d23f 100644 --- a/sdk/go/vault/pkisecret/secretBackendConfigUrls.go +++ b/sdk/go/vault/pkisecret/secretBackendConfigUrls.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Allows setting the issuing certificate endpoints, CRL distribution points, and OCSP server endpoints that will be encoded into issued certificates. @@ -206,12 +205,6 @@ func (i *SecretBackendConfigUrls) ToSecretBackendConfigUrlsOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigUrlsOutput) } -func (i *SecretBackendConfigUrls) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConfigUrls] { - return pulumix.Output[*SecretBackendConfigUrls]{ - OutputState: i.ToSecretBackendConfigUrlsOutputWithContext(ctx).OutputState, - } -} - // SecretBackendConfigUrlsArrayInput is an input type that accepts SecretBackendConfigUrlsArray and SecretBackendConfigUrlsArrayOutput values. // You can construct a concrete instance of `SecretBackendConfigUrlsArrayInput` via: // @@ -237,12 +230,6 @@ func (i SecretBackendConfigUrlsArray) ToSecretBackendConfigUrlsArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigUrlsArrayOutput) } -func (i SecretBackendConfigUrlsArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendConfigUrls] { - return pulumix.Output[[]*SecretBackendConfigUrls]{ - OutputState: i.ToSecretBackendConfigUrlsArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendConfigUrlsMapInput is an input type that accepts SecretBackendConfigUrlsMap and SecretBackendConfigUrlsMapOutput values. // You can construct a concrete instance of `SecretBackendConfigUrlsMapInput` via: // @@ -268,12 +255,6 @@ func (i SecretBackendConfigUrlsMap) ToSecretBackendConfigUrlsMapOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendConfigUrlsMapOutput) } -func (i SecretBackendConfigUrlsMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendConfigUrls] { - return pulumix.Output[map[string]*SecretBackendConfigUrls]{ - OutputState: i.ToSecretBackendConfigUrlsMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendConfigUrlsOutput struct{ *pulumi.OutputState } func (SecretBackendConfigUrlsOutput) ElementType() reflect.Type { @@ -288,12 +269,6 @@ func (o SecretBackendConfigUrlsOutput) ToSecretBackendConfigUrlsOutputWithContex return o } -func (o SecretBackendConfigUrlsOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendConfigUrls] { - return pulumix.Output[*SecretBackendConfigUrls]{ - OutputState: o.OutputState, - } -} - // The path the PKI secret backend is mounted at, with no leading or trailing `/`s. func (o SecretBackendConfigUrlsOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackendConfigUrls) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -336,12 +311,6 @@ func (o SecretBackendConfigUrlsArrayOutput) ToSecretBackendConfigUrlsArrayOutput return o } -func (o SecretBackendConfigUrlsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendConfigUrls] { - return pulumix.Output[[]*SecretBackendConfigUrls]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConfigUrlsArrayOutput) Index(i pulumi.IntInput) SecretBackendConfigUrlsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendConfigUrls { return vs[0].([]*SecretBackendConfigUrls)[vs[1].(int)] @@ -362,12 +331,6 @@ func (o SecretBackendConfigUrlsMapOutput) ToSecretBackendConfigUrlsMapOutputWith return o } -func (o SecretBackendConfigUrlsMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendConfigUrls] { - return pulumix.Output[map[string]*SecretBackendConfigUrls]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendConfigUrlsMapOutput) MapIndex(k pulumi.StringInput) SecretBackendConfigUrlsOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendConfigUrls { return vs[0].(map[string]*SecretBackendConfigUrls)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendCrlConfig.go b/sdk/go/vault/pkisecret/secretBackendCrlConfig.go index b4b086104..b859a9174 100644 --- a/sdk/go/vault/pkisecret/secretBackendCrlConfig.go +++ b/sdk/go/vault/pkisecret/secretBackendCrlConfig.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Allows setting the duration for which the generated CRL should be marked valid. If the CRL is disabled, it will return a signed but zero-length CRL for any request. If enabled, it will re-build the CRL. @@ -289,12 +288,6 @@ func (i *SecretBackendCrlConfig) ToSecretBackendCrlConfigOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCrlConfigOutput) } -func (i *SecretBackendCrlConfig) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendCrlConfig] { - return pulumix.Output[*SecretBackendCrlConfig]{ - OutputState: i.ToSecretBackendCrlConfigOutputWithContext(ctx).OutputState, - } -} - // SecretBackendCrlConfigArrayInput is an input type that accepts SecretBackendCrlConfigArray and SecretBackendCrlConfigArrayOutput values. // You can construct a concrete instance of `SecretBackendCrlConfigArrayInput` via: // @@ -320,12 +313,6 @@ func (i SecretBackendCrlConfigArray) ToSecretBackendCrlConfigArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCrlConfigArrayOutput) } -func (i SecretBackendCrlConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendCrlConfig] { - return pulumix.Output[[]*SecretBackendCrlConfig]{ - OutputState: i.ToSecretBackendCrlConfigArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendCrlConfigMapInput is an input type that accepts SecretBackendCrlConfigMap and SecretBackendCrlConfigMapOutput values. // You can construct a concrete instance of `SecretBackendCrlConfigMapInput` via: // @@ -351,12 +338,6 @@ func (i SecretBackendCrlConfigMap) ToSecretBackendCrlConfigMapOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCrlConfigMapOutput) } -func (i SecretBackendCrlConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendCrlConfig] { - return pulumix.Output[map[string]*SecretBackendCrlConfig]{ - OutputState: i.ToSecretBackendCrlConfigMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendCrlConfigOutput struct{ *pulumi.OutputState } func (SecretBackendCrlConfigOutput) ElementType() reflect.Type { @@ -371,12 +352,6 @@ func (o SecretBackendCrlConfigOutput) ToSecretBackendCrlConfigOutputWithContext( return o } -func (o SecretBackendCrlConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendCrlConfig] { - return pulumix.Output[*SecretBackendCrlConfig]{ - OutputState: o.OutputState, - } -} - // Enables periodic rebuilding of the CRL upon expiry. **Vault 1.12+** func (o SecretBackendCrlConfigOutput) AutoRebuild() pulumi.BoolPtrOutput { return o.ApplyT(func(v *SecretBackendCrlConfig) pulumi.BoolPtrOutput { return v.AutoRebuild }).(pulumi.BoolPtrOutput) @@ -462,12 +437,6 @@ func (o SecretBackendCrlConfigArrayOutput) ToSecretBackendCrlConfigArrayOutputWi return o } -func (o SecretBackendCrlConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendCrlConfig] { - return pulumix.Output[[]*SecretBackendCrlConfig]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendCrlConfigArrayOutput) Index(i pulumi.IntInput) SecretBackendCrlConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendCrlConfig { return vs[0].([]*SecretBackendCrlConfig)[vs[1].(int)] @@ -488,12 +457,6 @@ func (o SecretBackendCrlConfigMapOutput) ToSecretBackendCrlConfigMapOutputWithCo return o } -func (o SecretBackendCrlConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendCrlConfig] { - return pulumix.Output[map[string]*SecretBackendCrlConfig]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendCrlConfigMapOutput) MapIndex(k pulumi.StringInput) SecretBackendCrlConfigOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendCrlConfig { return vs[0].(map[string]*SecretBackendCrlConfig)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendIntermediateCertRequest.go b/sdk/go/vault/pkisecret/secretBackendIntermediateCertRequest.go index 00bc73177..6c04e7525 100644 --- a/sdk/go/vault/pkisecret/secretBackendIntermediateCertRequest.go +++ b/sdk/go/vault/pkisecret/secretBackendIntermediateCertRequest.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -453,12 +452,6 @@ func (i *SecretBackendIntermediateCertRequest) ToSecretBackendIntermediateCertRe return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIntermediateCertRequestOutput) } -func (i *SecretBackendIntermediateCertRequest) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendIntermediateCertRequest] { - return pulumix.Output[*SecretBackendIntermediateCertRequest]{ - OutputState: i.ToSecretBackendIntermediateCertRequestOutputWithContext(ctx).OutputState, - } -} - // SecretBackendIntermediateCertRequestArrayInput is an input type that accepts SecretBackendIntermediateCertRequestArray and SecretBackendIntermediateCertRequestArrayOutput values. // You can construct a concrete instance of `SecretBackendIntermediateCertRequestArrayInput` via: // @@ -484,12 +477,6 @@ func (i SecretBackendIntermediateCertRequestArray) ToSecretBackendIntermediateCe return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIntermediateCertRequestArrayOutput) } -func (i SecretBackendIntermediateCertRequestArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendIntermediateCertRequest] { - return pulumix.Output[[]*SecretBackendIntermediateCertRequest]{ - OutputState: i.ToSecretBackendIntermediateCertRequestArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendIntermediateCertRequestMapInput is an input type that accepts SecretBackendIntermediateCertRequestMap and SecretBackendIntermediateCertRequestMapOutput values. // You can construct a concrete instance of `SecretBackendIntermediateCertRequestMapInput` via: // @@ -515,12 +502,6 @@ func (i SecretBackendIntermediateCertRequestMap) ToSecretBackendIntermediateCert return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIntermediateCertRequestMapOutput) } -func (i SecretBackendIntermediateCertRequestMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendIntermediateCertRequest] { - return pulumix.Output[map[string]*SecretBackendIntermediateCertRequest]{ - OutputState: i.ToSecretBackendIntermediateCertRequestMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendIntermediateCertRequestOutput struct{ *pulumi.OutputState } func (SecretBackendIntermediateCertRequestOutput) ElementType() reflect.Type { @@ -535,12 +516,6 @@ func (o SecretBackendIntermediateCertRequestOutput) ToSecretBackendIntermediateC return o } -func (o SecretBackendIntermediateCertRequestOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendIntermediateCertRequest] { - return pulumix.Output[*SecretBackendIntermediateCertRequest]{ - OutputState: o.OutputState, - } -} - // Adds a Basic Constraints extension with 'CA: true'. // Only needed as a workaround in some compatibility scenarios with Active Directory // Certificate Services @@ -710,12 +685,6 @@ func (o SecretBackendIntermediateCertRequestArrayOutput) ToSecretBackendIntermed return o } -func (o SecretBackendIntermediateCertRequestArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendIntermediateCertRequest] { - return pulumix.Output[[]*SecretBackendIntermediateCertRequest]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendIntermediateCertRequestArrayOutput) Index(i pulumi.IntInput) SecretBackendIntermediateCertRequestOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendIntermediateCertRequest { return vs[0].([]*SecretBackendIntermediateCertRequest)[vs[1].(int)] @@ -736,12 +705,6 @@ func (o SecretBackendIntermediateCertRequestMapOutput) ToSecretBackendIntermedia return o } -func (o SecretBackendIntermediateCertRequestMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendIntermediateCertRequest] { - return pulumix.Output[map[string]*SecretBackendIntermediateCertRequest]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendIntermediateCertRequestMapOutput) MapIndex(k pulumi.StringInput) SecretBackendIntermediateCertRequestOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendIntermediateCertRequest { return vs[0].(map[string]*SecretBackendIntermediateCertRequest)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendIntermediateSetSigned.go b/sdk/go/vault/pkisecret/secretBackendIntermediateSetSigned.go index 5cccb0a71..c04a2a621 100644 --- a/sdk/go/vault/pkisecret/secretBackendIntermediateSetSigned.go +++ b/sdk/go/vault/pkisecret/secretBackendIntermediateSetSigned.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -252,12 +251,6 @@ func (i *SecretBackendIntermediateSetSigned) ToSecretBackendIntermediateSetSigne return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIntermediateSetSignedOutput) } -func (i *SecretBackendIntermediateSetSigned) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendIntermediateSetSigned] { - return pulumix.Output[*SecretBackendIntermediateSetSigned]{ - OutputState: i.ToSecretBackendIntermediateSetSignedOutputWithContext(ctx).OutputState, - } -} - // SecretBackendIntermediateSetSignedArrayInput is an input type that accepts SecretBackendIntermediateSetSignedArray and SecretBackendIntermediateSetSignedArrayOutput values. // You can construct a concrete instance of `SecretBackendIntermediateSetSignedArrayInput` via: // @@ -283,12 +276,6 @@ func (i SecretBackendIntermediateSetSignedArray) ToSecretBackendIntermediateSetS return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIntermediateSetSignedArrayOutput) } -func (i SecretBackendIntermediateSetSignedArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendIntermediateSetSigned] { - return pulumix.Output[[]*SecretBackendIntermediateSetSigned]{ - OutputState: i.ToSecretBackendIntermediateSetSignedArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendIntermediateSetSignedMapInput is an input type that accepts SecretBackendIntermediateSetSignedMap and SecretBackendIntermediateSetSignedMapOutput values. // You can construct a concrete instance of `SecretBackendIntermediateSetSignedMapInput` via: // @@ -314,12 +301,6 @@ func (i SecretBackendIntermediateSetSignedMap) ToSecretBackendIntermediateSetSig return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIntermediateSetSignedMapOutput) } -func (i SecretBackendIntermediateSetSignedMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendIntermediateSetSigned] { - return pulumix.Output[map[string]*SecretBackendIntermediateSetSigned]{ - OutputState: i.ToSecretBackendIntermediateSetSignedMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendIntermediateSetSignedOutput struct{ *pulumi.OutputState } func (SecretBackendIntermediateSetSignedOutput) ElementType() reflect.Type { @@ -334,12 +315,6 @@ func (o SecretBackendIntermediateSetSignedOutput) ToSecretBackendIntermediateSet return o } -func (o SecretBackendIntermediateSetSignedOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendIntermediateSetSigned] { - return pulumix.Output[*SecretBackendIntermediateSetSigned]{ - OutputState: o.OutputState, - } -} - // The PKI secret backend the resource belongs to. func (o SecretBackendIntermediateSetSignedOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackendIntermediateSetSigned) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -385,12 +360,6 @@ func (o SecretBackendIntermediateSetSignedArrayOutput) ToSecretBackendIntermedia return o } -func (o SecretBackendIntermediateSetSignedArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendIntermediateSetSigned] { - return pulumix.Output[[]*SecretBackendIntermediateSetSigned]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendIntermediateSetSignedArrayOutput) Index(i pulumi.IntInput) SecretBackendIntermediateSetSignedOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendIntermediateSetSigned { return vs[0].([]*SecretBackendIntermediateSetSigned)[vs[1].(int)] @@ -411,12 +380,6 @@ func (o SecretBackendIntermediateSetSignedMapOutput) ToSecretBackendIntermediate return o } -func (o SecretBackendIntermediateSetSignedMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendIntermediateSetSigned] { - return pulumix.Output[map[string]*SecretBackendIntermediateSetSigned]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendIntermediateSetSignedMapOutput) MapIndex(k pulumi.StringInput) SecretBackendIntermediateSetSignedOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendIntermediateSetSigned { return vs[0].(map[string]*SecretBackendIntermediateSetSigned)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendIssuer.go b/sdk/go/vault/pkisecret/secretBackendIssuer.go index 730ac6b40..ab21f31f8 100644 --- a/sdk/go/vault/pkisecret/secretBackendIssuer.go +++ b/sdk/go/vault/pkisecret/secretBackendIssuer.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages the lifecycle of an existing issuer on a PKI Secret Backend. This resource does not @@ -330,12 +329,6 @@ func (i *SecretBackendIssuer) ToSecretBackendIssuerOutputWithContext(ctx context return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIssuerOutput) } -func (i *SecretBackendIssuer) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendIssuer] { - return pulumix.Output[*SecretBackendIssuer]{ - OutputState: i.ToSecretBackendIssuerOutputWithContext(ctx).OutputState, - } -} - // SecretBackendIssuerArrayInput is an input type that accepts SecretBackendIssuerArray and SecretBackendIssuerArrayOutput values. // You can construct a concrete instance of `SecretBackendIssuerArrayInput` via: // @@ -361,12 +354,6 @@ func (i SecretBackendIssuerArray) ToSecretBackendIssuerArrayOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIssuerArrayOutput) } -func (i SecretBackendIssuerArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendIssuer] { - return pulumix.Output[[]*SecretBackendIssuer]{ - OutputState: i.ToSecretBackendIssuerArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendIssuerMapInput is an input type that accepts SecretBackendIssuerMap and SecretBackendIssuerMapOutput values. // You can construct a concrete instance of `SecretBackendIssuerMapInput` via: // @@ -392,12 +379,6 @@ func (i SecretBackendIssuerMap) ToSecretBackendIssuerMapOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendIssuerMapOutput) } -func (i SecretBackendIssuerMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendIssuer] { - return pulumix.Output[map[string]*SecretBackendIssuer]{ - OutputState: i.ToSecretBackendIssuerMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendIssuerOutput struct{ *pulumi.OutputState } func (SecretBackendIssuerOutput) ElementType() reflect.Type { @@ -412,12 +393,6 @@ func (o SecretBackendIssuerOutput) ToSecretBackendIssuerOutputWithContext(ctx co return o } -func (o SecretBackendIssuerOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendIssuer] { - return pulumix.Output[*SecretBackendIssuer]{ - OutputState: o.OutputState, - } -} - // The path the PKI secret backend is mounted at, with no // leading or trailing `/`s. func (o SecretBackendIssuerOutput) Backend() pulumi.StringOutput { @@ -507,12 +482,6 @@ func (o SecretBackendIssuerArrayOutput) ToSecretBackendIssuerArrayOutputWithCont return o } -func (o SecretBackendIssuerArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendIssuer] { - return pulumix.Output[[]*SecretBackendIssuer]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendIssuerArrayOutput) Index(i pulumi.IntInput) SecretBackendIssuerOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendIssuer { return vs[0].([]*SecretBackendIssuer)[vs[1].(int)] @@ -533,12 +502,6 @@ func (o SecretBackendIssuerMapOutput) ToSecretBackendIssuerMapOutputWithContext( return o } -func (o SecretBackendIssuerMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendIssuer] { - return pulumix.Output[map[string]*SecretBackendIssuer]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendIssuerMapOutput) MapIndex(k pulumi.StringInput) SecretBackendIssuerOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendIssuer { return vs[0].(map[string]*SecretBackendIssuer)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendKey.go b/sdk/go/vault/pkisecret/secretBackendKey.go index 25a502d82..90b1058bb 100644 --- a/sdk/go/vault/pkisecret/secretBackendKey.go +++ b/sdk/go/vault/pkisecret/secretBackendKey.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a key on a PKI Secret Backend for Vault. @@ -225,12 +224,6 @@ func (i *SecretBackendKey) ToSecretBackendKeyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SecretBackendKeyOutput) } -func (i *SecretBackendKey) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendKey] { - return pulumix.Output[*SecretBackendKey]{ - OutputState: i.ToSecretBackendKeyOutputWithContext(ctx).OutputState, - } -} - // SecretBackendKeyArrayInput is an input type that accepts SecretBackendKeyArray and SecretBackendKeyArrayOutput values. // You can construct a concrete instance of `SecretBackendKeyArrayInput` via: // @@ -256,12 +249,6 @@ func (i SecretBackendKeyArray) ToSecretBackendKeyArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SecretBackendKeyArrayOutput) } -func (i SecretBackendKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendKey] { - return pulumix.Output[[]*SecretBackendKey]{ - OutputState: i.ToSecretBackendKeyArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendKeyMapInput is an input type that accepts SecretBackendKeyMap and SecretBackendKeyMapOutput values. // You can construct a concrete instance of `SecretBackendKeyMapInput` via: // @@ -287,12 +274,6 @@ func (i SecretBackendKeyMap) ToSecretBackendKeyMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SecretBackendKeyMapOutput) } -func (i SecretBackendKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendKey] { - return pulumix.Output[map[string]*SecretBackendKey]{ - OutputState: i.ToSecretBackendKeyMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendKeyOutput struct{ *pulumi.OutputState } func (SecretBackendKeyOutput) ElementType() reflect.Type { @@ -307,12 +288,6 @@ func (o SecretBackendKeyOutput) ToSecretBackendKeyOutputWithContext(ctx context. return o } -func (o SecretBackendKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendKey] { - return pulumix.Output[*SecretBackendKey]{ - OutputState: o.OutputState, - } -} - // The path the PKI secret backend is mounted at, with no leading or trailing `/`s. func (o SecretBackendKeyOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackendKey) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -379,12 +354,6 @@ func (o SecretBackendKeyArrayOutput) ToSecretBackendKeyArrayOutputWithContext(ct return o } -func (o SecretBackendKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendKey] { - return pulumix.Output[[]*SecretBackendKey]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendKeyArrayOutput) Index(i pulumi.IntInput) SecretBackendKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendKey { return vs[0].([]*SecretBackendKey)[vs[1].(int)] @@ -405,12 +374,6 @@ func (o SecretBackendKeyMapOutput) ToSecretBackendKeyMapOutputWithContext(ctx co return o } -func (o SecretBackendKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendKey] { - return pulumix.Output[map[string]*SecretBackendKey]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendKeyMapOutput) MapIndex(k pulumi.StringInput) SecretBackendKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendKey { return vs[0].(map[string]*SecretBackendKey)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendRole.go b/sdk/go/vault/pkisecret/secretBackendRole.go index 6da90c540..2bb17483b 100644 --- a/sdk/go/vault/pkisecret/secretBackendRole.go +++ b/sdk/go/vault/pkisecret/secretBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates a role on an PKI Secret Backend for Vault. @@ -641,12 +640,6 @@ func (i *SecretBackendRole) ToSecretBackendRoleOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleOutput) } -func (i *SecretBackendRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleArrayInput is an input type that accepts SecretBackendRoleArray and SecretBackendRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleArrayInput` via: // @@ -672,12 +665,6 @@ func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleArrayOutput) } -func (i SecretBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleMapInput is an input type that accepts SecretBackendRoleMap and SecretBackendRoleMapOutput values. // You can construct a concrete instance of `SecretBackendRoleMapInput` via: // @@ -703,12 +690,6 @@ func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleMapOutput) } -func (i SecretBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleOutput struct{ *pulumi.OutputState } func (SecretBackendRoleOutput) ElementType() reflect.Type { @@ -723,12 +704,6 @@ func (o SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext(ctx contex return o } -func (o SecretBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - // Flag to allow any name func (o SecretBackendRoleOutput) AllowAnyName() pulumi.BoolPtrOutput { return o.ApplyT(func(v *SecretBackendRole) pulumi.BoolPtrOutput { return v.AllowAnyName }).(pulumi.BoolPtrOutput) @@ -977,12 +952,6 @@ func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext( return o } -func (o SecretBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].([]*SecretBackendRole)[vs[1].(int)] @@ -1003,12 +972,6 @@ func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext(ctx return o } -func (o SecretBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].(map[string]*SecretBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendRootCert.go b/sdk/go/vault/pkisecret/secretBackendRootCert.go index 7c6b45dc6..f129b254e 100644 --- a/sdk/go/vault/pkisecret/secretBackendRootCert.go +++ b/sdk/go/vault/pkisecret/secretBackendRootCert.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -500,12 +499,6 @@ func (i *SecretBackendRootCert) ToSecretBackendRootCertOutputWithContext(ctx con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRootCertOutput) } -func (i *SecretBackendRootCert) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRootCert] { - return pulumix.Output[*SecretBackendRootCert]{ - OutputState: i.ToSecretBackendRootCertOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRootCertArrayInput is an input type that accepts SecretBackendRootCertArray and SecretBackendRootCertArrayOutput values. // You can construct a concrete instance of `SecretBackendRootCertArrayInput` via: // @@ -531,12 +524,6 @@ func (i SecretBackendRootCertArray) ToSecretBackendRootCertArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRootCertArrayOutput) } -func (i SecretBackendRootCertArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRootCert] { - return pulumix.Output[[]*SecretBackendRootCert]{ - OutputState: i.ToSecretBackendRootCertArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRootCertMapInput is an input type that accepts SecretBackendRootCertMap and SecretBackendRootCertMapOutput values. // You can construct a concrete instance of `SecretBackendRootCertMapInput` via: // @@ -562,12 +549,6 @@ func (i SecretBackendRootCertMap) ToSecretBackendRootCertMapOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRootCertMapOutput) } -func (i SecretBackendRootCertMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRootCert] { - return pulumix.Output[map[string]*SecretBackendRootCert]{ - OutputState: i.ToSecretBackendRootCertMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRootCertOutput struct{ *pulumi.OutputState } func (SecretBackendRootCertOutput) ElementType() reflect.Type { @@ -582,12 +563,6 @@ func (o SecretBackendRootCertOutput) ToSecretBackendRootCertOutputWithContext(ct return o } -func (o SecretBackendRootCertOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRootCert] { - return pulumix.Output[*SecretBackendRootCert]{ - OutputState: o.OutputState, - } -} - // List of alternative names func (o SecretBackendRootCertOutput) AltNames() pulumi.StringArrayOutput { return o.ApplyT(func(v *SecretBackendRootCert) pulumi.StringArrayOutput { return v.AltNames }).(pulumi.StringArrayOutput) @@ -783,12 +758,6 @@ func (o SecretBackendRootCertArrayOutput) ToSecretBackendRootCertArrayOutputWith return o } -func (o SecretBackendRootCertArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRootCert] { - return pulumix.Output[[]*SecretBackendRootCert]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRootCertArrayOutput) Index(i pulumi.IntInput) SecretBackendRootCertOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRootCert { return vs[0].([]*SecretBackendRootCert)[vs[1].(int)] @@ -809,12 +778,6 @@ func (o SecretBackendRootCertMapOutput) ToSecretBackendRootCertMapOutputWithCont return o } -func (o SecretBackendRootCertMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRootCert] { - return pulumix.Output[map[string]*SecretBackendRootCert]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRootCertMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRootCertOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRootCert { return vs[0].(map[string]*SecretBackendRootCert)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendRootSignIntermediate.go b/sdk/go/vault/pkisecret/secretBackendRootSignIntermediate.go index a537a61c7..c75078e05 100644 --- a/sdk/go/vault/pkisecret/secretBackendRootSignIntermediate.go +++ b/sdk/go/vault/pkisecret/secretBackendRootSignIntermediate.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates PKI certificate. @@ -438,12 +437,6 @@ func (i *SecretBackendRootSignIntermediate) ToSecretBackendRootSignIntermediateO return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRootSignIntermediateOutput) } -func (i *SecretBackendRootSignIntermediate) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRootSignIntermediate] { - return pulumix.Output[*SecretBackendRootSignIntermediate]{ - OutputState: i.ToSecretBackendRootSignIntermediateOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRootSignIntermediateArrayInput is an input type that accepts SecretBackendRootSignIntermediateArray and SecretBackendRootSignIntermediateArrayOutput values. // You can construct a concrete instance of `SecretBackendRootSignIntermediateArrayInput` via: // @@ -469,12 +462,6 @@ func (i SecretBackendRootSignIntermediateArray) ToSecretBackendRootSignIntermedi return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRootSignIntermediateArrayOutput) } -func (i SecretBackendRootSignIntermediateArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRootSignIntermediate] { - return pulumix.Output[[]*SecretBackendRootSignIntermediate]{ - OutputState: i.ToSecretBackendRootSignIntermediateArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRootSignIntermediateMapInput is an input type that accepts SecretBackendRootSignIntermediateMap and SecretBackendRootSignIntermediateMapOutput values. // You can construct a concrete instance of `SecretBackendRootSignIntermediateMapInput` via: // @@ -500,12 +487,6 @@ func (i SecretBackendRootSignIntermediateMap) ToSecretBackendRootSignIntermediat return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRootSignIntermediateMapOutput) } -func (i SecretBackendRootSignIntermediateMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRootSignIntermediate] { - return pulumix.Output[map[string]*SecretBackendRootSignIntermediate]{ - OutputState: i.ToSecretBackendRootSignIntermediateMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRootSignIntermediateOutput struct{ *pulumi.OutputState } func (SecretBackendRootSignIntermediateOutput) ElementType() reflect.Type { @@ -520,12 +501,6 @@ func (o SecretBackendRootSignIntermediateOutput) ToSecretBackendRootSignIntermed return o } -func (o SecretBackendRootSignIntermediateOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRootSignIntermediate] { - return pulumix.Output[*SecretBackendRootSignIntermediate]{ - OutputState: o.OutputState, - } -} - // List of alternative names func (o SecretBackendRootSignIntermediateOutput) AltNames() pulumi.StringArrayOutput { return o.ApplyT(func(v *SecretBackendRootSignIntermediate) pulumi.StringArrayOutput { return v.AltNames }).(pulumi.StringArrayOutput) @@ -694,12 +669,6 @@ func (o SecretBackendRootSignIntermediateArrayOutput) ToSecretBackendRootSignInt return o } -func (o SecretBackendRootSignIntermediateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRootSignIntermediate] { - return pulumix.Output[[]*SecretBackendRootSignIntermediate]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRootSignIntermediateArrayOutput) Index(i pulumi.IntInput) SecretBackendRootSignIntermediateOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRootSignIntermediate { return vs[0].([]*SecretBackendRootSignIntermediate)[vs[1].(int)] @@ -720,12 +689,6 @@ func (o SecretBackendRootSignIntermediateMapOutput) ToSecretBackendRootSignInter return o } -func (o SecretBackendRootSignIntermediateMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRootSignIntermediate] { - return pulumix.Output[map[string]*SecretBackendRootSignIntermediate]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRootSignIntermediateMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRootSignIntermediateOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRootSignIntermediate { return vs[0].(map[string]*SecretBackendRootSignIntermediate)[vs[1].(string)] diff --git a/sdk/go/vault/pkisecret/secretBackendSign.go b/sdk/go/vault/pkisecret/secretBackendSign.go index 35a8c16cd..878101929 100644 --- a/sdk/go/vault/pkisecret/secretBackendSign.go +++ b/sdk/go/vault/pkisecret/secretBackendSign.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -385,12 +384,6 @@ func (i *SecretBackendSign) ToSecretBackendSignOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendSignOutput) } -func (i *SecretBackendSign) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendSign] { - return pulumix.Output[*SecretBackendSign]{ - OutputState: i.ToSecretBackendSignOutputWithContext(ctx).OutputState, - } -} - // SecretBackendSignArrayInput is an input type that accepts SecretBackendSignArray and SecretBackendSignArrayOutput values. // You can construct a concrete instance of `SecretBackendSignArrayInput` via: // @@ -416,12 +409,6 @@ func (i SecretBackendSignArray) ToSecretBackendSignArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendSignArrayOutput) } -func (i SecretBackendSignArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendSign] { - return pulumix.Output[[]*SecretBackendSign]{ - OutputState: i.ToSecretBackendSignArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendSignMapInput is an input type that accepts SecretBackendSignMap and SecretBackendSignMapOutput values. // You can construct a concrete instance of `SecretBackendSignMapInput` via: // @@ -447,12 +434,6 @@ func (i SecretBackendSignMap) ToSecretBackendSignMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendSignMapOutput) } -func (i SecretBackendSignMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendSign] { - return pulumix.Output[map[string]*SecretBackendSign]{ - OutputState: i.ToSecretBackendSignMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendSignOutput struct{ *pulumi.OutputState } func (SecretBackendSignOutput) ElementType() reflect.Type { @@ -467,12 +448,6 @@ func (o SecretBackendSignOutput) ToSecretBackendSignOutputWithContext(ctx contex return o } -func (o SecretBackendSignOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendSign] { - return pulumix.Output[*SecretBackendSign]{ - OutputState: o.OutputState, - } -} - // List of alternative names func (o SecretBackendSignOutput) AltNames() pulumi.StringArrayOutput { return o.ApplyT(func(v *SecretBackendSign) pulumi.StringArrayOutput { return v.AltNames }).(pulumi.StringArrayOutput) @@ -605,12 +580,6 @@ func (o SecretBackendSignArrayOutput) ToSecretBackendSignArrayOutputWithContext( return o } -func (o SecretBackendSignArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendSign] { - return pulumix.Output[[]*SecretBackendSign]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendSignArrayOutput) Index(i pulumi.IntInput) SecretBackendSignOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendSign { return vs[0].([]*SecretBackendSign)[vs[1].(int)] @@ -631,12 +600,6 @@ func (o SecretBackendSignMapOutput) ToSecretBackendSignMapOutputWithContext(ctx return o } -func (o SecretBackendSignMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendSign] { - return pulumix.Output[map[string]*SecretBackendSign]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendSignMapOutput) MapIndex(k pulumi.StringInput) SecretBackendSignOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendSign { return vs[0].(map[string]*SecretBackendSign)[vs[1].(string)] diff --git a/sdk/go/vault/policy.go b/sdk/go/vault/policy.go index 93c26547d..cfe68da2c 100644 --- a/sdk/go/vault/policy.go +++ b/sdk/go/vault/policy.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Import @@ -144,12 +143,6 @@ func (i *Policy) ToPolicyOutputWithContext(ctx context.Context) PolicyOutput { return pulumi.ToOutputWithContext(ctx, i).(PolicyOutput) } -func (i *Policy) ToOutput(ctx context.Context) pulumix.Output[*Policy] { - return pulumix.Output[*Policy]{ - OutputState: i.ToPolicyOutputWithContext(ctx).OutputState, - } -} - // PolicyArrayInput is an input type that accepts PolicyArray and PolicyArrayOutput values. // You can construct a concrete instance of `PolicyArrayInput` via: // @@ -175,12 +168,6 @@ func (i PolicyArray) ToPolicyArrayOutputWithContext(ctx context.Context) PolicyA return pulumi.ToOutputWithContext(ctx, i).(PolicyArrayOutput) } -func (i PolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*Policy] { - return pulumix.Output[[]*Policy]{ - OutputState: i.ToPolicyArrayOutputWithContext(ctx).OutputState, - } -} - // PolicyMapInput is an input type that accepts PolicyMap and PolicyMapOutput values. // You can construct a concrete instance of `PolicyMapInput` via: // @@ -206,12 +193,6 @@ func (i PolicyMap) ToPolicyMapOutputWithContext(ctx context.Context) PolicyMapOu return pulumi.ToOutputWithContext(ctx, i).(PolicyMapOutput) } -func (i PolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Policy] { - return pulumix.Output[map[string]*Policy]{ - OutputState: i.ToPolicyMapOutputWithContext(ctx).OutputState, - } -} - type PolicyOutput struct{ *pulumi.OutputState } func (PolicyOutput) ElementType() reflect.Type { @@ -226,12 +207,6 @@ func (o PolicyOutput) ToPolicyOutputWithContext(ctx context.Context) PolicyOutpu return o } -func (o PolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*Policy] { - return pulumix.Output[*Policy]{ - OutputState: o.OutputState, - } -} - // The name of the policy func (o PolicyOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Policy) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) @@ -264,12 +239,6 @@ func (o PolicyArrayOutput) ToPolicyArrayOutputWithContext(ctx context.Context) P return o } -func (o PolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Policy] { - return pulumix.Output[[]*Policy]{ - OutputState: o.OutputState, - } -} - func (o PolicyArrayOutput) Index(i pulumi.IntInput) PolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Policy { return vs[0].([]*Policy)[vs[1].(int)] @@ -290,12 +259,6 @@ func (o PolicyMapOutput) ToPolicyMapOutputWithContext(ctx context.Context) Polic return o } -func (o PolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Policy] { - return pulumix.Output[map[string]*Policy]{ - OutputState: o.OutputState, - } -} - func (o PolicyMapOutput) MapIndex(k pulumi.StringInput) PolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Policy { return vs[0].(map[string]*Policy)[vs[1].(string)] diff --git a/sdk/go/vault/provider.go b/sdk/go/vault/provider.go index d2bd16e5c..2084eefb2 100644 --- a/sdk/go/vault/provider.go +++ b/sdk/go/vault/provider.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // The provider type for the vault package. By default, resources use package-wide configuration @@ -236,12 +235,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 { @@ -256,12 +249,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, - } -} - // If true, adds the value of the `address` argument to the Terraform process environment. func (o ProviderOutput) AddAddressToEnv() pulumi.StringPtrOutput { return o.ApplyT(func(v *Provider) pulumi.StringPtrOutput { return v.AddAddressToEnv }).(pulumi.StringPtrOutput) diff --git a/sdk/go/vault/pulumiTypes.go b/sdk/go/vault/pulumiTypes.go index e6160dbce..e54f87d68 100644 --- a/sdk/go/vault/pulumiTypes.go +++ b/sdk/go/vault/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -95,12 +94,6 @@ func (i AuthBackendTuneArgs) ToAuthBackendTuneOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTuneOutput) } -func (i AuthBackendTuneArgs) ToOutput(ctx context.Context) pulumix.Output[AuthBackendTune] { - return pulumix.Output[AuthBackendTune]{ - OutputState: i.ToAuthBackendTuneOutputWithContext(ctx).OutputState, - } -} - func (i AuthBackendTuneArgs) ToAuthBackendTunePtrOutput() AuthBackendTunePtrOutput { return i.ToAuthBackendTunePtrOutputWithContext(context.Background()) } @@ -142,12 +135,6 @@ func (i *authBackendTunePtrType) ToAuthBackendTunePtrOutputWithContext(ctx conte return pulumi.ToOutputWithContext(ctx, i).(AuthBackendTunePtrOutput) } -func (i *authBackendTunePtrType) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendTune] { - return pulumix.Output[*AuthBackendTune]{ - OutputState: i.ToAuthBackendTunePtrOutputWithContext(ctx).OutputState, - } -} - type AuthBackendTuneOutput struct{ *pulumi.OutputState } func (AuthBackendTuneOutput) ElementType() reflect.Type { @@ -172,12 +159,6 @@ func (o AuthBackendTuneOutput) ToAuthBackendTunePtrOutputWithContext(ctx context }).(AuthBackendTunePtrOutput) } -func (o AuthBackendTuneOutput) ToOutput(ctx context.Context) pulumix.Output[AuthBackendTune] { - return pulumix.Output[AuthBackendTune]{ - OutputState: o.OutputState, - } -} - // List of headers to whitelist and allowing // a plugin to include them in the response. func (o AuthBackendTuneOutput) AllowedResponseHeaders() pulumi.StringArrayOutput { @@ -242,12 +223,6 @@ func (o AuthBackendTunePtrOutput) ToAuthBackendTunePtrOutputWithContext(ctx cont return o } -func (o AuthBackendTunePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendTune] { - return pulumix.Output[*AuthBackendTune]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendTunePtrOutput) Elem() AuthBackendTuneOutput { return o.ApplyT(func(v *AuthBackendTune) AuthBackendTune { if v != nil { @@ -387,12 +362,6 @@ func (i ProviderAuthLoginArgs) ToProviderAuthLoginOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginOutput) } -func (i ProviderAuthLoginArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLogin] { - return pulumix.Output[ProviderAuthLogin]{ - OutputState: i.ToProviderAuthLoginOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginArgs) ToProviderAuthLoginPtrOutput() ProviderAuthLoginPtrOutput { return i.ToProviderAuthLoginPtrOutputWithContext(context.Background()) } @@ -434,12 +403,6 @@ func (i *providerAuthLoginPtrType) ToProviderAuthLoginPtrOutputWithContext(ctx c return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginPtrOutput) } -func (i *providerAuthLoginPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLogin] { - return pulumix.Output[*ProviderAuthLogin]{ - OutputState: i.ToProviderAuthLoginPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginOutput) ElementType() reflect.Type { @@ -464,12 +427,6 @@ func (o ProviderAuthLoginOutput) ToProviderAuthLoginPtrOutputWithContext(ctx con }).(ProviderAuthLoginPtrOutput) } -func (o ProviderAuthLoginOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLogin] { - return pulumix.Output[ProviderAuthLogin]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginOutput) Method() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderAuthLogin) *string { return v.Method }).(pulumi.StringPtrOutput) } @@ -504,12 +461,6 @@ func (o ProviderAuthLoginPtrOutput) ToProviderAuthLoginPtrOutputWithContext(ctx return o } -func (o ProviderAuthLoginPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLogin] { - return pulumix.Output[*ProviderAuthLogin]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginPtrOutput) Elem() ProviderAuthLoginOutput { return o.ApplyT(func(v *ProviderAuthLogin) ProviderAuthLogin { if v != nil { @@ -626,12 +577,6 @@ func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginAwsOutput) } -func (i ProviderAuthLoginAwsArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginAws] { - return pulumix.Output[ProviderAuthLoginAws]{ - OutputState: i.ToProviderAuthLoginAwsOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginAwsArgs) ToProviderAuthLoginAwsPtrOutput() ProviderAuthLoginAwsPtrOutput { return i.ToProviderAuthLoginAwsPtrOutputWithContext(context.Background()) } @@ -673,12 +618,6 @@ func (i *providerAuthLoginAwsPtrType) ToProviderAuthLoginAwsPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginAwsPtrOutput) } -func (i *providerAuthLoginAwsPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginAws] { - return pulumix.Output[*ProviderAuthLoginAws]{ - OutputState: i.ToProviderAuthLoginAwsPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginAwsOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginAwsOutput) ElementType() reflect.Type { @@ -703,12 +642,6 @@ func (o ProviderAuthLoginAwsOutput) ToProviderAuthLoginAwsPtrOutputWithContext(c }).(ProviderAuthLoginAwsPtrOutput) } -func (o ProviderAuthLoginAwsOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginAws] { - return pulumix.Output[ProviderAuthLoginAws]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginAwsOutput) AwsAccessKeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderAuthLoginAws) *string { return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) } @@ -787,12 +720,6 @@ func (o ProviderAuthLoginAwsPtrOutput) ToProviderAuthLoginAwsPtrOutputWithContex return o } -func (o ProviderAuthLoginAwsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginAws] { - return pulumix.Output[*ProviderAuthLoginAws]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginAwsPtrOutput) Elem() ProviderAuthLoginAwsOutput { return o.ApplyT(func(v *ProviderAuthLoginAws) ProviderAuthLoginAws { if v != nil { @@ -1000,12 +927,6 @@ func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzureOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginAzureOutput) } -func (i ProviderAuthLoginAzureArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginAzure] { - return pulumix.Output[ProviderAuthLoginAzure]{ - OutputState: i.ToProviderAuthLoginAzureOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginAzureArgs) ToProviderAuthLoginAzurePtrOutput() ProviderAuthLoginAzurePtrOutput { return i.ToProviderAuthLoginAzurePtrOutputWithContext(context.Background()) } @@ -1047,12 +968,6 @@ func (i *providerAuthLoginAzurePtrType) ToProviderAuthLoginAzurePtrOutputWithCon return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginAzurePtrOutput) } -func (i *providerAuthLoginAzurePtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginAzure] { - return pulumix.Output[*ProviderAuthLoginAzure]{ - OutputState: i.ToProviderAuthLoginAzurePtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginAzureOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginAzureOutput) ElementType() reflect.Type { @@ -1077,12 +992,6 @@ func (o ProviderAuthLoginAzureOutput) ToProviderAuthLoginAzurePtrOutputWithConte }).(ProviderAuthLoginAzurePtrOutput) } -func (o ProviderAuthLoginAzureOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginAzure] { - return pulumix.Output[ProviderAuthLoginAzure]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginAzureOutput) ClientId() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderAuthLoginAzure) *string { return v.ClientId }).(pulumi.StringPtrOutput) } @@ -1145,12 +1054,6 @@ func (o ProviderAuthLoginAzurePtrOutput) ToProviderAuthLoginAzurePtrOutputWithCo return o } -func (o ProviderAuthLoginAzurePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginAzure] { - return pulumix.Output[*ProviderAuthLoginAzure]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginAzurePtrOutput) Elem() ProviderAuthLoginAzureOutput { return o.ApplyT(func(v *ProviderAuthLoginAzure) ProviderAuthLoginAzure { if v != nil { @@ -1310,12 +1213,6 @@ func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginCertOutput) } -func (i ProviderAuthLoginCertArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginCert] { - return pulumix.Output[ProviderAuthLoginCert]{ - OutputState: i.ToProviderAuthLoginCertOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginCertArgs) ToProviderAuthLoginCertPtrOutput() ProviderAuthLoginCertPtrOutput { return i.ToProviderAuthLoginCertPtrOutputWithContext(context.Background()) } @@ -1357,12 +1254,6 @@ func (i *providerAuthLoginCertPtrType) ToProviderAuthLoginCertPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginCertPtrOutput) } -func (i *providerAuthLoginCertPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginCert] { - return pulumix.Output[*ProviderAuthLoginCert]{ - OutputState: i.ToProviderAuthLoginCertPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginCertOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginCertOutput) ElementType() reflect.Type { @@ -1387,12 +1278,6 @@ func (o ProviderAuthLoginCertOutput) ToProviderAuthLoginCertPtrOutputWithContext }).(ProviderAuthLoginCertPtrOutput) } -func (o ProviderAuthLoginCertOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginCert] { - return pulumix.Output[ProviderAuthLoginCert]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginCertOutput) CertFile() pulumi.StringOutput { return o.ApplyT(func(v ProviderAuthLoginCert) string { return v.CertFile }).(pulumi.StringOutput) } @@ -1431,12 +1316,6 @@ func (o ProviderAuthLoginCertPtrOutput) ToProviderAuthLoginCertPtrOutputWithCont return o } -func (o ProviderAuthLoginCertPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginCert] { - return pulumix.Output[*ProviderAuthLoginCert]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginCertPtrOutput) Elem() ProviderAuthLoginCertOutput { return o.ApplyT(func(v *ProviderAuthLoginCert) ProviderAuthLoginCert { if v != nil { @@ -1544,12 +1423,6 @@ func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginGcpOutput) } -func (i ProviderAuthLoginGcpArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginGcp] { - return pulumix.Output[ProviderAuthLoginGcp]{ - OutputState: i.ToProviderAuthLoginGcpOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginGcpArgs) ToProviderAuthLoginGcpPtrOutput() ProviderAuthLoginGcpPtrOutput { return i.ToProviderAuthLoginGcpPtrOutputWithContext(context.Background()) } @@ -1591,12 +1464,6 @@ func (i *providerAuthLoginGcpPtrType) ToProviderAuthLoginGcpPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginGcpPtrOutput) } -func (i *providerAuthLoginGcpPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginGcp] { - return pulumix.Output[*ProviderAuthLoginGcp]{ - OutputState: i.ToProviderAuthLoginGcpPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginGcpOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginGcpOutput) ElementType() reflect.Type { @@ -1621,12 +1488,6 @@ func (o ProviderAuthLoginGcpOutput) ToProviderAuthLoginGcpPtrOutputWithContext(c }).(ProviderAuthLoginGcpPtrOutput) } -func (o ProviderAuthLoginGcpOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginGcp] { - return pulumix.Output[ProviderAuthLoginGcp]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginGcpOutput) Credentials() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderAuthLoginGcp) *string { return v.Credentials }).(pulumi.StringPtrOutput) } @@ -1669,12 +1530,6 @@ func (o ProviderAuthLoginGcpPtrOutput) ToProviderAuthLoginGcpPtrOutputWithContex return o } -func (o ProviderAuthLoginGcpPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginGcp] { - return pulumix.Output[*ProviderAuthLoginGcp]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginGcpPtrOutput) Elem() ProviderAuthLoginGcpOutput { return o.ApplyT(func(v *ProviderAuthLoginGcp) ProviderAuthLoginGcp { if v != nil { @@ -1787,12 +1642,6 @@ func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginJwtOutput) } -func (i ProviderAuthLoginJwtArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginJwt] { - return pulumix.Output[ProviderAuthLoginJwt]{ - OutputState: i.ToProviderAuthLoginJwtOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginJwtArgs) ToProviderAuthLoginJwtPtrOutput() ProviderAuthLoginJwtPtrOutput { return i.ToProviderAuthLoginJwtPtrOutputWithContext(context.Background()) } @@ -1834,12 +1683,6 @@ func (i *providerAuthLoginJwtPtrType) ToProviderAuthLoginJwtPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginJwtPtrOutput) } -func (i *providerAuthLoginJwtPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginJwt] { - return pulumix.Output[*ProviderAuthLoginJwt]{ - OutputState: i.ToProviderAuthLoginJwtPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginJwtOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginJwtOutput) ElementType() reflect.Type { @@ -1864,12 +1707,6 @@ func (o ProviderAuthLoginJwtOutput) ToProviderAuthLoginJwtPtrOutputWithContext(c }).(ProviderAuthLoginJwtPtrOutput) } -func (o ProviderAuthLoginJwtOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginJwt] { - return pulumix.Output[ProviderAuthLoginJwt]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginJwtOutput) Jwt() pulumi.StringOutput { return o.ApplyT(func(v ProviderAuthLoginJwt) string { return v.Jwt }).(pulumi.StringOutput) } @@ -1904,12 +1741,6 @@ func (o ProviderAuthLoginJwtPtrOutput) ToProviderAuthLoginJwtPtrOutputWithContex return o } -func (o ProviderAuthLoginJwtPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginJwt] { - return pulumix.Output[*ProviderAuthLoginJwt]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginJwtPtrOutput) Elem() ProviderAuthLoginJwtOutput { return o.ApplyT(func(v *ProviderAuthLoginJwt) ProviderAuthLoginJwt { if v != nil { @@ -2016,12 +1847,6 @@ func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginKerberosOutput) } -func (i ProviderAuthLoginKerberosArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginKerberos] { - return pulumix.Output[ProviderAuthLoginKerberos]{ - OutputState: i.ToProviderAuthLoginKerberosOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginKerberosArgs) ToProviderAuthLoginKerberosPtrOutput() ProviderAuthLoginKerberosPtrOutput { return i.ToProviderAuthLoginKerberosPtrOutputWithContext(context.Background()) } @@ -2063,12 +1888,6 @@ func (i *providerAuthLoginKerberosPtrType) ToProviderAuthLoginKerberosPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginKerberosPtrOutput) } -func (i *providerAuthLoginKerberosPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginKerberos] { - return pulumix.Output[*ProviderAuthLoginKerberos]{ - OutputState: i.ToProviderAuthLoginKerberosPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginKerberosOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginKerberosOutput) ElementType() reflect.Type { @@ -2093,12 +1912,6 @@ func (o ProviderAuthLoginKerberosOutput) ToProviderAuthLoginKerberosPtrOutputWit }).(ProviderAuthLoginKerberosPtrOutput) } -func (o ProviderAuthLoginKerberosOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginKerberos] { - return pulumix.Output[ProviderAuthLoginKerberos]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginKerberosOutput) DisableFastNegotiation() pulumi.BoolPtrOutput { return o.ApplyT(func(v ProviderAuthLoginKerberos) *bool { return v.DisableFastNegotiation }).(pulumi.BoolPtrOutput) } @@ -2157,12 +1970,6 @@ func (o ProviderAuthLoginKerberosPtrOutput) ToProviderAuthLoginKerberosPtrOutput return o } -func (o ProviderAuthLoginKerberosPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginKerberos] { - return pulumix.Output[*ProviderAuthLoginKerberos]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginKerberosPtrOutput) Elem() ProviderAuthLoginKerberosOutput { return o.ApplyT(func(v *ProviderAuthLoginKerberos) ProviderAuthLoginKerberos { if v != nil { @@ -2311,12 +2118,6 @@ func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginOciOutput) } -func (i ProviderAuthLoginOciArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginOci] { - return pulumix.Output[ProviderAuthLoginOci]{ - OutputState: i.ToProviderAuthLoginOciOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginOciArgs) ToProviderAuthLoginOciPtrOutput() ProviderAuthLoginOciPtrOutput { return i.ToProviderAuthLoginOciPtrOutputWithContext(context.Background()) } @@ -2358,12 +2159,6 @@ func (i *providerAuthLoginOciPtrType) ToProviderAuthLoginOciPtrOutputWithContext return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginOciPtrOutput) } -func (i *providerAuthLoginOciPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginOci] { - return pulumix.Output[*ProviderAuthLoginOci]{ - OutputState: i.ToProviderAuthLoginOciPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginOciOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginOciOutput) ElementType() reflect.Type { @@ -2388,12 +2183,6 @@ func (o ProviderAuthLoginOciOutput) ToProviderAuthLoginOciPtrOutputWithContext(c }).(ProviderAuthLoginOciPtrOutput) } -func (o ProviderAuthLoginOciOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginOci] { - return pulumix.Output[ProviderAuthLoginOci]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginOciOutput) AuthType() pulumi.StringOutput { return o.ApplyT(func(v ProviderAuthLoginOci) string { return v.AuthType }).(pulumi.StringOutput) } @@ -2428,12 +2217,6 @@ func (o ProviderAuthLoginOciPtrOutput) ToProviderAuthLoginOciPtrOutputWithContex return o } -func (o ProviderAuthLoginOciPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginOci] { - return pulumix.Output[*ProviderAuthLoginOci]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginOciPtrOutput) Elem() ProviderAuthLoginOciOutput { return o.ApplyT(func(v *ProviderAuthLoginOci) ProviderAuthLoginOci { if v != nil { @@ -2530,12 +2313,6 @@ func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginOidcOutput) } -func (i ProviderAuthLoginOidcArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginOidc] { - return pulumix.Output[ProviderAuthLoginOidc]{ - OutputState: i.ToProviderAuthLoginOidcOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginOidcArgs) ToProviderAuthLoginOidcPtrOutput() ProviderAuthLoginOidcPtrOutput { return i.ToProviderAuthLoginOidcPtrOutputWithContext(context.Background()) } @@ -2577,12 +2354,6 @@ func (i *providerAuthLoginOidcPtrType) ToProviderAuthLoginOidcPtrOutputWithConte return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginOidcPtrOutput) } -func (i *providerAuthLoginOidcPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginOidc] { - return pulumix.Output[*ProviderAuthLoginOidc]{ - OutputState: i.ToProviderAuthLoginOidcPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginOidcOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginOidcOutput) ElementType() reflect.Type { @@ -2607,12 +2378,6 @@ func (o ProviderAuthLoginOidcOutput) ToProviderAuthLoginOidcPtrOutputWithContext }).(ProviderAuthLoginOidcPtrOutput) } -func (o ProviderAuthLoginOidcOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginOidc] { - return pulumix.Output[ProviderAuthLoginOidc]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginOidcOutput) CallbackAddress() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderAuthLoginOidc) *string { return v.CallbackAddress }).(pulumi.StringPtrOutput) } @@ -2651,12 +2416,6 @@ func (o ProviderAuthLoginOidcPtrOutput) ToProviderAuthLoginOidcPtrOutputWithCont return o } -func (o ProviderAuthLoginOidcPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginOidc] { - return pulumix.Output[*ProviderAuthLoginOidc]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginOidcPtrOutput) Elem() ProviderAuthLoginOidcOutput { return o.ApplyT(func(v *ProviderAuthLoginOidc) ProviderAuthLoginOidc { if v != nil { @@ -2760,12 +2519,6 @@ func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusOutputWithContext( return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginRadiusOutput) } -func (i ProviderAuthLoginRadiusArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginRadius] { - return pulumix.Output[ProviderAuthLoginRadius]{ - OutputState: i.ToProviderAuthLoginRadiusOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginRadiusArgs) ToProviderAuthLoginRadiusPtrOutput() ProviderAuthLoginRadiusPtrOutput { return i.ToProviderAuthLoginRadiusPtrOutputWithContext(context.Background()) } @@ -2807,12 +2560,6 @@ func (i *providerAuthLoginRadiusPtrType) ToProviderAuthLoginRadiusPtrOutputWithC return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginRadiusPtrOutput) } -func (i *providerAuthLoginRadiusPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginRadius] { - return pulumix.Output[*ProviderAuthLoginRadius]{ - OutputState: i.ToProviderAuthLoginRadiusPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginRadiusOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginRadiusOutput) ElementType() reflect.Type { @@ -2837,12 +2584,6 @@ func (o ProviderAuthLoginRadiusOutput) ToProviderAuthLoginRadiusPtrOutputWithCon }).(ProviderAuthLoginRadiusPtrOutput) } -func (o ProviderAuthLoginRadiusOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginRadius] { - return pulumix.Output[ProviderAuthLoginRadius]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginRadiusOutput) Mount() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderAuthLoginRadius) *string { return v.Mount }).(pulumi.StringPtrOutput) } @@ -2877,12 +2618,6 @@ func (o ProviderAuthLoginRadiusPtrOutput) ToProviderAuthLoginRadiusPtrOutputWith return o } -func (o ProviderAuthLoginRadiusPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginRadius] { - return pulumix.Output[*ProviderAuthLoginRadius]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginRadiusPtrOutput) Elem() ProviderAuthLoginRadiusOutput { return o.ApplyT(func(v *ProviderAuthLoginRadius) ProviderAuthLoginRadius { if v != nil { @@ -2973,12 +2708,6 @@ func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFileOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginTokenFileOutput) } -func (i ProviderAuthLoginTokenFileArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginTokenFile] { - return pulumix.Output[ProviderAuthLoginTokenFile]{ - OutputState: i.ToProviderAuthLoginTokenFileOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginTokenFileArgs) ToProviderAuthLoginTokenFilePtrOutput() ProviderAuthLoginTokenFilePtrOutput { return i.ToProviderAuthLoginTokenFilePtrOutputWithContext(context.Background()) } @@ -3020,12 +2749,6 @@ func (i *providerAuthLoginTokenFilePtrType) ToProviderAuthLoginTokenFilePtrOutpu return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginTokenFilePtrOutput) } -func (i *providerAuthLoginTokenFilePtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginTokenFile] { - return pulumix.Output[*ProviderAuthLoginTokenFile]{ - OutputState: i.ToProviderAuthLoginTokenFilePtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginTokenFileOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginTokenFileOutput) ElementType() reflect.Type { @@ -3050,12 +2773,6 @@ func (o ProviderAuthLoginTokenFileOutput) ToProviderAuthLoginTokenFilePtrOutputW }).(ProviderAuthLoginTokenFilePtrOutput) } -func (o ProviderAuthLoginTokenFileOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginTokenFile] { - return pulumix.Output[ProviderAuthLoginTokenFile]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginTokenFileOutput) Filename() pulumi.StringOutput { return o.ApplyT(func(v ProviderAuthLoginTokenFile) string { return v.Filename }).(pulumi.StringOutput) } @@ -3082,12 +2799,6 @@ func (o ProviderAuthLoginTokenFilePtrOutput) ToProviderAuthLoginTokenFilePtrOutp return o } -func (o ProviderAuthLoginTokenFilePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginTokenFile] { - return pulumix.Output[*ProviderAuthLoginTokenFile]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginTokenFilePtrOutput) Elem() ProviderAuthLoginTokenFileOutput { return o.ApplyT(func(v *ProviderAuthLoginTokenFile) ProviderAuthLoginTokenFile { if v != nil { @@ -3166,12 +2877,6 @@ func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginUserpassOutput) } -func (i ProviderAuthLoginUserpassArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginUserpass] { - return pulumix.Output[ProviderAuthLoginUserpass]{ - OutputState: i.ToProviderAuthLoginUserpassOutputWithContext(ctx).OutputState, - } -} - func (i ProviderAuthLoginUserpassArgs) ToProviderAuthLoginUserpassPtrOutput() ProviderAuthLoginUserpassPtrOutput { return i.ToProviderAuthLoginUserpassPtrOutputWithContext(context.Background()) } @@ -3213,12 +2918,6 @@ func (i *providerAuthLoginUserpassPtrType) ToProviderAuthLoginUserpassPtrOutputW return pulumi.ToOutputWithContext(ctx, i).(ProviderAuthLoginUserpassPtrOutput) } -func (i *providerAuthLoginUserpassPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginUserpass] { - return pulumix.Output[*ProviderAuthLoginUserpass]{ - OutputState: i.ToProviderAuthLoginUserpassPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderAuthLoginUserpassOutput struct{ *pulumi.OutputState } func (ProviderAuthLoginUserpassOutput) ElementType() reflect.Type { @@ -3243,12 +2942,6 @@ func (o ProviderAuthLoginUserpassOutput) ToProviderAuthLoginUserpassPtrOutputWit }).(ProviderAuthLoginUserpassPtrOutput) } -func (o ProviderAuthLoginUserpassOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderAuthLoginUserpass] { - return pulumix.Output[ProviderAuthLoginUserpass]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginUserpassOutput) Mount() pulumi.StringPtrOutput { return o.ApplyT(func(v ProviderAuthLoginUserpass) *string { return v.Mount }).(pulumi.StringPtrOutput) } @@ -3287,12 +2980,6 @@ func (o ProviderAuthLoginUserpassPtrOutput) ToProviderAuthLoginUserpassPtrOutput return o } -func (o ProviderAuthLoginUserpassPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderAuthLoginUserpass] { - return pulumix.Output[*ProviderAuthLoginUserpass]{ - OutputState: o.OutputState, - } -} - func (o ProviderAuthLoginUserpassPtrOutput) Elem() ProviderAuthLoginUserpassOutput { return o.ApplyT(func(v *ProviderAuthLoginUserpass) ProviderAuthLoginUserpass { if v != nil { @@ -3390,12 +3077,6 @@ func (i ProviderClientAuthArgs) ToProviderClientAuthOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(ProviderClientAuthOutput) } -func (i ProviderClientAuthArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderClientAuth] { - return pulumix.Output[ProviderClientAuth]{ - OutputState: i.ToProviderClientAuthOutputWithContext(ctx).OutputState, - } -} - func (i ProviderClientAuthArgs) ToProviderClientAuthPtrOutput() ProviderClientAuthPtrOutput { return i.ToProviderClientAuthPtrOutputWithContext(context.Background()) } @@ -3437,12 +3118,6 @@ func (i *providerClientAuthPtrType) ToProviderClientAuthPtrOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(ProviderClientAuthPtrOutput) } -func (i *providerClientAuthPtrType) ToOutput(ctx context.Context) pulumix.Output[*ProviderClientAuth] { - return pulumix.Output[*ProviderClientAuth]{ - OutputState: i.ToProviderClientAuthPtrOutputWithContext(ctx).OutputState, - } -} - type ProviderClientAuthOutput struct{ *pulumi.OutputState } func (ProviderClientAuthOutput) ElementType() reflect.Type { @@ -3467,12 +3142,6 @@ func (o ProviderClientAuthOutput) ToProviderClientAuthPtrOutputWithContext(ctx c }).(ProviderClientAuthPtrOutput) } -func (o ProviderClientAuthOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderClientAuth] { - return pulumix.Output[ProviderClientAuth]{ - OutputState: o.OutputState, - } -} - func (o ProviderClientAuthOutput) CertFile() pulumi.StringOutput { return o.ApplyT(func(v ProviderClientAuth) string { return v.CertFile }).(pulumi.StringOutput) } @@ -3495,12 +3164,6 @@ func (o ProviderClientAuthPtrOutput) ToProviderClientAuthPtrOutputWithContext(ct return o } -func (o ProviderClientAuthPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*ProviderClientAuth] { - return pulumix.Output[*ProviderClientAuth]{ - OutputState: o.OutputState, - } -} - func (o ProviderClientAuthPtrOutput) Elem() ProviderClientAuthOutput { return o.ApplyT(func(v *ProviderClientAuth) ProviderClientAuth { if v != nil { @@ -3562,12 +3225,6 @@ func (i ProviderHeaderArgs) ToProviderHeaderOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(ProviderHeaderOutput) } -func (i ProviderHeaderArgs) ToOutput(ctx context.Context) pulumix.Output[ProviderHeader] { - return pulumix.Output[ProviderHeader]{ - OutputState: i.ToProviderHeaderOutputWithContext(ctx).OutputState, - } -} - // ProviderHeaderArrayInput is an input type that accepts ProviderHeaderArray and ProviderHeaderArrayOutput values. // You can construct a concrete instance of `ProviderHeaderArrayInput` via: // @@ -3593,12 +3250,6 @@ func (i ProviderHeaderArray) ToProviderHeaderArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(ProviderHeaderArrayOutput) } -func (i ProviderHeaderArray) ToOutput(ctx context.Context) pulumix.Output[[]ProviderHeader] { - return pulumix.Output[[]ProviderHeader]{ - OutputState: i.ToProviderHeaderArrayOutputWithContext(ctx).OutputState, - } -} - type ProviderHeaderOutput struct{ *pulumi.OutputState } func (ProviderHeaderOutput) ElementType() reflect.Type { @@ -3613,12 +3264,6 @@ func (o ProviderHeaderOutput) ToProviderHeaderOutputWithContext(ctx context.Cont return o } -func (o ProviderHeaderOutput) ToOutput(ctx context.Context) pulumix.Output[ProviderHeader] { - return pulumix.Output[ProviderHeader]{ - OutputState: o.OutputState, - } -} - func (o ProviderHeaderOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v ProviderHeader) string { return v.Name }).(pulumi.StringOutput) } @@ -3641,12 +3286,6 @@ func (o ProviderHeaderArrayOutput) ToProviderHeaderArrayOutputWithContext(ctx co return o } -func (o ProviderHeaderArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]ProviderHeader] { - return pulumix.Output[[]ProviderHeader]{ - OutputState: o.OutputState, - } -} - func (o ProviderHeaderArrayOutput) Index(i pulumi.IntInput) ProviderHeaderOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) ProviderHeader { return vs[0].([]ProviderHeader)[vs[1].(int)] @@ -3714,12 +3353,6 @@ func (i GetPolicyDocumentRuleArgs) ToGetPolicyDocumentRuleOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleOutput) } -func (i GetPolicyDocumentRuleArgs) ToOutput(ctx context.Context) pulumix.Output[GetPolicyDocumentRule] { - return pulumix.Output[GetPolicyDocumentRule]{ - OutputState: i.ToGetPolicyDocumentRuleOutputWithContext(ctx).OutputState, - } -} - // GetPolicyDocumentRuleArrayInput is an input type that accepts GetPolicyDocumentRuleArray and GetPolicyDocumentRuleArrayOutput values. // You can construct a concrete instance of `GetPolicyDocumentRuleArrayInput` via: // @@ -3745,12 +3378,6 @@ func (i GetPolicyDocumentRuleArray) ToGetPolicyDocumentRuleArrayOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleArrayOutput) } -func (i GetPolicyDocumentRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPolicyDocumentRule] { - return pulumix.Output[[]GetPolicyDocumentRule]{ - OutputState: i.ToGetPolicyDocumentRuleArrayOutputWithContext(ctx).OutputState, - } -} - type GetPolicyDocumentRuleOutput struct{ *pulumi.OutputState } func (GetPolicyDocumentRuleOutput) ElementType() reflect.Type { @@ -3765,12 +3392,6 @@ func (o GetPolicyDocumentRuleOutput) ToGetPolicyDocumentRuleOutputWithContext(ct return o } -func (o GetPolicyDocumentRuleOutput) ToOutput(ctx context.Context) pulumix.Output[GetPolicyDocumentRule] { - return pulumix.Output[GetPolicyDocumentRule]{ - OutputState: o.OutputState, - } -} - // Whitelists a list of keys and values that are permitted on the given path. See Parameters below. func (o GetPolicyDocumentRuleOutput) AllowedParameters() GetPolicyDocumentRuleAllowedParameterArrayOutput { return o.ApplyT(func(v GetPolicyDocumentRule) []GetPolicyDocumentRuleAllowedParameter { return v.AllowedParameters }).(GetPolicyDocumentRuleAllowedParameterArrayOutput) @@ -3825,12 +3446,6 @@ func (o GetPolicyDocumentRuleArrayOutput) ToGetPolicyDocumentRuleArrayOutputWith return o } -func (o GetPolicyDocumentRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPolicyDocumentRule] { - return pulumix.Output[[]GetPolicyDocumentRule]{ - OutputState: o.OutputState, - } -} - func (o GetPolicyDocumentRuleArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPolicyDocumentRule { return vs[0].([]GetPolicyDocumentRule)[vs[1].(int)] @@ -3874,12 +3489,6 @@ func (i GetPolicyDocumentRuleAllowedParameterArgs) ToGetPolicyDocumentRuleAllowe return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleAllowedParameterOutput) } -func (i GetPolicyDocumentRuleAllowedParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GetPolicyDocumentRuleAllowedParameter] { - return pulumix.Output[GetPolicyDocumentRuleAllowedParameter]{ - OutputState: i.ToGetPolicyDocumentRuleAllowedParameterOutputWithContext(ctx).OutputState, - } -} - // GetPolicyDocumentRuleAllowedParameterArrayInput is an input type that accepts GetPolicyDocumentRuleAllowedParameterArray and GetPolicyDocumentRuleAllowedParameterArrayOutput values. // You can construct a concrete instance of `GetPolicyDocumentRuleAllowedParameterArrayInput` via: // @@ -3905,12 +3514,6 @@ func (i GetPolicyDocumentRuleAllowedParameterArray) ToGetPolicyDocumentRuleAllow return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleAllowedParameterArrayOutput) } -func (i GetPolicyDocumentRuleAllowedParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPolicyDocumentRuleAllowedParameter] { - return pulumix.Output[[]GetPolicyDocumentRuleAllowedParameter]{ - OutputState: i.ToGetPolicyDocumentRuleAllowedParameterArrayOutputWithContext(ctx).OutputState, - } -} - type GetPolicyDocumentRuleAllowedParameterOutput struct{ *pulumi.OutputState } func (GetPolicyDocumentRuleAllowedParameterOutput) ElementType() reflect.Type { @@ -3925,12 +3528,6 @@ func (o GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllo return o } -func (o GetPolicyDocumentRuleAllowedParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GetPolicyDocumentRuleAllowedParameter] { - return pulumix.Output[GetPolicyDocumentRuleAllowedParameter]{ - OutputState: o.OutputState, - } -} - // name of permitted or denied parameter. func (o GetPolicyDocumentRuleAllowedParameterOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GetPolicyDocumentRuleAllowedParameter) string { return v.Key }).(pulumi.StringOutput) @@ -3955,12 +3552,6 @@ func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) ToGetPolicyDocumentRul return o } -func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPolicyDocumentRuleAllowedParameter] { - return pulumix.Output[[]GetPolicyDocumentRuleAllowedParameter]{ - OutputState: o.OutputState, - } -} - func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleAllowedParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPolicyDocumentRuleAllowedParameter { return vs[0].([]GetPolicyDocumentRuleAllowedParameter)[vs[1].(int)] @@ -4004,12 +3595,6 @@ func (i GetPolicyDocumentRuleDeniedParameterArgs) ToGetPolicyDocumentRuleDeniedP return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleDeniedParameterOutput) } -func (i GetPolicyDocumentRuleDeniedParameterArgs) ToOutput(ctx context.Context) pulumix.Output[GetPolicyDocumentRuleDeniedParameter] { - return pulumix.Output[GetPolicyDocumentRuleDeniedParameter]{ - OutputState: i.ToGetPolicyDocumentRuleDeniedParameterOutputWithContext(ctx).OutputState, - } -} - // GetPolicyDocumentRuleDeniedParameterArrayInput is an input type that accepts GetPolicyDocumentRuleDeniedParameterArray and GetPolicyDocumentRuleDeniedParameterArrayOutput values. // You can construct a concrete instance of `GetPolicyDocumentRuleDeniedParameterArrayInput` via: // @@ -4035,12 +3620,6 @@ func (i GetPolicyDocumentRuleDeniedParameterArray) ToGetPolicyDocumentRuleDenied return pulumi.ToOutputWithContext(ctx, i).(GetPolicyDocumentRuleDeniedParameterArrayOutput) } -func (i GetPolicyDocumentRuleDeniedParameterArray) ToOutput(ctx context.Context) pulumix.Output[[]GetPolicyDocumentRuleDeniedParameter] { - return pulumix.Output[[]GetPolicyDocumentRuleDeniedParameter]{ - OutputState: i.ToGetPolicyDocumentRuleDeniedParameterArrayOutputWithContext(ctx).OutputState, - } -} - type GetPolicyDocumentRuleDeniedParameterOutput struct{ *pulumi.OutputState } func (GetPolicyDocumentRuleDeniedParameterOutput) ElementType() reflect.Type { @@ -4055,12 +3634,6 @@ func (o GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDenie return o } -func (o GetPolicyDocumentRuleDeniedParameterOutput) ToOutput(ctx context.Context) pulumix.Output[GetPolicyDocumentRuleDeniedParameter] { - return pulumix.Output[GetPolicyDocumentRuleDeniedParameter]{ - OutputState: o.OutputState, - } -} - // name of permitted or denied parameter. func (o GetPolicyDocumentRuleDeniedParameterOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GetPolicyDocumentRuleDeniedParameter) string { return v.Key }).(pulumi.StringOutput) @@ -4085,12 +3658,6 @@ func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) ToGetPolicyDocumentRule return o } -func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]GetPolicyDocumentRuleDeniedParameter] { - return pulumix.Output[[]GetPolicyDocumentRuleDeniedParameter]{ - OutputState: o.OutputState, - } -} - func (o GetPolicyDocumentRuleDeniedParameterArrayOutput) Index(i pulumi.IntInput) GetPolicyDocumentRuleDeniedParameterOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) GetPolicyDocumentRuleDeniedParameter { return vs[0].([]GetPolicyDocumentRuleDeniedParameter)[vs[1].(int)] diff --git a/sdk/go/vault/quotaLeaseCount.go b/sdk/go/vault/quotaLeaseCount.go index 83fdeb11e..3d06c0ce1 100644 --- a/sdk/go/vault/quotaLeaseCount.go +++ b/sdk/go/vault/quotaLeaseCount.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manage lease count quotas which enforce the number of leases that can be created. @@ -230,12 +229,6 @@ func (i *QuotaLeaseCount) ToQuotaLeaseCountOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(QuotaLeaseCountOutput) } -func (i *QuotaLeaseCount) ToOutput(ctx context.Context) pulumix.Output[*QuotaLeaseCount] { - return pulumix.Output[*QuotaLeaseCount]{ - OutputState: i.ToQuotaLeaseCountOutputWithContext(ctx).OutputState, - } -} - // QuotaLeaseCountArrayInput is an input type that accepts QuotaLeaseCountArray and QuotaLeaseCountArrayOutput values. // You can construct a concrete instance of `QuotaLeaseCountArrayInput` via: // @@ -261,12 +254,6 @@ func (i QuotaLeaseCountArray) ToQuotaLeaseCountArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(QuotaLeaseCountArrayOutput) } -func (i QuotaLeaseCountArray) ToOutput(ctx context.Context) pulumix.Output[[]*QuotaLeaseCount] { - return pulumix.Output[[]*QuotaLeaseCount]{ - OutputState: i.ToQuotaLeaseCountArrayOutputWithContext(ctx).OutputState, - } -} - // QuotaLeaseCountMapInput is an input type that accepts QuotaLeaseCountMap and QuotaLeaseCountMapOutput values. // You can construct a concrete instance of `QuotaLeaseCountMapInput` via: // @@ -292,12 +279,6 @@ func (i QuotaLeaseCountMap) ToQuotaLeaseCountMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(QuotaLeaseCountMapOutput) } -func (i QuotaLeaseCountMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*QuotaLeaseCount] { - return pulumix.Output[map[string]*QuotaLeaseCount]{ - OutputState: i.ToQuotaLeaseCountMapOutputWithContext(ctx).OutputState, - } -} - type QuotaLeaseCountOutput struct{ *pulumi.OutputState } func (QuotaLeaseCountOutput) ElementType() reflect.Type { @@ -312,12 +293,6 @@ func (o QuotaLeaseCountOutput) ToQuotaLeaseCountOutputWithContext(ctx context.Co return o } -func (o QuotaLeaseCountOutput) ToOutput(ctx context.Context) pulumix.Output[*QuotaLeaseCount] { - return pulumix.Output[*QuotaLeaseCount]{ - OutputState: o.OutputState, - } -} - // The maximum number of leases to be allowed by the quota // rule. The `maxLeases` must be positive. func (o QuotaLeaseCountOutput) MaxLeases() pulumi.IntOutput { @@ -366,12 +341,6 @@ func (o QuotaLeaseCountArrayOutput) ToQuotaLeaseCountArrayOutputWithContext(ctx return o } -func (o QuotaLeaseCountArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*QuotaLeaseCount] { - return pulumix.Output[[]*QuotaLeaseCount]{ - OutputState: o.OutputState, - } -} - func (o QuotaLeaseCountArrayOutput) Index(i pulumi.IntInput) QuotaLeaseCountOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *QuotaLeaseCount { return vs[0].([]*QuotaLeaseCount)[vs[1].(int)] @@ -392,12 +361,6 @@ func (o QuotaLeaseCountMapOutput) ToQuotaLeaseCountMapOutputWithContext(ctx cont return o } -func (o QuotaLeaseCountMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*QuotaLeaseCount] { - return pulumix.Output[map[string]*QuotaLeaseCount]{ - OutputState: o.OutputState, - } -} - func (o QuotaLeaseCountMapOutput) MapIndex(k pulumi.StringInput) QuotaLeaseCountOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *QuotaLeaseCount { return vs[0].(map[string]*QuotaLeaseCount)[vs[1].(string)] diff --git a/sdk/go/vault/quotaRateLimit.go b/sdk/go/vault/quotaRateLimit.go index 29cb1b7f7..3077c427f 100644 --- a/sdk/go/vault/quotaRateLimit.go +++ b/sdk/go/vault/quotaRateLimit.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manage rate limit quotas which enforce API rate limiting using a token bucket algorithm. @@ -253,12 +252,6 @@ func (i *QuotaRateLimit) ToQuotaRateLimitOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(QuotaRateLimitOutput) } -func (i *QuotaRateLimit) ToOutput(ctx context.Context) pulumix.Output[*QuotaRateLimit] { - return pulumix.Output[*QuotaRateLimit]{ - OutputState: i.ToQuotaRateLimitOutputWithContext(ctx).OutputState, - } -} - // QuotaRateLimitArrayInput is an input type that accepts QuotaRateLimitArray and QuotaRateLimitArrayOutput values. // You can construct a concrete instance of `QuotaRateLimitArrayInput` via: // @@ -284,12 +277,6 @@ func (i QuotaRateLimitArray) ToQuotaRateLimitArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(QuotaRateLimitArrayOutput) } -func (i QuotaRateLimitArray) ToOutput(ctx context.Context) pulumix.Output[[]*QuotaRateLimit] { - return pulumix.Output[[]*QuotaRateLimit]{ - OutputState: i.ToQuotaRateLimitArrayOutputWithContext(ctx).OutputState, - } -} - // QuotaRateLimitMapInput is an input type that accepts QuotaRateLimitMap and QuotaRateLimitMapOutput values. // You can construct a concrete instance of `QuotaRateLimitMapInput` via: // @@ -315,12 +302,6 @@ func (i QuotaRateLimitMap) ToQuotaRateLimitMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(QuotaRateLimitMapOutput) } -func (i QuotaRateLimitMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*QuotaRateLimit] { - return pulumix.Output[map[string]*QuotaRateLimit]{ - OutputState: i.ToQuotaRateLimitMapOutputWithContext(ctx).OutputState, - } -} - type QuotaRateLimitOutput struct{ *pulumi.OutputState } func (QuotaRateLimitOutput) ElementType() reflect.Type { @@ -335,12 +316,6 @@ func (o QuotaRateLimitOutput) ToQuotaRateLimitOutputWithContext(ctx context.Cont return o } -func (o QuotaRateLimitOutput) ToOutput(ctx context.Context) pulumix.Output[*QuotaRateLimit] { - return pulumix.Output[*QuotaRateLimit]{ - OutputState: o.OutputState, - } -} - // If set, when a client reaches a rate limit threshold, the client will // be prohibited from any further requests until after the 'block_interval' in seconds has elapsed. func (o QuotaRateLimitOutput) BlockInterval() pulumi.IntPtrOutput { @@ -400,12 +375,6 @@ func (o QuotaRateLimitArrayOutput) ToQuotaRateLimitArrayOutputWithContext(ctx co return o } -func (o QuotaRateLimitArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*QuotaRateLimit] { - return pulumix.Output[[]*QuotaRateLimit]{ - OutputState: o.OutputState, - } -} - func (o QuotaRateLimitArrayOutput) Index(i pulumi.IntInput) QuotaRateLimitOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *QuotaRateLimit { return vs[0].([]*QuotaRateLimit)[vs[1].(int)] @@ -426,12 +395,6 @@ func (o QuotaRateLimitMapOutput) ToQuotaRateLimitMapOutputWithContext(ctx contex return o } -func (o QuotaRateLimitMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*QuotaRateLimit] { - return pulumix.Output[map[string]*QuotaRateLimit]{ - OutputState: o.OutputState, - } -} - func (o QuotaRateLimitMapOutput) MapIndex(k pulumi.StringInput) QuotaRateLimitOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *QuotaRateLimit { return vs[0].(map[string]*QuotaRateLimit)[vs[1].(string)] diff --git a/sdk/go/vault/rabbitmq/pulumiTypes.go b/sdk/go/vault/rabbitmq/pulumiTypes.go index d2f451e2d..82b970499 100644 --- a/sdk/go/vault/rabbitmq/pulumiTypes.go +++ b/sdk/go/vault/rabbitmq/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -51,12 +50,6 @@ func (i SecretBackendRoleVhostArgs) ToSecretBackendRoleVhostOutputWithContext(ct return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleVhostOutput) } -func (i SecretBackendRoleVhostArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRoleVhost] { - return pulumix.Output[SecretBackendRoleVhost]{ - OutputState: i.ToSecretBackendRoleVhostOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleVhostArrayInput is an input type that accepts SecretBackendRoleVhostArray and SecretBackendRoleVhostArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleVhostArrayInput` via: // @@ -82,12 +75,6 @@ func (i SecretBackendRoleVhostArray) ToSecretBackendRoleVhostArrayOutputWithCont return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleVhostArrayOutput) } -func (i SecretBackendRoleVhostArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRoleVhost] { - return pulumix.Output[[]SecretBackendRoleVhost]{ - OutputState: i.ToSecretBackendRoleVhostArrayOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleVhostOutput struct{ *pulumi.OutputState } func (SecretBackendRoleVhostOutput) ElementType() reflect.Type { @@ -102,12 +89,6 @@ func (o SecretBackendRoleVhostOutput) ToSecretBackendRoleVhostOutputWithContext( return o } -func (o SecretBackendRoleVhostOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRoleVhost] { - return pulumix.Output[SecretBackendRoleVhost]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleVhostOutput) Configure() pulumi.StringOutput { return o.ApplyT(func(v SecretBackendRoleVhost) string { return v.Configure }).(pulumi.StringOutput) } @@ -138,12 +119,6 @@ func (o SecretBackendRoleVhostArrayOutput) ToSecretBackendRoleVhostArrayOutputWi return o } -func (o SecretBackendRoleVhostArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRoleVhost] { - return pulumix.Output[[]SecretBackendRoleVhost]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleVhostArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleVhostOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretBackendRoleVhost { return vs[0].([]SecretBackendRoleVhost)[vs[1].(int)] @@ -185,12 +160,6 @@ func (i SecretBackendRoleVhostTopicArgs) ToSecretBackendRoleVhostTopicOutputWith return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleVhostTopicOutput) } -func (i SecretBackendRoleVhostTopicArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRoleVhostTopic] { - return pulumix.Output[SecretBackendRoleVhostTopic]{ - OutputState: i.ToSecretBackendRoleVhostTopicOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleVhostTopicArrayInput is an input type that accepts SecretBackendRoleVhostTopicArray and SecretBackendRoleVhostTopicArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleVhostTopicArrayInput` via: // @@ -216,12 +185,6 @@ func (i SecretBackendRoleVhostTopicArray) ToSecretBackendRoleVhostTopicArrayOutp return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleVhostTopicArrayOutput) } -func (i SecretBackendRoleVhostTopicArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRoleVhostTopic] { - return pulumix.Output[[]SecretBackendRoleVhostTopic]{ - OutputState: i.ToSecretBackendRoleVhostTopicArrayOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleVhostTopicOutput struct{ *pulumi.OutputState } func (SecretBackendRoleVhostTopicOutput) ElementType() reflect.Type { @@ -236,12 +199,6 @@ func (o SecretBackendRoleVhostTopicOutput) ToSecretBackendRoleVhostTopicOutputWi return o } -func (o SecretBackendRoleVhostTopicOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRoleVhostTopic] { - return pulumix.Output[SecretBackendRoleVhostTopic]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleVhostTopicOutput) Host() pulumi.StringOutput { return o.ApplyT(func(v SecretBackendRoleVhostTopic) string { return v.Host }).(pulumi.StringOutput) } @@ -265,12 +222,6 @@ func (o SecretBackendRoleVhostTopicArrayOutput) ToSecretBackendRoleVhostTopicArr return o } -func (o SecretBackendRoleVhostTopicArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRoleVhostTopic] { - return pulumix.Output[[]SecretBackendRoleVhostTopic]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleVhostTopicArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleVhostTopicOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretBackendRoleVhostTopic { return vs[0].([]SecretBackendRoleVhostTopic)[vs[1].(int)] @@ -312,12 +263,6 @@ func (i SecretBackendRoleVhostTopicVhostArgs) ToSecretBackendRoleVhostTopicVhost return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleVhostTopicVhostOutput) } -func (i SecretBackendRoleVhostTopicVhostArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRoleVhostTopicVhost] { - return pulumix.Output[SecretBackendRoleVhostTopicVhost]{ - OutputState: i.ToSecretBackendRoleVhostTopicVhostOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleVhostTopicVhostArrayInput is an input type that accepts SecretBackendRoleVhostTopicVhostArray and SecretBackendRoleVhostTopicVhostArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleVhostTopicVhostArrayInput` via: // @@ -343,12 +288,6 @@ func (i SecretBackendRoleVhostTopicVhostArray) ToSecretBackendRoleVhostTopicVhos return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleVhostTopicVhostArrayOutput) } -func (i SecretBackendRoleVhostTopicVhostArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRoleVhostTopicVhost] { - return pulumix.Output[[]SecretBackendRoleVhostTopicVhost]{ - OutputState: i.ToSecretBackendRoleVhostTopicVhostArrayOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleVhostTopicVhostOutput struct{ *pulumi.OutputState } func (SecretBackendRoleVhostTopicVhostOutput) ElementType() reflect.Type { @@ -363,12 +302,6 @@ func (o SecretBackendRoleVhostTopicVhostOutput) ToSecretBackendRoleVhostTopicVho return o } -func (o SecretBackendRoleVhostTopicVhostOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRoleVhostTopicVhost] { - return pulumix.Output[SecretBackendRoleVhostTopicVhost]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleVhostTopicVhostOutput) Read() pulumi.StringOutput { return o.ApplyT(func(v SecretBackendRoleVhostTopicVhost) string { return v.Read }).(pulumi.StringOutput) } @@ -395,12 +328,6 @@ func (o SecretBackendRoleVhostTopicVhostArrayOutput) ToSecretBackendRoleVhostTop return o } -func (o SecretBackendRoleVhostTopicVhostArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRoleVhostTopicVhost] { - return pulumix.Output[[]SecretBackendRoleVhostTopicVhost]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleVhostTopicVhostArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleVhostTopicVhostOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretBackendRoleVhostTopicVhost { return vs[0].([]SecretBackendRoleVhostTopicVhost)[vs[1].(int)] diff --git a/sdk/go/vault/rabbitmq/secretBackend.go b/sdk/go/vault/rabbitmq/secretBackend.go index f2801c387..2cad52f8c 100644 --- a/sdk/go/vault/rabbitmq/secretBackend.go +++ b/sdk/go/vault/rabbitmq/secretBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -304,12 +303,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -335,12 +328,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -366,12 +353,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -386,12 +367,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // Specifies the RabbitMQ connection URI. func (o SecretBackendOutput) ConnectionUri() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackend) pulumi.StringOutput { return v.ConnectionUri }).(pulumi.StringOutput) @@ -474,12 +449,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -500,12 +469,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/rabbitmq/secretBackendRole.go b/sdk/go/vault/rabbitmq/secretBackendRole.go index 93a4c7112..4b0430ebd 100644 --- a/sdk/go/vault/rabbitmq/secretBackendRole.go +++ b/sdk/go/vault/rabbitmq/secretBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -239,12 +238,6 @@ func (i *SecretBackendRole) ToSecretBackendRoleOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleOutput) } -func (i *SecretBackendRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleArrayInput is an input type that accepts SecretBackendRoleArray and SecretBackendRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleArrayInput` via: // @@ -270,12 +263,6 @@ func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleArrayOutput) } -func (i SecretBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleMapInput is an input type that accepts SecretBackendRoleMap and SecretBackendRoleMapOutput values. // You can construct a concrete instance of `SecretBackendRoleMapInput` via: // @@ -301,12 +288,6 @@ func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleMapOutput) } -func (i SecretBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleOutput struct{ *pulumi.OutputState } func (SecretBackendRoleOutput) ElementType() reflect.Type { @@ -321,12 +302,6 @@ func (o SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext(ctx contex return o } -func (o SecretBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - // The path the RabbitMQ secret backend is mounted at, // with no leading or trailing `/`s. func (o SecretBackendRoleOutput) Backend() pulumi.StringOutput { @@ -376,12 +351,6 @@ func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext( return o } -func (o SecretBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].([]*SecretBackendRole)[vs[1].(int)] @@ -402,12 +371,6 @@ func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext(ctx return o } -func (o SecretBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].(map[string]*SecretBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/raftAutopilot.go b/sdk/go/vault/raftAutopilot.go index 74f80488a..7b885f4c8 100644 --- a/sdk/go/vault/raftAutopilot.go +++ b/sdk/go/vault/raftAutopilot.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Autopilot enables automated workflows for managing Raft clusters. The @@ -266,12 +265,6 @@ func (i *RaftAutopilot) ToRaftAutopilotOutputWithContext(ctx context.Context) Ra return pulumi.ToOutputWithContext(ctx, i).(RaftAutopilotOutput) } -func (i *RaftAutopilot) ToOutput(ctx context.Context) pulumix.Output[*RaftAutopilot] { - return pulumix.Output[*RaftAutopilot]{ - OutputState: i.ToRaftAutopilotOutputWithContext(ctx).OutputState, - } -} - // RaftAutopilotArrayInput is an input type that accepts RaftAutopilotArray and RaftAutopilotArrayOutput values. // You can construct a concrete instance of `RaftAutopilotArrayInput` via: // @@ -297,12 +290,6 @@ func (i RaftAutopilotArray) ToRaftAutopilotArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(RaftAutopilotArrayOutput) } -func (i RaftAutopilotArray) ToOutput(ctx context.Context) pulumix.Output[[]*RaftAutopilot] { - return pulumix.Output[[]*RaftAutopilot]{ - OutputState: i.ToRaftAutopilotArrayOutputWithContext(ctx).OutputState, - } -} - // RaftAutopilotMapInput is an input type that accepts RaftAutopilotMap and RaftAutopilotMapOutput values. // You can construct a concrete instance of `RaftAutopilotMapInput` via: // @@ -328,12 +315,6 @@ func (i RaftAutopilotMap) ToRaftAutopilotMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(RaftAutopilotMapOutput) } -func (i RaftAutopilotMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RaftAutopilot] { - return pulumix.Output[map[string]*RaftAutopilot]{ - OutputState: i.ToRaftAutopilotMapOutputWithContext(ctx).OutputState, - } -} - type RaftAutopilotOutput struct{ *pulumi.OutputState } func (RaftAutopilotOutput) ElementType() reflect.Type { @@ -348,12 +329,6 @@ func (o RaftAutopilotOutput) ToRaftAutopilotOutputWithContext(ctx context.Contex return o } -func (o RaftAutopilotOutput) ToOutput(ctx context.Context) pulumix.Output[*RaftAutopilot] { - return pulumix.Output[*RaftAutopilot]{ - OutputState: o.OutputState, - } -} - // Specifies whether to remove dead server nodes // periodically or when a new server joins. This requires that `min-quorum` is also set. func (o RaftAutopilotOutput) CleanupDeadServers() pulumi.BoolPtrOutput { @@ -419,12 +394,6 @@ func (o RaftAutopilotArrayOutput) ToRaftAutopilotArrayOutputWithContext(ctx cont return o } -func (o RaftAutopilotArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RaftAutopilot] { - return pulumix.Output[[]*RaftAutopilot]{ - OutputState: o.OutputState, - } -} - func (o RaftAutopilotArrayOutput) Index(i pulumi.IntInput) RaftAutopilotOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RaftAutopilot { return vs[0].([]*RaftAutopilot)[vs[1].(int)] @@ -445,12 +414,6 @@ func (o RaftAutopilotMapOutput) ToRaftAutopilotMapOutputWithContext(ctx context. return o } -func (o RaftAutopilotMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RaftAutopilot] { - return pulumix.Output[map[string]*RaftAutopilot]{ - OutputState: o.OutputState, - } -} - func (o RaftAutopilotMapOutput) MapIndex(k pulumi.StringInput) RaftAutopilotOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RaftAutopilot { return vs[0].(map[string]*RaftAutopilot)[vs[1].(string)] diff --git a/sdk/go/vault/raftSnapshotAgentConfig.go b/sdk/go/vault/raftSnapshotAgentConfig.go index d67c8e5c8..5910c85d1 100644 --- a/sdk/go/vault/raftSnapshotAgentConfig.go +++ b/sdk/go/vault/raftSnapshotAgentConfig.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -681,12 +680,6 @@ func (i *RaftSnapshotAgentConfig) ToRaftSnapshotAgentConfigOutputWithContext(ctx return pulumi.ToOutputWithContext(ctx, i).(RaftSnapshotAgentConfigOutput) } -func (i *RaftSnapshotAgentConfig) ToOutput(ctx context.Context) pulumix.Output[*RaftSnapshotAgentConfig] { - return pulumix.Output[*RaftSnapshotAgentConfig]{ - OutputState: i.ToRaftSnapshotAgentConfigOutputWithContext(ctx).OutputState, - } -} - // RaftSnapshotAgentConfigArrayInput is an input type that accepts RaftSnapshotAgentConfigArray and RaftSnapshotAgentConfigArrayOutput values. // You can construct a concrete instance of `RaftSnapshotAgentConfigArrayInput` via: // @@ -712,12 +705,6 @@ func (i RaftSnapshotAgentConfigArray) ToRaftSnapshotAgentConfigArrayOutputWithCo return pulumi.ToOutputWithContext(ctx, i).(RaftSnapshotAgentConfigArrayOutput) } -func (i RaftSnapshotAgentConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*RaftSnapshotAgentConfig] { - return pulumix.Output[[]*RaftSnapshotAgentConfig]{ - OutputState: i.ToRaftSnapshotAgentConfigArrayOutputWithContext(ctx).OutputState, - } -} - // RaftSnapshotAgentConfigMapInput is an input type that accepts RaftSnapshotAgentConfigMap and RaftSnapshotAgentConfigMapOutput values. // You can construct a concrete instance of `RaftSnapshotAgentConfigMapInput` via: // @@ -743,12 +730,6 @@ func (i RaftSnapshotAgentConfigMap) ToRaftSnapshotAgentConfigMapOutputWithContex return pulumi.ToOutputWithContext(ctx, i).(RaftSnapshotAgentConfigMapOutput) } -func (i RaftSnapshotAgentConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RaftSnapshotAgentConfig] { - return pulumix.Output[map[string]*RaftSnapshotAgentConfig]{ - OutputState: i.ToRaftSnapshotAgentConfigMapOutputWithContext(ctx).OutputState, - } -} - type RaftSnapshotAgentConfigOutput struct{ *pulumi.OutputState } func (RaftSnapshotAgentConfigOutput) ElementType() reflect.Type { @@ -763,12 +744,6 @@ func (o RaftSnapshotAgentConfigOutput) ToRaftSnapshotAgentConfigOutputWithContex return o } -func (o RaftSnapshotAgentConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*RaftSnapshotAgentConfig] { - return pulumix.Output[*RaftSnapshotAgentConfig]{ - OutputState: o.OutputState, - } -} - // AWS access key ID. func (o RaftSnapshotAgentConfigOutput) AwsAccessKeyId() pulumi.StringPtrOutput { return o.ApplyT(func(v *RaftSnapshotAgentConfig) pulumi.StringPtrOutput { return v.AwsAccessKeyId }).(pulumi.StringPtrOutput) @@ -964,12 +939,6 @@ func (o RaftSnapshotAgentConfigArrayOutput) ToRaftSnapshotAgentConfigArrayOutput return o } -func (o RaftSnapshotAgentConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RaftSnapshotAgentConfig] { - return pulumix.Output[[]*RaftSnapshotAgentConfig]{ - OutputState: o.OutputState, - } -} - func (o RaftSnapshotAgentConfigArrayOutput) Index(i pulumi.IntInput) RaftSnapshotAgentConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RaftSnapshotAgentConfig { return vs[0].([]*RaftSnapshotAgentConfig)[vs[1].(int)] @@ -990,12 +959,6 @@ func (o RaftSnapshotAgentConfigMapOutput) ToRaftSnapshotAgentConfigMapOutputWith return o } -func (o RaftSnapshotAgentConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RaftSnapshotAgentConfig] { - return pulumix.Output[map[string]*RaftSnapshotAgentConfig]{ - OutputState: o.OutputState, - } -} - func (o RaftSnapshotAgentConfigMapOutput) MapIndex(k pulumi.StringInput) RaftSnapshotAgentConfigOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RaftSnapshotAgentConfig { return vs[0].(map[string]*RaftSnapshotAgentConfig)[vs[1].(string)] diff --git a/sdk/go/vault/rgpPolicy.go b/sdk/go/vault/rgpPolicy.go index d05519b8e..8b4f4428f 100644 --- a/sdk/go/vault/rgpPolicy.go +++ b/sdk/go/vault/rgpPolicy.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage Role Governing Policy (RGP) via [Sentinel](https://www.vaultproject.io/docs/enterprise/sentinel/index.html). @@ -178,12 +177,6 @@ func (i *RgpPolicy) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPolicyO return pulumi.ToOutputWithContext(ctx, i).(RgpPolicyOutput) } -func (i *RgpPolicy) ToOutput(ctx context.Context) pulumix.Output[*RgpPolicy] { - return pulumix.Output[*RgpPolicy]{ - OutputState: i.ToRgpPolicyOutputWithContext(ctx).OutputState, - } -} - // RgpPolicyArrayInput is an input type that accepts RgpPolicyArray and RgpPolicyArrayOutput values. // You can construct a concrete instance of `RgpPolicyArrayInput` via: // @@ -209,12 +202,6 @@ func (i RgpPolicyArray) ToRgpPolicyArrayOutputWithContext(ctx context.Context) R return pulumi.ToOutputWithContext(ctx, i).(RgpPolicyArrayOutput) } -func (i RgpPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*RgpPolicy] { - return pulumix.Output[[]*RgpPolicy]{ - OutputState: i.ToRgpPolicyArrayOutputWithContext(ctx).OutputState, - } -} - // RgpPolicyMapInput is an input type that accepts RgpPolicyMap and RgpPolicyMapOutput values. // You can construct a concrete instance of `RgpPolicyMapInput` via: // @@ -240,12 +227,6 @@ func (i RgpPolicyMap) ToRgpPolicyMapOutputWithContext(ctx context.Context) RgpPo return pulumi.ToOutputWithContext(ctx, i).(RgpPolicyMapOutput) } -func (i RgpPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RgpPolicy] { - return pulumix.Output[map[string]*RgpPolicy]{ - OutputState: i.ToRgpPolicyMapOutputWithContext(ctx).OutputState, - } -} - type RgpPolicyOutput struct{ *pulumi.OutputState } func (RgpPolicyOutput) ElementType() reflect.Type { @@ -260,12 +241,6 @@ func (o RgpPolicyOutput) ToRgpPolicyOutputWithContext(ctx context.Context) RgpPo return o } -func (o RgpPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RgpPolicy] { - return pulumix.Output[*RgpPolicy]{ - OutputState: o.OutputState, - } -} - // Enforcement level of Sentinel policy. Can be either `advisory` or `soft-mandatory` or `hard-mandatory` func (o RgpPolicyOutput) EnforcementLevel() pulumi.StringOutput { return o.ApplyT(func(v *RgpPolicy) pulumi.StringOutput { return v.EnforcementLevel }).(pulumi.StringOutput) @@ -303,12 +278,6 @@ func (o RgpPolicyArrayOutput) ToRgpPolicyArrayOutputWithContext(ctx context.Cont return o } -func (o RgpPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RgpPolicy] { - return pulumix.Output[[]*RgpPolicy]{ - OutputState: o.OutputState, - } -} - func (o RgpPolicyArrayOutput) Index(i pulumi.IntInput) RgpPolicyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *RgpPolicy { return vs[0].([]*RgpPolicy)[vs[1].(int)] @@ -329,12 +298,6 @@ func (o RgpPolicyMapOutput) ToRgpPolicyMapOutputWithContext(ctx context.Context) return o } -func (o RgpPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RgpPolicy] { - return pulumix.Output[map[string]*RgpPolicy]{ - OutputState: o.OutputState, - } -} - func (o RgpPolicyMapOutput) MapIndex(k pulumi.StringInput) RgpPolicyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *RgpPolicy { return vs[0].(map[string]*RgpPolicy)[vs[1].(string)] diff --git a/sdk/go/vault/saml/authBackend.go b/sdk/go/vault/saml/authBackend.go index a42dfb5f8..eedc33e2d 100644 --- a/sdk/go/vault/saml/authBackend.go +++ b/sdk/go/vault/saml/authBackend.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages a SAML Auth mount in a Vault server. See the [Vault @@ -303,12 +302,6 @@ func (i *AuthBackend) ToAuthBackendOutputWithContext(ctx context.Context) AuthBa return pulumi.ToOutputWithContext(ctx, i).(AuthBackendOutput) } -func (i *AuthBackend) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: i.ToAuthBackendOutputWithContext(ctx).OutputState, - } -} - // AuthBackendArrayInput is an input type that accepts AuthBackendArray and AuthBackendArrayOutput values. // You can construct a concrete instance of `AuthBackendArrayInput` via: // @@ -334,12 +327,6 @@ func (i AuthBackendArray) ToAuthBackendArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendArrayOutput) } -func (i AuthBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: i.ToAuthBackendArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendMapInput is an input type that accepts AuthBackendMap and AuthBackendMapOutput values. // You can construct a concrete instance of `AuthBackendMapInput` via: // @@ -365,12 +352,6 @@ func (i AuthBackendMap) ToAuthBackendMapOutputWithContext(ctx context.Context) A return pulumi.ToOutputWithContext(ctx, i).(AuthBackendMapOutput) } -func (i AuthBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: i.ToAuthBackendMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendOutput struct{ *pulumi.OutputState } func (AuthBackendOutput) ElementType() reflect.Type { @@ -385,12 +366,6 @@ func (o AuthBackendOutput) ToAuthBackendOutputWithContext(ctx context.Context) A return o } -func (o AuthBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackend] { - return pulumix.Output[*AuthBackend]{ - OutputState: o.OutputState, - } -} - // The well-formatted URLs of your Assertion Consumer Service (ACS) // that should receive a response from the identity provider. func (o AuthBackendOutput) AcsUrls() pulumi.StringArrayOutput { @@ -471,12 +446,6 @@ func (o AuthBackendArrayOutput) ToAuthBackendArrayOutputWithContext(ctx context. return o } -func (o AuthBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackend] { - return pulumix.Output[[]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendArrayOutput) Index(i pulumi.IntInput) AuthBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].([]*AuthBackend)[vs[1].(int)] @@ -497,12 +466,6 @@ func (o AuthBackendMapOutput) ToAuthBackendMapOutputWithContext(ctx context.Cont return o } -func (o AuthBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackend] { - return pulumix.Output[map[string]*AuthBackend]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendMapOutput) MapIndex(k pulumi.StringInput) AuthBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackend { return vs[0].(map[string]*AuthBackend)[vs[1].(string)] diff --git a/sdk/go/vault/saml/authBackendRole.go b/sdk/go/vault/saml/authBackendRole.go index 660524f30..57325198e 100644 --- a/sdk/go/vault/saml/authBackendRole.go +++ b/sdk/go/vault/saml/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages an SAML auth backend role in a Vault server. See the [Vault @@ -437,12 +436,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -468,12 +461,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -499,12 +486,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -519,12 +500,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - // Mapping of attribute names to values that are expected to // exist in the SAML assertion. func (o AuthBackendRoleOutput) BoundAttributes() pulumi.MapOutput { @@ -647,12 +622,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -673,12 +642,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/ssh/pulumiTypes.go b/sdk/go/vault/ssh/pulumiTypes.go index 5f0e75002..3dfe8caed 100644 --- a/sdk/go/vault/ssh/pulumiTypes.go +++ b/sdk/go/vault/ssh/pulumiTypes.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) var _ = internal.GetEnvOrDefault @@ -95,12 +94,6 @@ func (i SecretBackendRoleAllowedUserKeyConfigArgs) ToSecretBackendRoleAllowedUse return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleAllowedUserKeyConfigOutput) } -func (i SecretBackendRoleAllowedUserKeyConfigArgs) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRoleAllowedUserKeyConfig] { - return pulumix.Output[SecretBackendRoleAllowedUserKeyConfig]{ - OutputState: i.ToSecretBackendRoleAllowedUserKeyConfigOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleAllowedUserKeyConfigArrayInput is an input type that accepts SecretBackendRoleAllowedUserKeyConfigArray and SecretBackendRoleAllowedUserKeyConfigArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleAllowedUserKeyConfigArrayInput` via: // @@ -126,12 +119,6 @@ func (i SecretBackendRoleAllowedUserKeyConfigArray) ToSecretBackendRoleAllowedUs return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleAllowedUserKeyConfigArrayOutput) } -func (i SecretBackendRoleAllowedUserKeyConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRoleAllowedUserKeyConfig] { - return pulumix.Output[[]SecretBackendRoleAllowedUserKeyConfig]{ - OutputState: i.ToSecretBackendRoleAllowedUserKeyConfigArrayOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleAllowedUserKeyConfigOutput struct{ *pulumi.OutputState } func (SecretBackendRoleAllowedUserKeyConfigOutput) ElementType() reflect.Type { @@ -146,12 +133,6 @@ func (o SecretBackendRoleAllowedUserKeyConfigOutput) ToSecretBackendRoleAllowedU return o } -func (o SecretBackendRoleAllowedUserKeyConfigOutput) ToOutput(ctx context.Context) pulumix.Output[SecretBackendRoleAllowedUserKeyConfig] { - return pulumix.Output[SecretBackendRoleAllowedUserKeyConfig]{ - OutputState: o.OutputState, - } -} - // A list of allowed key lengths as integers. // For key types that do not support setting the length a value of `[0]` should be used. // Setting multiple lengths is only supported on Vault 1.10+. For prior releases `length` @@ -201,12 +182,6 @@ func (o SecretBackendRoleAllowedUserKeyConfigArrayOutput) ToSecretBackendRoleAll return o } -func (o SecretBackendRoleAllowedUserKeyConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]SecretBackendRoleAllowedUserKeyConfig] { - return pulumix.Output[[]SecretBackendRoleAllowedUserKeyConfig]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleAllowedUserKeyConfigArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleAllowedUserKeyConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) SecretBackendRoleAllowedUserKeyConfig { return vs[0].([]SecretBackendRoleAllowedUserKeyConfig)[vs[1].(int)] diff --git a/sdk/go/vault/ssh/secretBackendCa.go b/sdk/go/vault/ssh/secretBackendCa.go index 6a5c9f95c..f99d251f6 100644 --- a/sdk/go/vault/ssh/secretBackendCa.go +++ b/sdk/go/vault/ssh/secretBackendCa.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage CA information in an SSH secret backend @@ -203,12 +202,6 @@ func (i *SecretBackendCa) ToSecretBackendCaOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCaOutput) } -func (i *SecretBackendCa) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendCa] { - return pulumix.Output[*SecretBackendCa]{ - OutputState: i.ToSecretBackendCaOutputWithContext(ctx).OutputState, - } -} - // SecretBackendCaArrayInput is an input type that accepts SecretBackendCaArray and SecretBackendCaArrayOutput values. // You can construct a concrete instance of `SecretBackendCaArrayInput` via: // @@ -234,12 +227,6 @@ func (i SecretBackendCaArray) ToSecretBackendCaArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCaArrayOutput) } -func (i SecretBackendCaArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendCa] { - return pulumix.Output[[]*SecretBackendCa]{ - OutputState: i.ToSecretBackendCaArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendCaMapInput is an input type that accepts SecretBackendCaMap and SecretBackendCaMapOutput values. // You can construct a concrete instance of `SecretBackendCaMapInput` via: // @@ -265,12 +252,6 @@ func (i SecretBackendCaMap) ToSecretBackendCaMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendCaMapOutput) } -func (i SecretBackendCaMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendCa] { - return pulumix.Output[map[string]*SecretBackendCa]{ - OutputState: i.ToSecretBackendCaMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendCaOutput struct{ *pulumi.OutputState } func (SecretBackendCaOutput) ElementType() reflect.Type { @@ -285,12 +266,6 @@ func (o SecretBackendCaOutput) ToSecretBackendCaOutputWithContext(ctx context.Co return o } -func (o SecretBackendCaOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendCa] { - return pulumix.Output[*SecretBackendCa]{ - OutputState: o.OutputState, - } -} - // The path where the SSH secret backend is mounted. Defaults to 'ssh' func (o SecretBackendCaOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v *SecretBackendCa) pulumi.StringPtrOutput { return v.Backend }).(pulumi.StringPtrOutput) @@ -333,12 +308,6 @@ func (o SecretBackendCaArrayOutput) ToSecretBackendCaArrayOutputWithContext(ctx return o } -func (o SecretBackendCaArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendCa] { - return pulumix.Output[[]*SecretBackendCa]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendCaArrayOutput) Index(i pulumi.IntInput) SecretBackendCaOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendCa { return vs[0].([]*SecretBackendCa)[vs[1].(int)] @@ -359,12 +328,6 @@ func (o SecretBackendCaMapOutput) ToSecretBackendCaMapOutputWithContext(ctx cont return o } -func (o SecretBackendCaMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendCa] { - return pulumix.Output[map[string]*SecretBackendCa]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendCaMapOutput) MapIndex(k pulumi.StringInput) SecretBackendCaOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendCa { return vs[0].(map[string]*SecretBackendCa)[vs[1].(string)] diff --git a/sdk/go/vault/ssh/secretBackendRole.go b/sdk/go/vault/ssh/secretBackendRole.go index 16b8ed698..eda365e0c 100644 --- a/sdk/go/vault/ssh/secretBackendRole.go +++ b/sdk/go/vault/ssh/secretBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Provides a resource to manage roles in an SSH secret backend @@ -475,12 +474,6 @@ func (i *SecretBackendRole) ToSecretBackendRoleOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleOutput) } -func (i *SecretBackendRole) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleArrayInput is an input type that accepts SecretBackendRoleArray and SecretBackendRoleArrayOutput values. // You can construct a concrete instance of `SecretBackendRoleArrayInput` via: // @@ -506,12 +499,6 @@ func (i SecretBackendRoleArray) ToSecretBackendRoleArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleArrayOutput) } -func (i SecretBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendRoleMapInput is an input type that accepts SecretBackendRoleMap and SecretBackendRoleMapOutput values. // You can construct a concrete instance of `SecretBackendRoleMapInput` via: // @@ -537,12 +524,6 @@ func (i SecretBackendRoleMap) ToSecretBackendRoleMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendRoleMapOutput) } -func (i SecretBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: i.ToSecretBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendRoleOutput struct{ *pulumi.OutputState } func (SecretBackendRoleOutput) ElementType() reflect.Type { @@ -557,12 +538,6 @@ func (o SecretBackendRoleOutput) ToSecretBackendRoleOutputWithContext(ctx contex return o } -func (o SecretBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendRole] { - return pulumix.Output[*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - // When supplied, this value specifies a signing algorithm for the key. Possible values: ssh-rsa, rsa-sha2-256, rsa-sha2-512. func (o SecretBackendRoleOutput) AlgorithmSigner() pulumi.StringOutput { return o.ApplyT(func(v *SecretBackendRole) pulumi.StringOutput { return v.AlgorithmSigner }).(pulumi.StringOutput) @@ -725,12 +700,6 @@ func (o SecretBackendRoleArrayOutput) ToSecretBackendRoleArrayOutputWithContext( return o } -func (o SecretBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendRole] { - return pulumix.Output[[]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleArrayOutput) Index(i pulumi.IntInput) SecretBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].([]*SecretBackendRole)[vs[1].(int)] @@ -751,12 +720,6 @@ func (o SecretBackendRoleMapOutput) ToSecretBackendRoleMapOutputWithContext(ctx return o } -func (o SecretBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendRole] { - return pulumix.Output[map[string]*SecretBackendRole]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendRoleMapOutput) MapIndex(k pulumi.StringInput) SecretBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendRole { return vs[0].(map[string]*SecretBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/terraformcloud/secretBackend.go b/sdk/go/vault/terraformcloud/secretBackend.go index b1452cdeb..48838542c 100644 --- a/sdk/go/vault/terraformcloud/secretBackend.go +++ b/sdk/go/vault/terraformcloud/secretBackend.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -245,12 +244,6 @@ func (i *SecretBackend) ToSecretBackendOutputWithContext(ctx context.Context) Se return pulumi.ToOutputWithContext(ctx, i).(SecretBackendOutput) } -func (i *SecretBackend) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: i.ToSecretBackendOutputWithContext(ctx).OutputState, - } -} - // SecretBackendArrayInput is an input type that accepts SecretBackendArray and SecretBackendArrayOutput values. // You can construct a concrete instance of `SecretBackendArrayInput` via: // @@ -276,12 +269,6 @@ func (i SecretBackendArray) ToSecretBackendArrayOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(SecretBackendArrayOutput) } -func (i SecretBackendArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: i.ToSecretBackendArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendMapInput is an input type that accepts SecretBackendMap and SecretBackendMapOutput values. // You can construct a concrete instance of `SecretBackendMapInput` via: // @@ -307,12 +294,6 @@ func (i SecretBackendMap) ToSecretBackendMapOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretBackendMapOutput) } -func (i SecretBackendMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: i.ToSecretBackendMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendOutput struct{ *pulumi.OutputState } func (SecretBackendOutput) ElementType() reflect.Type { @@ -327,12 +308,6 @@ func (o SecretBackendOutput) ToSecretBackendOutputWithContext(ctx context.Contex return o } -func (o SecretBackendOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackend] { - return pulumix.Output[*SecretBackend]{ - OutputState: o.OutputState, - } -} - // Specifies the address of the Terraform Cloud instance, provided as "host:port" like "127.0.0.1:8500". func (o SecretBackendOutput) Address() pulumi.StringPtrOutput { return o.ApplyT(func(v *SecretBackend) pulumi.StringPtrOutput { return v.Address }).(pulumi.StringPtrOutput) @@ -397,12 +372,6 @@ func (o SecretBackendArrayOutput) ToSecretBackendArrayOutputWithContext(ctx cont return o } -func (o SecretBackendArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackend] { - return pulumix.Output[[]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendArrayOutput) Index(i pulumi.IntInput) SecretBackendOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].([]*SecretBackend)[vs[1].(int)] @@ -423,12 +392,6 @@ func (o SecretBackendMapOutput) ToSecretBackendMapOutputWithContext(ctx context. return o } -func (o SecretBackendMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackend] { - return pulumix.Output[map[string]*SecretBackend]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendMapOutput) MapIndex(k pulumi.StringInput) SecretBackendOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackend { return vs[0].(map[string]*SecretBackend)[vs[1].(string)] diff --git a/sdk/go/vault/terraformcloud/secretCreds.go b/sdk/go/vault/terraformcloud/secretCreds.go index 7d6c019db..c48c5dc00 100644 --- a/sdk/go/vault/terraformcloud/secretCreds.go +++ b/sdk/go/vault/terraformcloud/secretCreds.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -224,12 +223,6 @@ func (i *SecretCreds) ToSecretCredsOutputWithContext(ctx context.Context) Secret return pulumi.ToOutputWithContext(ctx, i).(SecretCredsOutput) } -func (i *SecretCreds) ToOutput(ctx context.Context) pulumix.Output[*SecretCreds] { - return pulumix.Output[*SecretCreds]{ - OutputState: i.ToSecretCredsOutputWithContext(ctx).OutputState, - } -} - // SecretCredsArrayInput is an input type that accepts SecretCredsArray and SecretCredsArrayOutput values. // You can construct a concrete instance of `SecretCredsArrayInput` via: // @@ -255,12 +248,6 @@ func (i SecretCredsArray) ToSecretCredsArrayOutputWithContext(ctx context.Contex return pulumi.ToOutputWithContext(ctx, i).(SecretCredsArrayOutput) } -func (i SecretCredsArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretCreds] { - return pulumix.Output[[]*SecretCreds]{ - OutputState: i.ToSecretCredsArrayOutputWithContext(ctx).OutputState, - } -} - // SecretCredsMapInput is an input type that accepts SecretCredsMap and SecretCredsMapOutput values. // You can construct a concrete instance of `SecretCredsMapInput` via: // @@ -286,12 +273,6 @@ func (i SecretCredsMap) ToSecretCredsMapOutputWithContext(ctx context.Context) S return pulumi.ToOutputWithContext(ctx, i).(SecretCredsMapOutput) } -func (i SecretCredsMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretCreds] { - return pulumix.Output[map[string]*SecretCreds]{ - OutputState: i.ToSecretCredsMapOutputWithContext(ctx).OutputState, - } -} - type SecretCredsOutput struct{ *pulumi.OutputState } func (SecretCredsOutput) ElementType() reflect.Type { @@ -306,12 +287,6 @@ func (o SecretCredsOutput) ToSecretCredsOutputWithContext(ctx context.Context) S return o } -func (o SecretCredsOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretCreds] { - return pulumix.Output[*SecretCreds]{ - OutputState: o.OutputState, - } -} - // Terraform Cloud secret backend to generate tokens from func (o SecretCredsOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretCreds) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -372,12 +347,6 @@ func (o SecretCredsArrayOutput) ToSecretCredsArrayOutputWithContext(ctx context. return o } -func (o SecretCredsArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretCreds] { - return pulumix.Output[[]*SecretCreds]{ - OutputState: o.OutputState, - } -} - func (o SecretCredsArrayOutput) Index(i pulumi.IntInput) SecretCredsOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretCreds { return vs[0].([]*SecretCreds)[vs[1].(int)] @@ -398,12 +367,6 @@ func (o SecretCredsMapOutput) ToSecretCredsMapOutputWithContext(ctx context.Cont return o } -func (o SecretCredsMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretCreds] { - return pulumix.Output[map[string]*SecretCreds]{ - OutputState: o.OutputState, - } -} - func (o SecretCredsMapOutput) MapIndex(k pulumi.StringInput) SecretCredsOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretCreds { return vs[0].(map[string]*SecretCreds)[vs[1].(string)] diff --git a/sdk/go/vault/terraformcloud/secretRole.go b/sdk/go/vault/terraformcloud/secretRole.go index 372b803fe..4f12e5178 100644 --- a/sdk/go/vault/terraformcloud/secretRole.go +++ b/sdk/go/vault/terraformcloud/secretRole.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -226,12 +225,6 @@ func (i *SecretRole) ToSecretRoleOutputWithContext(ctx context.Context) SecretRo return pulumi.ToOutputWithContext(ctx, i).(SecretRoleOutput) } -func (i *SecretRole) ToOutput(ctx context.Context) pulumix.Output[*SecretRole] { - return pulumix.Output[*SecretRole]{ - OutputState: i.ToSecretRoleOutputWithContext(ctx).OutputState, - } -} - // SecretRoleArrayInput is an input type that accepts SecretRoleArray and SecretRoleArrayOutput values. // You can construct a concrete instance of `SecretRoleArrayInput` via: // @@ -257,12 +250,6 @@ func (i SecretRoleArray) ToSecretRoleArrayOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(SecretRoleArrayOutput) } -func (i SecretRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRole] { - return pulumix.Output[[]*SecretRole]{ - OutputState: i.ToSecretRoleArrayOutputWithContext(ctx).OutputState, - } -} - // SecretRoleMapInput is an input type that accepts SecretRoleMap and SecretRoleMapOutput values. // You can construct a concrete instance of `SecretRoleMapInput` via: // @@ -288,12 +275,6 @@ func (i SecretRoleMap) ToSecretRoleMapOutputWithContext(ctx context.Context) Sec return pulumi.ToOutputWithContext(ctx, i).(SecretRoleMapOutput) } -func (i SecretRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRole] { - return pulumix.Output[map[string]*SecretRole]{ - OutputState: i.ToSecretRoleMapOutputWithContext(ctx).OutputState, - } -} - type SecretRoleOutput struct{ *pulumi.OutputState } func (SecretRoleOutput) ElementType() reflect.Type { @@ -308,12 +289,6 @@ func (o SecretRoleOutput) ToSecretRoleOutputWithContext(ctx context.Context) Sec return o } -func (o SecretRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretRole] { - return pulumix.Output[*SecretRole]{ - OutputState: o.OutputState, - } -} - // The path of the Terraform Cloud Secret Backend the role belongs to. func (o SecretRoleOutput) Backend() pulumi.StringPtrOutput { return o.ApplyT(func(v *SecretRole) pulumi.StringPtrOutput { return v.Backend }).(pulumi.StringPtrOutput) @@ -371,12 +346,6 @@ func (o SecretRoleArrayOutput) ToSecretRoleArrayOutputWithContext(ctx context.Co return o } -func (o SecretRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretRole] { - return pulumix.Output[[]*SecretRole]{ - OutputState: o.OutputState, - } -} - func (o SecretRoleArrayOutput) Index(i pulumi.IntInput) SecretRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretRole { return vs[0].([]*SecretRole)[vs[1].(int)] @@ -397,12 +366,6 @@ func (o SecretRoleMapOutput) ToSecretRoleMapOutputWithContext(ctx context.Contex return o } -func (o SecretRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretRole] { - return pulumix.Output[map[string]*SecretRole]{ - OutputState: o.OutputState, - } -} - func (o SecretRoleMapOutput) MapIndex(k pulumi.StringInput) SecretRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretRole { return vs[0].(map[string]*SecretRole)[vs[1].(string)] diff --git a/sdk/go/vault/token.go b/sdk/go/vault/token.go index d4652c855..181f834a0 100644 --- a/sdk/go/vault/token.go +++ b/sdk/go/vault/token.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // ## Example Usage @@ -333,12 +332,6 @@ func (i *Token) ToTokenOutputWithContext(ctx context.Context) TokenOutput { return pulumi.ToOutputWithContext(ctx, i).(TokenOutput) } -func (i *Token) ToOutput(ctx context.Context) pulumix.Output[*Token] { - return pulumix.Output[*Token]{ - OutputState: i.ToTokenOutputWithContext(ctx).OutputState, - } -} - // TokenArrayInput is an input type that accepts TokenArray and TokenArrayOutput values. // You can construct a concrete instance of `TokenArrayInput` via: // @@ -364,12 +357,6 @@ func (i TokenArray) ToTokenArrayOutputWithContext(ctx context.Context) TokenArra return pulumi.ToOutputWithContext(ctx, i).(TokenArrayOutput) } -func (i TokenArray) ToOutput(ctx context.Context) pulumix.Output[[]*Token] { - return pulumix.Output[[]*Token]{ - OutputState: i.ToTokenArrayOutputWithContext(ctx).OutputState, - } -} - // TokenMapInput is an input type that accepts TokenMap and TokenMapOutput values. // You can construct a concrete instance of `TokenMapInput` via: // @@ -395,12 +382,6 @@ func (i TokenMap) ToTokenMapOutputWithContext(ctx context.Context) TokenMapOutpu return pulumi.ToOutputWithContext(ctx, i).(TokenMapOutput) } -func (i TokenMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Token] { - return pulumix.Output[map[string]*Token]{ - OutputState: i.ToTokenMapOutputWithContext(ctx).OutputState, - } -} - type TokenOutput struct{ *pulumi.OutputState } func (TokenOutput) ElementType() reflect.Type { @@ -415,12 +396,6 @@ func (o TokenOutput) ToTokenOutputWithContext(ctx context.Context) TokenOutput { return o } -func (o TokenOutput) ToOutput(ctx context.Context) pulumix.Output[*Token] { - return pulumix.Output[*Token]{ - OutputState: o.OutputState, - } -} - // String containing the client token if stored in present file func (o TokenOutput) ClientToken() pulumi.StringOutput { return o.ApplyT(func(v *Token) pulumi.StringOutput { return v.ClientToken }).(pulumi.StringOutput) @@ -538,12 +513,6 @@ func (o TokenArrayOutput) ToTokenArrayOutputWithContext(ctx context.Context) Tok return o } -func (o TokenArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Token] { - return pulumix.Output[[]*Token]{ - OutputState: o.OutputState, - } -} - func (o TokenArrayOutput) Index(i pulumi.IntInput) TokenOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Token { return vs[0].([]*Token)[vs[1].(int)] @@ -564,12 +533,6 @@ func (o TokenMapOutput) ToTokenMapOutputWithContext(ctx context.Context) TokenMa return o } -func (o TokenMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Token] { - return pulumix.Output[map[string]*Token]{ - OutputState: o.OutputState, - } -} - func (o TokenMapOutput) MapIndex(k pulumi.StringInput) TokenOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Token { return vs[0].(map[string]*Token)[vs[1].(string)] diff --git a/sdk/go/vault/tokenauth/authBackendRole.go b/sdk/go/vault/tokenauth/authBackendRole.go index 26b32f590..084513294 100644 --- a/sdk/go/vault/tokenauth/authBackendRole.go +++ b/sdk/go/vault/tokenauth/authBackendRole.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Manages Token auth backend role in a Vault server. See the [Vault @@ -439,12 +438,6 @@ func (i *AuthBackendRole) ToAuthBackendRoleOutputWithContext(ctx context.Context return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleOutput) } -func (i *AuthBackendRole) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleArrayInput is an input type that accepts AuthBackendRoleArray and AuthBackendRoleArrayOutput values. // You can construct a concrete instance of `AuthBackendRoleArrayInput` via: // @@ -470,12 +463,6 @@ func (i AuthBackendRoleArray) ToAuthBackendRoleArrayOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleArrayOutput) } -func (i AuthBackendRoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleArrayOutputWithContext(ctx).OutputState, - } -} - // AuthBackendRoleMapInput is an input type that accepts AuthBackendRoleMap and AuthBackendRoleMapOutput values. // You can construct a concrete instance of `AuthBackendRoleMapInput` via: // @@ -501,12 +488,6 @@ func (i AuthBackendRoleMap) ToAuthBackendRoleMapOutputWithContext(ctx context.Co return pulumi.ToOutputWithContext(ctx, i).(AuthBackendRoleMapOutput) } -func (i AuthBackendRoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: i.ToAuthBackendRoleMapOutputWithContext(ctx).OutputState, - } -} - type AuthBackendRoleOutput struct{ *pulumi.OutputState } func (AuthBackendRoleOutput) ElementType() reflect.Type { @@ -521,12 +502,6 @@ func (o AuthBackendRoleOutput) ToAuthBackendRoleOutputWithContext(ctx context.Co return o } -func (o AuthBackendRoleOutput) ToOutput(ctx context.Context) pulumix.Output[*AuthBackendRole] { - return pulumix.Output[*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - // List of allowed entity aliases. func (o AuthBackendRoleOutput) AllowedEntityAliases() pulumi.StringArrayOutput { return o.ApplyT(func(v *AuthBackendRole) pulumi.StringArrayOutput { return v.AllowedEntityAliases }).(pulumi.StringArrayOutput) @@ -657,12 +632,6 @@ func (o AuthBackendRoleArrayOutput) ToAuthBackendRoleArrayOutputWithContext(ctx return o } -func (o AuthBackendRoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*AuthBackendRole] { - return pulumix.Output[[]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleArrayOutput) Index(i pulumi.IntInput) AuthBackendRoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].([]*AuthBackendRole)[vs[1].(int)] @@ -683,12 +652,6 @@ func (o AuthBackendRoleMapOutput) ToAuthBackendRoleMapOutputWithContext(ctx cont return o } -func (o AuthBackendRoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*AuthBackendRole] { - return pulumix.Output[map[string]*AuthBackendRole]{ - OutputState: o.OutputState, - } -} - func (o AuthBackendRoleMapOutput) MapIndex(k pulumi.StringInput) AuthBackendRoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *AuthBackendRole { return vs[0].(map[string]*AuthBackendRole)[vs[1].(string)] diff --git a/sdk/go/vault/transform/alphabet.go b/sdk/go/vault/transform/alphabet.go index 66e4af5a2..7a9e5ed27 100644 --- a/sdk/go/vault/transform/alphabet.go +++ b/sdk/go/vault/transform/alphabet.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This resource supports the "/transform/alphabet/{name}" Vault endpoint. @@ -183,12 +182,6 @@ func (i *Alphabet) ToAlphabetOutputWithContext(ctx context.Context) AlphabetOutp return pulumi.ToOutputWithContext(ctx, i).(AlphabetOutput) } -func (i *Alphabet) ToOutput(ctx context.Context) pulumix.Output[*Alphabet] { - return pulumix.Output[*Alphabet]{ - OutputState: i.ToAlphabetOutputWithContext(ctx).OutputState, - } -} - // AlphabetArrayInput is an input type that accepts AlphabetArray and AlphabetArrayOutput values. // You can construct a concrete instance of `AlphabetArrayInput` via: // @@ -214,12 +207,6 @@ func (i AlphabetArray) ToAlphabetArrayOutputWithContext(ctx context.Context) Alp return pulumi.ToOutputWithContext(ctx, i).(AlphabetArrayOutput) } -func (i AlphabetArray) ToOutput(ctx context.Context) pulumix.Output[[]*Alphabet] { - return pulumix.Output[[]*Alphabet]{ - OutputState: i.ToAlphabetArrayOutputWithContext(ctx).OutputState, - } -} - // AlphabetMapInput is an input type that accepts AlphabetMap and AlphabetMapOutput values. // You can construct a concrete instance of `AlphabetMapInput` via: // @@ -245,12 +232,6 @@ func (i AlphabetMap) ToAlphabetMapOutputWithContext(ctx context.Context) Alphabe return pulumi.ToOutputWithContext(ctx, i).(AlphabetMapOutput) } -func (i AlphabetMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Alphabet] { - return pulumix.Output[map[string]*Alphabet]{ - OutputState: i.ToAlphabetMapOutputWithContext(ctx).OutputState, - } -} - type AlphabetOutput struct{ *pulumi.OutputState } func (AlphabetOutput) ElementType() reflect.Type { @@ -265,12 +246,6 @@ func (o AlphabetOutput) ToAlphabetOutputWithContext(ctx context.Context) Alphabe return o } -func (o AlphabetOutput) ToOutput(ctx context.Context) pulumix.Output[*Alphabet] { - return pulumix.Output[*Alphabet]{ - OutputState: o.OutputState, - } -} - // A string of characters that contains the alphabet set. func (o AlphabetOutput) Alphabet() pulumi.StringPtrOutput { return o.ApplyT(func(v *Alphabet) pulumi.StringPtrOutput { return v.Alphabet }).(pulumi.StringPtrOutput) @@ -308,12 +283,6 @@ func (o AlphabetArrayOutput) ToAlphabetArrayOutputWithContext(ctx context.Contex return o } -func (o AlphabetArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Alphabet] { - return pulumix.Output[[]*Alphabet]{ - OutputState: o.OutputState, - } -} - func (o AlphabetArrayOutput) Index(i pulumi.IntInput) AlphabetOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Alphabet { return vs[0].([]*Alphabet)[vs[1].(int)] @@ -334,12 +303,6 @@ func (o AlphabetMapOutput) ToAlphabetMapOutputWithContext(ctx context.Context) A return o } -func (o AlphabetMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Alphabet] { - return pulumix.Output[map[string]*Alphabet]{ - OutputState: o.OutputState, - } -} - func (o AlphabetMapOutput) MapIndex(k pulumi.StringInput) AlphabetOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Alphabet { return vs[0].(map[string]*Alphabet)[vs[1].(string)] diff --git a/sdk/go/vault/transform/getDecode.go b/sdk/go/vault/transform/getDecode.go index b97f333b5..dfaea289a 100644 --- a/sdk/go/vault/transform/getDecode.go +++ b/sdk/go/vault/transform/getDecode.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This data source supports the "/transform/decode/{role_name}" Vault endpoint. @@ -176,12 +175,6 @@ func (o GetDecodeResultOutput) ToGetDecodeResultOutputWithContext(ctx context.Co return o } -func (o GetDecodeResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDecodeResult] { - return pulumix.Output[GetDecodeResult]{ - OutputState: o.OutputState, - } -} - func (o GetDecodeResultOutput) BatchInputs() pulumi.MapArrayOutput { return o.ApplyT(func(v GetDecodeResult) []map[string]interface{} { return v.BatchInputs }).(pulumi.MapArrayOutput) } diff --git a/sdk/go/vault/transform/getEncode.go b/sdk/go/vault/transform/getEncode.go index 134880043..1a4426479 100644 --- a/sdk/go/vault/transform/getEncode.go +++ b/sdk/go/vault/transform/getEncode.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This data source supports the "/transform/encode/{role_name}" Vault endpoint. @@ -180,12 +179,6 @@ func (o GetEncodeResultOutput) ToGetEncodeResultOutputWithContext(ctx context.Co return o } -func (o GetEncodeResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetEncodeResult] { - return pulumix.Output[GetEncodeResult]{ - OutputState: o.OutputState, - } -} - func (o GetEncodeResultOutput) BatchInputs() pulumi.MapArrayOutput { return o.ApplyT(func(v GetEncodeResult) []map[string]interface{} { return v.BatchInputs }).(pulumi.MapArrayOutput) } diff --git a/sdk/go/vault/transform/role.go b/sdk/go/vault/transform/role.go index 25a853304..1f0013c81 100644 --- a/sdk/go/vault/transform/role.go +++ b/sdk/go/vault/transform/role.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This resource supports the "/transform/role/{name}" Vault endpoint. @@ -186,12 +185,6 @@ func (i *Role) ToRoleOutputWithContext(ctx context.Context) RoleOutput { return pulumi.ToOutputWithContext(ctx, i).(RoleOutput) } -func (i *Role) ToOutput(ctx context.Context) pulumix.Output[*Role] { - return pulumix.Output[*Role]{ - OutputState: i.ToRoleOutputWithContext(ctx).OutputState, - } -} - // RoleArrayInput is an input type that accepts RoleArray and RoleArrayOutput values. // You can construct a concrete instance of `RoleArrayInput` via: // @@ -217,12 +210,6 @@ func (i RoleArray) ToRoleArrayOutputWithContext(ctx context.Context) RoleArrayOu return pulumi.ToOutputWithContext(ctx, i).(RoleArrayOutput) } -func (i RoleArray) ToOutput(ctx context.Context) pulumix.Output[[]*Role] { - return pulumix.Output[[]*Role]{ - OutputState: i.ToRoleArrayOutputWithContext(ctx).OutputState, - } -} - // RoleMapInput is an input type that accepts RoleMap and RoleMapOutput values. // You can construct a concrete instance of `RoleMapInput` via: // @@ -248,12 +235,6 @@ func (i RoleMap) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOutput { return pulumi.ToOutputWithContext(ctx, i).(RoleMapOutput) } -func (i RoleMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Role] { - return pulumix.Output[map[string]*Role]{ - OutputState: i.ToRoleMapOutputWithContext(ctx).OutputState, - } -} - type RoleOutput struct{ *pulumi.OutputState } func (RoleOutput) ElementType() reflect.Type { @@ -268,12 +249,6 @@ func (o RoleOutput) ToRoleOutputWithContext(ctx context.Context) RoleOutput { return o } -func (o RoleOutput) ToOutput(ctx context.Context) pulumix.Output[*Role] { - return pulumix.Output[*Role]{ - OutputState: o.OutputState, - } -} - // The name of the role. func (o RoleOutput) Name() pulumi.StringOutput { return o.ApplyT(func(v *Role) pulumi.StringOutput { return v.Name }).(pulumi.StringOutput) @@ -311,12 +286,6 @@ func (o RoleArrayOutput) ToRoleArrayOutputWithContext(ctx context.Context) RoleA return o } -func (o RoleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Role] { - return pulumix.Output[[]*Role]{ - OutputState: o.OutputState, - } -} - func (o RoleArrayOutput) Index(i pulumi.IntInput) RoleOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Role { return vs[0].([]*Role)[vs[1].(int)] @@ -337,12 +306,6 @@ func (o RoleMapOutput) ToRoleMapOutputWithContext(ctx context.Context) RoleMapOu return o } -func (o RoleMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Role] { - return pulumix.Output[map[string]*Role]{ - OutputState: o.OutputState, - } -} - func (o RoleMapOutput) MapIndex(k pulumi.StringInput) RoleOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Role { return vs[0].(map[string]*Role)[vs[1].(string)] diff --git a/sdk/go/vault/transform/template.go b/sdk/go/vault/transform/template.go index 665d37dfd..5dec8ddcc 100644 --- a/sdk/go/vault/transform/template.go +++ b/sdk/go/vault/transform/template.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This resource supports the `/transform/template/{name}` Vault endpoint. @@ -257,12 +256,6 @@ func (i *Template) ToTemplateOutputWithContext(ctx context.Context) TemplateOutp return pulumi.ToOutputWithContext(ctx, i).(TemplateOutput) } -func (i *Template) ToOutput(ctx context.Context) pulumix.Output[*Template] { - return pulumix.Output[*Template]{ - OutputState: i.ToTemplateOutputWithContext(ctx).OutputState, - } -} - // TemplateArrayInput is an input type that accepts TemplateArray and TemplateArrayOutput values. // You can construct a concrete instance of `TemplateArrayInput` via: // @@ -288,12 +281,6 @@ func (i TemplateArray) ToTemplateArrayOutputWithContext(ctx context.Context) Tem return pulumi.ToOutputWithContext(ctx, i).(TemplateArrayOutput) } -func (i TemplateArray) ToOutput(ctx context.Context) pulumix.Output[[]*Template] { - return pulumix.Output[[]*Template]{ - OutputState: i.ToTemplateArrayOutputWithContext(ctx).OutputState, - } -} - // TemplateMapInput is an input type that accepts TemplateMap and TemplateMapOutput values. // You can construct a concrete instance of `TemplateMapInput` via: // @@ -319,12 +306,6 @@ func (i TemplateMap) ToTemplateMapOutputWithContext(ctx context.Context) Templat return pulumi.ToOutputWithContext(ctx, i).(TemplateMapOutput) } -func (i TemplateMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Template] { - return pulumix.Output[map[string]*Template]{ - OutputState: i.ToTemplateMapOutputWithContext(ctx).OutputState, - } -} - type TemplateOutput struct{ *pulumi.OutputState } func (TemplateOutput) ElementType() reflect.Type { @@ -339,12 +320,6 @@ func (o TemplateOutput) ToTemplateOutputWithContext(ctx context.Context) Templat return o } -func (o TemplateOutput) ToOutput(ctx context.Context) pulumix.Output[*Template] { - return pulumix.Output[*Template]{ - OutputState: o.OutputState, - } -} - // The alphabet to use for this template. This is only used during FPE transformations. func (o TemplateOutput) Alphabet() pulumi.StringPtrOutput { return o.ApplyT(func(v *Template) pulumi.StringPtrOutput { return v.Alphabet }).(pulumi.StringPtrOutput) @@ -404,12 +379,6 @@ func (o TemplateArrayOutput) ToTemplateArrayOutputWithContext(ctx context.Contex return o } -func (o TemplateArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Template] { - return pulumix.Output[[]*Template]{ - OutputState: o.OutputState, - } -} - func (o TemplateArrayOutput) Index(i pulumi.IntInput) TemplateOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Template { return vs[0].([]*Template)[vs[1].(int)] @@ -430,12 +399,6 @@ func (o TemplateMapOutput) ToTemplateMapOutputWithContext(ctx context.Context) T return o } -func (o TemplateMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Template] { - return pulumix.Output[map[string]*Template]{ - OutputState: o.OutputState, - } -} - func (o TemplateMapOutput) MapIndex(k pulumi.StringInput) TemplateOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Template { return vs[0].(map[string]*Template)[vs[1].(string)] diff --git a/sdk/go/vault/transform/transformation.go b/sdk/go/vault/transform/transformation.go index 4946b0a11..3b070dc1b 100644 --- a/sdk/go/vault/transform/transformation.go +++ b/sdk/go/vault/transform/transformation.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) type Transformation struct { @@ -215,12 +214,6 @@ func (i *Transformation) ToTransformationOutputWithContext(ctx context.Context) return pulumi.ToOutputWithContext(ctx, i).(TransformationOutput) } -func (i *Transformation) ToOutput(ctx context.Context) pulumix.Output[*Transformation] { - return pulumix.Output[*Transformation]{ - OutputState: i.ToTransformationOutputWithContext(ctx).OutputState, - } -} - // TransformationArrayInput is an input type that accepts TransformationArray and TransformationArrayOutput values. // You can construct a concrete instance of `TransformationArrayInput` via: // @@ -246,12 +239,6 @@ func (i TransformationArray) ToTransformationArrayOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(TransformationArrayOutput) } -func (i TransformationArray) ToOutput(ctx context.Context) pulumix.Output[[]*Transformation] { - return pulumix.Output[[]*Transformation]{ - OutputState: i.ToTransformationArrayOutputWithContext(ctx).OutputState, - } -} - // TransformationMapInput is an input type that accepts TransformationMap and TransformationMapOutput values. // You can construct a concrete instance of `TransformationMapInput` via: // @@ -277,12 +264,6 @@ func (i TransformationMap) ToTransformationMapOutputWithContext(ctx context.Cont return pulumi.ToOutputWithContext(ctx, i).(TransformationMapOutput) } -func (i TransformationMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Transformation] { - return pulumix.Output[map[string]*Transformation]{ - OutputState: i.ToTransformationMapOutputWithContext(ctx).OutputState, - } -} - type TransformationOutput struct{ *pulumi.OutputState } func (TransformationOutput) ElementType() reflect.Type { @@ -297,12 +278,6 @@ func (o TransformationOutput) ToTransformationOutputWithContext(ctx context.Cont return o } -func (o TransformationOutput) ToOutput(ctx context.Context) pulumix.Output[*Transformation] { - return pulumix.Output[*Transformation]{ - OutputState: o.OutputState, - } -} - // The set of roles allowed to perform this transformation. func (o TransformationOutput) AllowedRoles() pulumi.StringArrayOutput { return o.ApplyT(func(v *Transformation) pulumi.StringArrayOutput { return v.AllowedRoles }).(pulumi.StringArrayOutput) @@ -372,12 +347,6 @@ func (o TransformationArrayOutput) ToTransformationArrayOutputWithContext(ctx co return o } -func (o TransformationArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Transformation] { - return pulumix.Output[[]*Transformation]{ - OutputState: o.OutputState, - } -} - func (o TransformationArrayOutput) Index(i pulumi.IntInput) TransformationOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *Transformation { return vs[0].([]*Transformation)[vs[1].(int)] @@ -398,12 +367,6 @@ func (o TransformationMapOutput) ToTransformationMapOutputWithContext(ctx contex return o } -func (o TransformationMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Transformation] { - return pulumix.Output[map[string]*Transformation]{ - OutputState: o.OutputState, - } -} - func (o TransformationMapOutput) MapIndex(k pulumi.StringInput) TransformationOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *Transformation { return vs[0].(map[string]*Transformation)[vs[1].(string)] diff --git a/sdk/go/vault/transit/getDecrypt.go b/sdk/go/vault/transit/getDecrypt.go index 0961ff356..5e3563e16 100644 --- a/sdk/go/vault/transit/getDecrypt.go +++ b/sdk/go/vault/transit/getDecrypt.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This is a data source which can be used to decrypt ciphertext using a Vault Transit key. @@ -122,12 +121,6 @@ func (o GetDecryptResultOutput) ToGetDecryptResultOutputWithContext(ctx context. return o } -func (o GetDecryptResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetDecryptResult] { - return pulumix.Output[GetDecryptResult]{ - OutputState: o.OutputState, - } -} - func (o GetDecryptResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetDecryptResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/transit/getEncrypt.go b/sdk/go/vault/transit/getEncrypt.go index 464ffd462..d6103bdf4 100644 --- a/sdk/go/vault/transit/getEncrypt.go +++ b/sdk/go/vault/transit/getEncrypt.go @@ -9,7 +9,6 @@ import ( "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // This is a data source which can be used to encrypt plaintext using a Vault Transit key. @@ -99,12 +98,6 @@ func (o GetEncryptResultOutput) ToGetEncryptResultOutputWithContext(ctx context. return o } -func (o GetEncryptResultOutput) ToOutput(ctx context.Context) pulumix.Output[GetEncryptResult] { - return pulumix.Output[GetEncryptResult]{ - OutputState: o.OutputState, - } -} - func (o GetEncryptResultOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v GetEncryptResult) string { return v.Backend }).(pulumi.StringOutput) } diff --git a/sdk/go/vault/transit/secretBackendKey.go b/sdk/go/vault/transit/secretBackendKey.go index 74cd236ee..f630b112c 100644 --- a/sdk/go/vault/transit/secretBackendKey.go +++ b/sdk/go/vault/transit/secretBackendKey.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Creates an Encryption Keyring on a Transit Secret Backend for Vault. @@ -374,12 +373,6 @@ func (i *SecretBackendKey) ToSecretBackendKeyOutputWithContext(ctx context.Conte return pulumi.ToOutputWithContext(ctx, i).(SecretBackendKeyOutput) } -func (i *SecretBackendKey) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendKey] { - return pulumix.Output[*SecretBackendKey]{ - OutputState: i.ToSecretBackendKeyOutputWithContext(ctx).OutputState, - } -} - // SecretBackendKeyArrayInput is an input type that accepts SecretBackendKeyArray and SecretBackendKeyArrayOutput values. // You can construct a concrete instance of `SecretBackendKeyArrayInput` via: // @@ -405,12 +398,6 @@ func (i SecretBackendKeyArray) ToSecretBackendKeyArrayOutputWithContext(ctx cont return pulumi.ToOutputWithContext(ctx, i).(SecretBackendKeyArrayOutput) } -func (i SecretBackendKeyArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendKey] { - return pulumix.Output[[]*SecretBackendKey]{ - OutputState: i.ToSecretBackendKeyArrayOutputWithContext(ctx).OutputState, - } -} - // SecretBackendKeyMapInput is an input type that accepts SecretBackendKeyMap and SecretBackendKeyMapOutput values. // You can construct a concrete instance of `SecretBackendKeyMapInput` via: // @@ -436,12 +423,6 @@ func (i SecretBackendKeyMap) ToSecretBackendKeyMapOutputWithContext(ctx context. return pulumi.ToOutputWithContext(ctx, i).(SecretBackendKeyMapOutput) } -func (i SecretBackendKeyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendKey] { - return pulumix.Output[map[string]*SecretBackendKey]{ - OutputState: i.ToSecretBackendKeyMapOutputWithContext(ctx).OutputState, - } -} - type SecretBackendKeyOutput struct{ *pulumi.OutputState } func (SecretBackendKeyOutput) ElementType() reflect.Type { @@ -456,12 +437,6 @@ func (o SecretBackendKeyOutput) ToSecretBackendKeyOutputWithContext(ctx context. return o } -func (o SecretBackendKeyOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretBackendKey] { - return pulumix.Output[*SecretBackendKey]{ - OutputState: o.OutputState, - } -} - // Enables taking backup of entire keyring in the plaintext format. Once set, this cannot be disabled. // * Refer to Vault API documentation on key backups for more information: [Backup Key](https://www.vaultproject.io/api-docs/secret/transit#backup-key) func (o SecretBackendKeyOutput) AllowPlaintextBackup() pulumi.BoolPtrOutput { @@ -592,12 +567,6 @@ func (o SecretBackendKeyArrayOutput) ToSecretBackendKeyArrayOutputWithContext(ct return o } -func (o SecretBackendKeyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretBackendKey] { - return pulumix.Output[[]*SecretBackendKey]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendKeyArrayOutput) Index(i pulumi.IntInput) SecretBackendKeyOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretBackendKey { return vs[0].([]*SecretBackendKey)[vs[1].(int)] @@ -618,12 +587,6 @@ func (o SecretBackendKeyMapOutput) ToSecretBackendKeyMapOutputWithContext(ctx co return o } -func (o SecretBackendKeyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretBackendKey] { - return pulumix.Output[map[string]*SecretBackendKey]{ - OutputState: o.OutputState, - } -} - func (o SecretBackendKeyMapOutput) MapIndex(k pulumi.StringInput) SecretBackendKeyOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretBackendKey { return vs[0].(map[string]*SecretBackendKey)[vs[1].(string)] diff --git a/sdk/go/vault/transit/secretCacheConfig.go b/sdk/go/vault/transit/secretCacheConfig.go index 7dc884652..a2d940162 100644 --- a/sdk/go/vault/transit/secretCacheConfig.go +++ b/sdk/go/vault/transit/secretCacheConfig.go @@ -10,7 +10,6 @@ import ( "errors" "github.com/pulumi/pulumi-vault/sdk/v5/go/vault/internal" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" - "github.com/pulumi/pulumi/sdk/v3/go/pulumix" ) // Configure the cache for the Transit Secret Backend in Vault. @@ -177,12 +176,6 @@ func (i *SecretCacheConfig) ToSecretCacheConfigOutputWithContext(ctx context.Con return pulumi.ToOutputWithContext(ctx, i).(SecretCacheConfigOutput) } -func (i *SecretCacheConfig) ToOutput(ctx context.Context) pulumix.Output[*SecretCacheConfig] { - return pulumix.Output[*SecretCacheConfig]{ - OutputState: i.ToSecretCacheConfigOutputWithContext(ctx).OutputState, - } -} - // SecretCacheConfigArrayInput is an input type that accepts SecretCacheConfigArray and SecretCacheConfigArrayOutput values. // You can construct a concrete instance of `SecretCacheConfigArrayInput` via: // @@ -208,12 +201,6 @@ func (i SecretCacheConfigArray) ToSecretCacheConfigArrayOutputWithContext(ctx co return pulumi.ToOutputWithContext(ctx, i).(SecretCacheConfigArrayOutput) } -func (i SecretCacheConfigArray) ToOutput(ctx context.Context) pulumix.Output[[]*SecretCacheConfig] { - return pulumix.Output[[]*SecretCacheConfig]{ - OutputState: i.ToSecretCacheConfigArrayOutputWithContext(ctx).OutputState, - } -} - // SecretCacheConfigMapInput is an input type that accepts SecretCacheConfigMap and SecretCacheConfigMapOutput values. // You can construct a concrete instance of `SecretCacheConfigMapInput` via: // @@ -239,12 +226,6 @@ func (i SecretCacheConfigMap) ToSecretCacheConfigMapOutputWithContext(ctx contex return pulumi.ToOutputWithContext(ctx, i).(SecretCacheConfigMapOutput) } -func (i SecretCacheConfigMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretCacheConfig] { - return pulumix.Output[map[string]*SecretCacheConfig]{ - OutputState: i.ToSecretCacheConfigMapOutputWithContext(ctx).OutputState, - } -} - type SecretCacheConfigOutput struct{ *pulumi.OutputState } func (SecretCacheConfigOutput) ElementType() reflect.Type { @@ -259,12 +240,6 @@ func (o SecretCacheConfigOutput) ToSecretCacheConfigOutputWithContext(ctx contex return o } -func (o SecretCacheConfigOutput) ToOutput(ctx context.Context) pulumix.Output[*SecretCacheConfig] { - return pulumix.Output[*SecretCacheConfig]{ - OutputState: o.OutputState, - } -} - // The path the transit secret backend is mounted at, with no leading or trailing `/`s. func (o SecretCacheConfigOutput) Backend() pulumi.StringOutput { return o.ApplyT(func(v *SecretCacheConfig) pulumi.StringOutput { return v.Backend }).(pulumi.StringOutput) @@ -297,12 +272,6 @@ func (o SecretCacheConfigArrayOutput) ToSecretCacheConfigArrayOutputWithContext( return o } -func (o SecretCacheConfigArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*SecretCacheConfig] { - return pulumix.Output[[]*SecretCacheConfig]{ - OutputState: o.OutputState, - } -} - func (o SecretCacheConfigArrayOutput) Index(i pulumi.IntInput) SecretCacheConfigOutput { return pulumi.All(o, i).ApplyT(func(vs []interface{}) *SecretCacheConfig { return vs[0].([]*SecretCacheConfig)[vs[1].(int)] @@ -323,12 +292,6 @@ func (o SecretCacheConfigMapOutput) ToSecretCacheConfigMapOutputWithContext(ctx return o } -func (o SecretCacheConfigMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*SecretCacheConfig] { - return pulumix.Output[map[string]*SecretCacheConfig]{ - OutputState: o.OutputState, - } -} - func (o SecretCacheConfigMapOutput) MapIndex(k pulumi.StringInput) SecretCacheConfigOutput { return pulumi.All(o, k).ApplyT(func(vs []interface{}) *SecretCacheConfig { return vs[0].(map[string]*SecretCacheConfig)[vs[1].(string)]