From 94081529c071f1819a269fbf72300a455367ca39 Mon Sep 17 00:00:00 2001 From: pulumi-bot Date: Wed, 17 Jul 2024 00:00:31 +0000 Subject: [PATCH] make build_sdks --- .../GetPolicyDocumentRuleAllowedParameter.cs | 7 +++ ...tPolicyDocumentRuleAllowedParameterArgs.cs | 7 +++ .../GetPolicyDocumentRuleDeniedParameter.cs | 7 +++ ...etPolicyDocumentRuleDeniedParameterArgs.cs | 7 +++ ...olicyDocumentRuleAllowedParameterResult.cs | 6 +++ ...PolicyDocumentRuleDeniedParameterResult.cs | 6 +++ .../BackendConfigEstAuthenticatorsArgs.cs | 8 ++++ .../BackendConfigEstAuthenticatorsGetArgs.cs | 8 ++++ .../Outputs/BackendConfigEstAuthenticators.cs | 6 +++ sdk/go/vault/gcp/secretImpersonatedAccount.go | 4 +- sdk/go/vault/gcp/secretStaticAccount.go | 4 +- sdk/go/vault/pkisecret/pulumiTypes.go | 12 ++++- sdk/go/vault/pulumiTypes.go | 20 ++++++-- ...GetPolicyDocumentRuleAllowedParameter.java | 34 ++++++++++++++ ...olicyDocumentRuleAllowedParameterArgs.java | 46 +++++++++++++++++++ .../GetPolicyDocumentRuleDeniedParameter.java | 34 ++++++++++++++ ...PolicyDocumentRuleDeniedParameterArgs.java | 46 +++++++++++++++++++ ...GetPolicyDocumentRuleAllowedParameter.java | 16 +++++++ .../GetPolicyDocumentRuleDeniedParameter.java | 16 +++++++ .../BackendConfigEstAuthenticatorsArgs.java | 40 ++++++++++++++++ .../BackendConfigEstAuthenticators.java | 16 +++++++ sdk/nodejs/types/input.ts | 30 ++++++++++++ sdk/nodejs/types/output.ts | 18 ++++++++ sdk/python/pulumi_vault/_inputs.py | 20 ++++++++ sdk/python/pulumi_vault/_utilities.py | 7 ++- sdk/python/pulumi_vault/outputs.py | 20 ++++++++ sdk/python/pulumi_vault/pkisecret/_inputs.py | 10 ++++ sdk/python/pulumi_vault/pkisecret/outputs.py | 10 ++++ 28 files changed, 451 insertions(+), 14 deletions(-) diff --git a/sdk/dotnet/Inputs/GetPolicyDocumentRuleAllowedParameter.cs b/sdk/dotnet/Inputs/GetPolicyDocumentRuleAllowedParameter.cs index 5eb8fa34b..2461a9ed3 100644 --- a/sdk/dotnet/Inputs/GetPolicyDocumentRuleAllowedParameter.cs +++ b/sdk/dotnet/Inputs/GetPolicyDocumentRuleAllowedParameter.cs @@ -12,11 +12,18 @@ namespace Pulumi.Vault.Inputs public sealed class GetPolicyDocumentRuleAllowedParameterArgs : global::Pulumi.InvokeArgs { + /// + /// name of permitted or denied parameter. + /// [Input("key", required: true)] public string Key { get; set; } = null!; [Input("values", required: true)] private List? _values; + + /// + /// list of values what are permitted or denied by policy rule. + /// public List Values { get => _values ?? (_values = new List()); diff --git a/sdk/dotnet/Inputs/GetPolicyDocumentRuleAllowedParameterArgs.cs b/sdk/dotnet/Inputs/GetPolicyDocumentRuleAllowedParameterArgs.cs index 597ed2009..8c32640a0 100644 --- a/sdk/dotnet/Inputs/GetPolicyDocumentRuleAllowedParameterArgs.cs +++ b/sdk/dotnet/Inputs/GetPolicyDocumentRuleAllowedParameterArgs.cs @@ -12,11 +12,18 @@ namespace Pulumi.Vault.Inputs public sealed class GetPolicyDocumentRuleAllowedParameterInputArgs : global::Pulumi.ResourceArgs { + /// + /// name of permitted or denied parameter. + /// [Input("key", required: true)] public Input Key { get; set; } = null!; [Input("values", required: true)] private InputList? _values; + + /// + /// list of values what are permitted or denied by policy rule. + /// public InputList Values { get => _values ?? (_values = new InputList()); diff --git a/sdk/dotnet/Inputs/GetPolicyDocumentRuleDeniedParameter.cs b/sdk/dotnet/Inputs/GetPolicyDocumentRuleDeniedParameter.cs index 1cf0f8fce..454b2732f 100644 --- a/sdk/dotnet/Inputs/GetPolicyDocumentRuleDeniedParameter.cs +++ b/sdk/dotnet/Inputs/GetPolicyDocumentRuleDeniedParameter.cs @@ -12,11 +12,18 @@ namespace Pulumi.Vault.Inputs public sealed class GetPolicyDocumentRuleDeniedParameterArgs : global::Pulumi.InvokeArgs { + /// + /// name of permitted or denied parameter. + /// [Input("key", required: true)] public string Key { get; set; } = null!; [Input("values", required: true)] private List? _values; + + /// + /// list of values what are permitted or denied by policy rule. + /// public List Values { get => _values ?? (_values = new List()); diff --git a/sdk/dotnet/Inputs/GetPolicyDocumentRuleDeniedParameterArgs.cs b/sdk/dotnet/Inputs/GetPolicyDocumentRuleDeniedParameterArgs.cs index 6ef377d39..9e38e88b1 100644 --- a/sdk/dotnet/Inputs/GetPolicyDocumentRuleDeniedParameterArgs.cs +++ b/sdk/dotnet/Inputs/GetPolicyDocumentRuleDeniedParameterArgs.cs @@ -12,11 +12,18 @@ namespace Pulumi.Vault.Inputs public sealed class GetPolicyDocumentRuleDeniedParameterInputArgs : global::Pulumi.ResourceArgs { + /// + /// name of permitted or denied parameter. + /// [Input("key", required: true)] public Input Key { get; set; } = null!; [Input("values", required: true)] private InputList? _values; + + /// + /// list of values what are permitted or denied by policy rule. + /// public InputList Values { get => _values ?? (_values = new InputList()); diff --git a/sdk/dotnet/Outputs/GetPolicyDocumentRuleAllowedParameterResult.cs b/sdk/dotnet/Outputs/GetPolicyDocumentRuleAllowedParameterResult.cs index 18e7d6239..a553ada25 100644 --- a/sdk/dotnet/Outputs/GetPolicyDocumentRuleAllowedParameterResult.cs +++ b/sdk/dotnet/Outputs/GetPolicyDocumentRuleAllowedParameterResult.cs @@ -13,7 +13,13 @@ namespace Pulumi.Vault.Outputs [OutputType] public sealed class GetPolicyDocumentRuleAllowedParameterResult { + /// + /// name of permitted or denied parameter. + /// public readonly string Key; + /// + /// list of values what are permitted or denied by policy rule. + /// public readonly ImmutableArray Values; [OutputConstructor] diff --git a/sdk/dotnet/Outputs/GetPolicyDocumentRuleDeniedParameterResult.cs b/sdk/dotnet/Outputs/GetPolicyDocumentRuleDeniedParameterResult.cs index 1a776870c..792b316bf 100644 --- a/sdk/dotnet/Outputs/GetPolicyDocumentRuleDeniedParameterResult.cs +++ b/sdk/dotnet/Outputs/GetPolicyDocumentRuleDeniedParameterResult.cs @@ -13,7 +13,13 @@ namespace Pulumi.Vault.Outputs [OutputType] public sealed class GetPolicyDocumentRuleDeniedParameterResult { + /// + /// name of permitted or denied parameter. + /// public readonly string Key; + /// + /// list of values what are permitted or denied by policy rule. + /// public readonly ImmutableArray Values; [OutputConstructor] diff --git a/sdk/dotnet/PkiSecret/Inputs/BackendConfigEstAuthenticatorsArgs.cs b/sdk/dotnet/PkiSecret/Inputs/BackendConfigEstAuthenticatorsArgs.cs index b9eb046aa..611c56bb0 100644 --- a/sdk/dotnet/PkiSecret/Inputs/BackendConfigEstAuthenticatorsArgs.cs +++ b/sdk/dotnet/PkiSecret/Inputs/BackendConfigEstAuthenticatorsArgs.cs @@ -14,6 +14,10 @@ public sealed class BackendConfigEstAuthenticatorsArgs : global::Pulumi.Resource { [Input("cert")] private InputMap? _cert; + + /// + /// "The accessor (required) and cert_role (optional) properties for cert auth backends". + /// public InputMap Cert { get => _cert ?? (_cert = new InputMap()); @@ -22,6 +26,10 @@ public InputMap Cert [Input("userpass")] private InputMap? _userpass; + + /// + /// "The accessor (required) property for user pass auth backends". + /// public InputMap Userpass { get => _userpass ?? (_userpass = new InputMap()); diff --git a/sdk/dotnet/PkiSecret/Inputs/BackendConfigEstAuthenticatorsGetArgs.cs b/sdk/dotnet/PkiSecret/Inputs/BackendConfigEstAuthenticatorsGetArgs.cs index 249267e28..43edacf4d 100644 --- a/sdk/dotnet/PkiSecret/Inputs/BackendConfigEstAuthenticatorsGetArgs.cs +++ b/sdk/dotnet/PkiSecret/Inputs/BackendConfigEstAuthenticatorsGetArgs.cs @@ -14,6 +14,10 @@ public sealed class BackendConfigEstAuthenticatorsGetArgs : global::Pulumi.Resou { [Input("cert")] private InputMap? _cert; + + /// + /// "The accessor (required) and cert_role (optional) properties for cert auth backends". + /// public InputMap Cert { get => _cert ?? (_cert = new InputMap()); @@ -22,6 +26,10 @@ public InputMap Cert [Input("userpass")] private InputMap? _userpass; + + /// + /// "The accessor (required) property for user pass auth backends". + /// public InputMap Userpass { get => _userpass ?? (_userpass = new InputMap()); diff --git a/sdk/dotnet/PkiSecret/Outputs/BackendConfigEstAuthenticators.cs b/sdk/dotnet/PkiSecret/Outputs/BackendConfigEstAuthenticators.cs index d355f2894..70511682c 100644 --- a/sdk/dotnet/PkiSecret/Outputs/BackendConfigEstAuthenticators.cs +++ b/sdk/dotnet/PkiSecret/Outputs/BackendConfigEstAuthenticators.cs @@ -13,7 +13,13 @@ namespace Pulumi.Vault.PkiSecret.Outputs [OutputType] public sealed class BackendConfigEstAuthenticators { + /// + /// "The accessor (required) and cert_role (optional) properties for cert auth backends". + /// public readonly ImmutableDictionary? Cert; + /// + /// "The accessor (required) property for user pass auth backends". + /// public readonly ImmutableDictionary? Userpass; [OutputConstructor] diff --git a/sdk/go/vault/gcp/secretImpersonatedAccount.go b/sdk/go/vault/gcp/secretImpersonatedAccount.go index 567feecc5..e8610f12b 100644 --- a/sdk/go/vault/gcp/secretImpersonatedAccount.go +++ b/sdk/go/vault/gcp/secretImpersonatedAccount.go @@ -24,7 +24,7 @@ import ( // // import ( // -// "github.com/pulumi/pulumi-google/sdk/v1/go/google" +// "github.com/pulumi/pulumi-google/sdk/go/google" // "github.com/pulumi/pulumi-std/sdk/go/std" // "github.com/pulumi/pulumi-vault/sdk/v6/go/vault/gcp" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" @@ -33,7 +33,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// this, err := index.NewServiceAccount(ctx, "this", &index.ServiceAccountArgs{ +// this, err := google.NewServiceAccount(ctx, "this", &google.ServiceAccountArgs{ // AccountId: "my-awesome-account", // }) // if err != nil { diff --git a/sdk/go/vault/gcp/secretStaticAccount.go b/sdk/go/vault/gcp/secretStaticAccount.go index 1dcaacc2a..028f23bf3 100644 --- a/sdk/go/vault/gcp/secretStaticAccount.go +++ b/sdk/go/vault/gcp/secretStaticAccount.go @@ -26,7 +26,7 @@ import ( // // "fmt" // -// "github.com/pulumi/pulumi-google/sdk/v1/go/google" +// "github.com/pulumi/pulumi-google/sdk/go/google" // "github.com/pulumi/pulumi-std/sdk/go/std" // "github.com/pulumi/pulumi-vault/sdk/v6/go/vault/gcp" // "github.com/pulumi/pulumi/sdk/v3/go/pulumi" @@ -35,7 +35,7 @@ import ( // // func main() { // pulumi.Run(func(ctx *pulumi.Context) error { -// this, err := index.NewServiceAccount(ctx, "this", &index.ServiceAccountArgs{ +// this, err := google.NewServiceAccount(ctx, "this", &google.ServiceAccountArgs{ // AccountId: "my-awesome-account", // }) // if err != nil { diff --git a/sdk/go/vault/pkisecret/pulumiTypes.go b/sdk/go/vault/pkisecret/pulumiTypes.go index 5cf12cfd6..325337432 100644 --- a/sdk/go/vault/pkisecret/pulumiTypes.go +++ b/sdk/go/vault/pkisecret/pulumiTypes.go @@ -14,7 +14,9 @@ import ( var _ = internal.GetEnvOrDefault type BackendConfigEstAuthenticators struct { - Cert map[string]interface{} `pulumi:"cert"` + // "The accessor (required) and certRole (optional) properties for cert auth backends". + Cert map[string]interface{} `pulumi:"cert"` + // "The accessor (required) property for user pass auth backends". Userpass map[string]interface{} `pulumi:"userpass"` } @@ -30,7 +32,9 @@ type BackendConfigEstAuthenticatorsInput interface { } type BackendConfigEstAuthenticatorsArgs struct { - Cert pulumi.MapInput `pulumi:"cert"` + // "The accessor (required) and certRole (optional) properties for cert auth backends". + Cert pulumi.MapInput `pulumi:"cert"` + // "The accessor (required) property for user pass auth backends". Userpass pulumi.MapInput `pulumi:"userpass"` } @@ -111,10 +115,12 @@ func (o BackendConfigEstAuthenticatorsOutput) ToBackendConfigEstAuthenticatorsPt }).(BackendConfigEstAuthenticatorsPtrOutput) } +// "The accessor (required) and certRole (optional) properties for cert auth backends". func (o BackendConfigEstAuthenticatorsOutput) Cert() pulumi.MapOutput { return o.ApplyT(func(v BackendConfigEstAuthenticators) map[string]interface{} { return v.Cert }).(pulumi.MapOutput) } +// "The accessor (required) property for user pass auth backends". func (o BackendConfigEstAuthenticatorsOutput) Userpass() pulumi.MapOutput { return o.ApplyT(func(v BackendConfigEstAuthenticators) map[string]interface{} { return v.Userpass }).(pulumi.MapOutput) } @@ -143,6 +149,7 @@ func (o BackendConfigEstAuthenticatorsPtrOutput) Elem() BackendConfigEstAuthenti }).(BackendConfigEstAuthenticatorsOutput) } +// "The accessor (required) and certRole (optional) properties for cert auth backends". func (o BackendConfigEstAuthenticatorsPtrOutput) Cert() pulumi.MapOutput { return o.ApplyT(func(v *BackendConfigEstAuthenticators) map[string]interface{} { if v == nil { @@ -152,6 +159,7 @@ func (o BackendConfigEstAuthenticatorsPtrOutput) Cert() pulumi.MapOutput { }).(pulumi.MapOutput) } +// "The accessor (required) property for user pass auth backends". func (o BackendConfigEstAuthenticatorsPtrOutput) Userpass() pulumi.MapOutput { return o.ApplyT(func(v *BackendConfigEstAuthenticators) map[string]interface{} { if v == nil { diff --git a/sdk/go/vault/pulumiTypes.go b/sdk/go/vault/pulumiTypes.go index 3311cbeb3..9fcb57290 100644 --- a/sdk/go/vault/pulumiTypes.go +++ b/sdk/go/vault/pulumiTypes.go @@ -3803,7 +3803,9 @@ func (o GetPolicyDocumentRuleArrayOutput) Index(i pulumi.IntInput) GetPolicyDocu } type GetPolicyDocumentRuleAllowedParameter struct { - Key string `pulumi:"key"` + // name of permitted or denied parameter. + Key string `pulumi:"key"` + // list of values what are permitted or denied by policy rule. Values []string `pulumi:"values"` } @@ -3819,7 +3821,9 @@ type GetPolicyDocumentRuleAllowedParameterInput interface { } type GetPolicyDocumentRuleAllowedParameterArgs struct { - Key pulumi.StringInput `pulumi:"key"` + // name of permitted or denied parameter. + Key pulumi.StringInput `pulumi:"key"` + // list of values what are permitted or denied by policy rule. Values pulumi.StringArrayInput `pulumi:"values"` } @@ -3874,10 +3878,12 @@ func (o GetPolicyDocumentRuleAllowedParameterOutput) ToGetPolicyDocumentRuleAllo return o } +// name of permitted or denied parameter. func (o GetPolicyDocumentRuleAllowedParameterOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GetPolicyDocumentRuleAllowedParameter) string { return v.Key }).(pulumi.StringOutput) } +// list of values what are permitted or denied by policy rule. func (o GetPolicyDocumentRuleAllowedParameterOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GetPolicyDocumentRuleAllowedParameter) []string { return v.Values }).(pulumi.StringArrayOutput) } @@ -3903,7 +3909,9 @@ func (o GetPolicyDocumentRuleAllowedParameterArrayOutput) Index(i pulumi.IntInpu } type GetPolicyDocumentRuleDeniedParameter struct { - Key string `pulumi:"key"` + // name of permitted or denied parameter. + Key string `pulumi:"key"` + // list of values what are permitted or denied by policy rule. Values []string `pulumi:"values"` } @@ -3919,7 +3927,9 @@ type GetPolicyDocumentRuleDeniedParameterInput interface { } type GetPolicyDocumentRuleDeniedParameterArgs struct { - Key pulumi.StringInput `pulumi:"key"` + // name of permitted or denied parameter. + Key pulumi.StringInput `pulumi:"key"` + // list of values what are permitted or denied by policy rule. Values pulumi.StringArrayInput `pulumi:"values"` } @@ -3974,10 +3984,12 @@ func (o GetPolicyDocumentRuleDeniedParameterOutput) ToGetPolicyDocumentRuleDenie return o } +// name of permitted or denied parameter. func (o GetPolicyDocumentRuleDeniedParameterOutput) Key() pulumi.StringOutput { return o.ApplyT(func(v GetPolicyDocumentRuleDeniedParameter) string { return v.Key }).(pulumi.StringOutput) } +// list of values what are permitted or denied by policy rule. func (o GetPolicyDocumentRuleDeniedParameterOutput) Values() pulumi.StringArrayOutput { return o.ApplyT(func(v GetPolicyDocumentRuleDeniedParameter) []string { return v.Values }).(pulumi.StringArrayOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleAllowedParameter.java b/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleAllowedParameter.java index a429f546a..055861b0d 100644 --- a/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleAllowedParameter.java +++ b/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleAllowedParameter.java @@ -14,16 +14,32 @@ public final class GetPolicyDocumentRuleAllowedParameter extends com.pulumi.reso public static final GetPolicyDocumentRuleAllowedParameter Empty = new GetPolicyDocumentRuleAllowedParameter(); + /** + * name of permitted or denied parameter. + * + */ @Import(name="key", required=true) private String key; + /** + * @return name of permitted or denied parameter. + * + */ public String key() { return this.key; } + /** + * list of values what are permitted or denied by policy rule. + * + */ @Import(name="values", required=true) private List values; + /** + * @return list of values what are permitted or denied by policy rule. + * + */ public List values() { return this.values; } @@ -53,16 +69,34 @@ public Builder(GetPolicyDocumentRuleAllowedParameter defaults) { $ = new GetPolicyDocumentRuleAllowedParameter(Objects.requireNonNull(defaults)); } + /** + * @param key name of permitted or denied parameter. + * + * @return builder + * + */ public Builder key(String key) { $.key = key; return this; } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(List values) { $.values = values; return this; } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(String... values) { return values(List.of(values)); } diff --git a/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleAllowedParameterArgs.java b/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleAllowedParameterArgs.java index 136a06127..b7a82a5db 100644 --- a/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleAllowedParameterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleAllowedParameterArgs.java @@ -15,16 +15,32 @@ public final class GetPolicyDocumentRuleAllowedParameterArgs extends com.pulumi. public static final GetPolicyDocumentRuleAllowedParameterArgs Empty = new GetPolicyDocumentRuleAllowedParameterArgs(); + /** + * name of permitted or denied parameter. + * + */ @Import(name="key", required=true) private Output key; + /** + * @return name of permitted or denied parameter. + * + */ public Output key() { return this.key; } + /** + * list of values what are permitted or denied by policy rule. + * + */ @Import(name="values", required=true) private Output> values; + /** + * @return list of values what are permitted or denied by policy rule. + * + */ public Output> values() { return this.values; } @@ -54,24 +70,54 @@ public Builder(GetPolicyDocumentRuleAllowedParameterArgs defaults) { $ = new GetPolicyDocumentRuleAllowedParameterArgs(Objects.requireNonNull(defaults)); } + /** + * @param key name of permitted or denied parameter. + * + * @return builder + * + */ public Builder key(Output key) { $.key = key; return this; } + /** + * @param key name of permitted or denied parameter. + * + * @return builder + * + */ public Builder key(String key) { return key(Output.of(key)); } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(Output> values) { $.values = values; return this; } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(List values) { return values(Output.of(values)); } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(String... values) { return values(List.of(values)); } diff --git a/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleDeniedParameter.java b/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleDeniedParameter.java index 482f8fcd0..abac184d7 100644 --- a/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleDeniedParameter.java +++ b/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleDeniedParameter.java @@ -14,16 +14,32 @@ public final class GetPolicyDocumentRuleDeniedParameter extends com.pulumi.resou public static final GetPolicyDocumentRuleDeniedParameter Empty = new GetPolicyDocumentRuleDeniedParameter(); + /** + * name of permitted or denied parameter. + * + */ @Import(name="key", required=true) private String key; + /** + * @return name of permitted or denied parameter. + * + */ public String key() { return this.key; } + /** + * list of values what are permitted or denied by policy rule. + * + */ @Import(name="values", required=true) private List values; + /** + * @return list of values what are permitted or denied by policy rule. + * + */ public List values() { return this.values; } @@ -53,16 +69,34 @@ public Builder(GetPolicyDocumentRuleDeniedParameter defaults) { $ = new GetPolicyDocumentRuleDeniedParameter(Objects.requireNonNull(defaults)); } + /** + * @param key name of permitted or denied parameter. + * + * @return builder + * + */ public Builder key(String key) { $.key = key; return this; } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(List values) { $.values = values; return this; } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(String... values) { return values(List.of(values)); } diff --git a/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleDeniedParameterArgs.java b/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleDeniedParameterArgs.java index aa8f5278b..80471cc07 100644 --- a/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleDeniedParameterArgs.java +++ b/sdk/java/src/main/java/com/pulumi/vault/inputs/GetPolicyDocumentRuleDeniedParameterArgs.java @@ -15,16 +15,32 @@ public final class GetPolicyDocumentRuleDeniedParameterArgs extends com.pulumi.r public static final GetPolicyDocumentRuleDeniedParameterArgs Empty = new GetPolicyDocumentRuleDeniedParameterArgs(); + /** + * name of permitted or denied parameter. + * + */ @Import(name="key", required=true) private Output key; + /** + * @return name of permitted or denied parameter. + * + */ public Output key() { return this.key; } + /** + * list of values what are permitted or denied by policy rule. + * + */ @Import(name="values", required=true) private Output> values; + /** + * @return list of values what are permitted or denied by policy rule. + * + */ public Output> values() { return this.values; } @@ -54,24 +70,54 @@ public Builder(GetPolicyDocumentRuleDeniedParameterArgs defaults) { $ = new GetPolicyDocumentRuleDeniedParameterArgs(Objects.requireNonNull(defaults)); } + /** + * @param key name of permitted or denied parameter. + * + * @return builder + * + */ public Builder key(Output key) { $.key = key; return this; } + /** + * @param key name of permitted or denied parameter. + * + * @return builder + * + */ public Builder key(String key) { return key(Output.of(key)); } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(Output> values) { $.values = values; return this; } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(List values) { return values(Output.of(values)); } + /** + * @param values list of values what are permitted or denied by policy rule. + * + * @return builder + * + */ public Builder values(String... values) { return values(List.of(values)); } diff --git a/sdk/java/src/main/java/com/pulumi/vault/outputs/GetPolicyDocumentRuleAllowedParameter.java b/sdk/java/src/main/java/com/pulumi/vault/outputs/GetPolicyDocumentRuleAllowedParameter.java index cf7130549..a4ddcd998 100644 --- a/sdk/java/src/main/java/com/pulumi/vault/outputs/GetPolicyDocumentRuleAllowedParameter.java +++ b/sdk/java/src/main/java/com/pulumi/vault/outputs/GetPolicyDocumentRuleAllowedParameter.java @@ -11,13 +11,29 @@ @CustomType public final class GetPolicyDocumentRuleAllowedParameter { + /** + * @return name of permitted or denied parameter. + * + */ private String key; + /** + * @return list of values what are permitted or denied by policy rule. + * + */ private List values; private GetPolicyDocumentRuleAllowedParameter() {} + /** + * @return name of permitted or denied parameter. + * + */ public String key() { return this.key; } + /** + * @return list of values what are permitted or denied by policy rule. + * + */ public List values() { return this.values; } diff --git a/sdk/java/src/main/java/com/pulumi/vault/outputs/GetPolicyDocumentRuleDeniedParameter.java b/sdk/java/src/main/java/com/pulumi/vault/outputs/GetPolicyDocumentRuleDeniedParameter.java index d8f030287..4f9f76092 100644 --- a/sdk/java/src/main/java/com/pulumi/vault/outputs/GetPolicyDocumentRuleDeniedParameter.java +++ b/sdk/java/src/main/java/com/pulumi/vault/outputs/GetPolicyDocumentRuleDeniedParameter.java @@ -11,13 +11,29 @@ @CustomType public final class GetPolicyDocumentRuleDeniedParameter { + /** + * @return name of permitted or denied parameter. + * + */ private String key; + /** + * @return list of values what are permitted or denied by policy rule. + * + */ private List values; private GetPolicyDocumentRuleDeniedParameter() {} + /** + * @return name of permitted or denied parameter. + * + */ public String key() { return this.key; } + /** + * @return list of values what are permitted or denied by policy rule. + * + */ public List values() { return this.values; } diff --git a/sdk/java/src/main/java/com/pulumi/vault/pkiSecret/inputs/BackendConfigEstAuthenticatorsArgs.java b/sdk/java/src/main/java/com/pulumi/vault/pkiSecret/inputs/BackendConfigEstAuthenticatorsArgs.java index da860f8b9..516e7f2df 100644 --- a/sdk/java/src/main/java/com/pulumi/vault/pkiSecret/inputs/BackendConfigEstAuthenticatorsArgs.java +++ b/sdk/java/src/main/java/com/pulumi/vault/pkiSecret/inputs/BackendConfigEstAuthenticatorsArgs.java @@ -17,16 +17,32 @@ public final class BackendConfigEstAuthenticatorsArgs extends com.pulumi.resourc public static final BackendConfigEstAuthenticatorsArgs Empty = new BackendConfigEstAuthenticatorsArgs(); + /** + * "The accessor (required) and cert_role (optional) properties for cert auth backends". + * + */ @Import(name="cert") private @Nullable Output> cert; + /** + * @return "The accessor (required) and cert_role (optional) properties for cert auth backends". + * + */ public Optional>> cert() { return Optional.ofNullable(this.cert); } + /** + * "The accessor (required) property for user pass auth backends". + * + */ @Import(name="userpass") private @Nullable Output> userpass; + /** + * @return "The accessor (required) property for user pass auth backends". + * + */ public Optional>> userpass() { return Optional.ofNullable(this.userpass); } @@ -56,20 +72,44 @@ public Builder(BackendConfigEstAuthenticatorsArgs defaults) { $ = new BackendConfigEstAuthenticatorsArgs(Objects.requireNonNull(defaults)); } + /** + * @param cert "The accessor (required) and cert_role (optional) properties for cert auth backends". + * + * @return builder + * + */ public Builder cert(@Nullable Output> cert) { $.cert = cert; return this; } + /** + * @param cert "The accessor (required) and cert_role (optional) properties for cert auth backends". + * + * @return builder + * + */ public Builder cert(Map cert) { return cert(Output.of(cert)); } + /** + * @param userpass "The accessor (required) property for user pass auth backends". + * + * @return builder + * + */ public Builder userpass(@Nullable Output> userpass) { $.userpass = userpass; return this; } + /** + * @param userpass "The accessor (required) property for user pass auth backends". + * + * @return builder + * + */ public Builder userpass(Map userpass) { return userpass(Output.of(userpass)); } diff --git a/sdk/java/src/main/java/com/pulumi/vault/pkiSecret/outputs/BackendConfigEstAuthenticators.java b/sdk/java/src/main/java/com/pulumi/vault/pkiSecret/outputs/BackendConfigEstAuthenticators.java index 11a6f6c6f..01cf8f1e5 100644 --- a/sdk/java/src/main/java/com/pulumi/vault/pkiSecret/outputs/BackendConfigEstAuthenticators.java +++ b/sdk/java/src/main/java/com/pulumi/vault/pkiSecret/outputs/BackendConfigEstAuthenticators.java @@ -12,13 +12,29 @@ @CustomType public final class BackendConfigEstAuthenticators { + /** + * @return "The accessor (required) and cert_role (optional) properties for cert auth backends". + * + */ private @Nullable Map cert; + /** + * @return "The accessor (required) property for user pass auth backends". + * + */ private @Nullable Map userpass; private BackendConfigEstAuthenticators() {} + /** + * @return "The accessor (required) and cert_role (optional) properties for cert auth backends". + * + */ public Map cert() { return this.cert == null ? Map.of() : this.cert; } + /** + * @return "The accessor (required) property for user pass auth backends". + * + */ public Map userpass() { return this.userpass == null ? Map.of() : this.userpass; } diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index def142599..98ac8b5c1 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -121,22 +121,46 @@ export interface GetPolicyDocumentRuleArgs { } export interface GetPolicyDocumentRuleAllowedParameter { + /** + * name of permitted or denied parameter. + */ key: string; + /** + * list of values what are permitted or denied by policy rule. + */ values: string[]; } export interface GetPolicyDocumentRuleAllowedParameterArgs { + /** + * name of permitted or denied parameter. + */ key: pulumi.Input; + /** + * list of values what are permitted or denied by policy rule. + */ values: pulumi.Input[]>; } export interface GetPolicyDocumentRuleDeniedParameter { + /** + * name of permitted or denied parameter. + */ key: string; + /** + * list of values what are permitted or denied by policy rule. + */ values: string[]; } export interface GetPolicyDocumentRuleDeniedParameterArgs { + /** + * name of permitted or denied parameter. + */ key: pulumi.Input; + /** + * list of values what are permitted or denied by policy rule. + */ values: pulumi.Input[]>; } @@ -2836,7 +2860,13 @@ export namespace okta { export namespace pkiSecret { export interface BackendConfigEstAuthenticators { + /** + * "The accessor (required) and certRole (optional) properties for cert auth backends". + */ cert?: pulumi.Input<{[key: string]: any}>; + /** + * "The accessor (required) property for user pass auth backends". + */ userpass?: pulumi.Input<{[key: string]: any}>; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 39f2ed5fe..b9216c6ed 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -86,12 +86,24 @@ export interface GetPolicyDocumentRule { } export interface GetPolicyDocumentRuleAllowedParameter { + /** + * name of permitted or denied parameter. + */ key: string; + /** + * list of values what are permitted or denied by policy rule. + */ values: string[]; } export interface GetPolicyDocumentRuleDeniedParameter { + /** + * name of permitted or denied parameter. + */ key: string; + /** + * list of values what are permitted or denied by policy rule. + */ values: string[]; } @@ -2844,7 +2856,13 @@ export namespace okta { export namespace pkiSecret { export interface BackendConfigEstAuthenticators { + /** + * "The accessor (required) and certRole (optional) properties for cert auth backends". + */ cert?: {[key: string]: any}; + /** + * "The accessor (required) property for user pass auth backends". + */ userpass?: {[key: string]: any}; } diff --git a/sdk/python/pulumi_vault/_inputs.py b/sdk/python/pulumi_vault/_inputs.py index 32ed69c93..da269ce1d 100644 --- a/sdk/python/pulumi_vault/_inputs.py +++ b/sdk/python/pulumi_vault/_inputs.py @@ -1844,12 +1844,19 @@ class GetPolicyDocumentRuleAllowedParameterArgs: def __init__(__self__, *, key: str, values: Sequence[str]): + """ + :param str key: name of permitted or denied parameter. + :param Sequence[str] values: list of values what are permitted or denied by policy rule. + """ pulumi.set(__self__, "key", key) pulumi.set(__self__, "values", values) @property @pulumi.getter def key(self) -> str: + """ + name of permitted or denied parameter. + """ return pulumi.get(self, "key") @key.setter @@ -1859,6 +1866,9 @@ def key(self, value: str): @property @pulumi.getter def values(self) -> Sequence[str]: + """ + list of values what are permitted or denied by policy rule. + """ return pulumi.get(self, "values") @values.setter @@ -1871,12 +1881,19 @@ class GetPolicyDocumentRuleDeniedParameterArgs: def __init__(__self__, *, key: str, values: Sequence[str]): + """ + :param str key: name of permitted or denied parameter. + :param Sequence[str] values: list of values what are permitted or denied by policy rule. + """ pulumi.set(__self__, "key", key) pulumi.set(__self__, "values", values) @property @pulumi.getter def key(self) -> str: + """ + name of permitted or denied parameter. + """ return pulumi.get(self, "key") @key.setter @@ -1886,6 +1903,9 @@ def key(self, value: str): @property @pulumi.getter def values(self) -> Sequence[str]: + """ + list of values what are permitted or denied by policy rule. + """ return pulumi.get(self, "values") @values.setter diff --git a/sdk/python/pulumi_vault/_utilities.py b/sdk/python/pulumi_vault/_utilities.py index abad7b419..c92fd32f2 100644 --- a/sdk/python/pulumi_vault/_utilities.py +++ b/sdk/python/pulumi_vault/_utilities.py @@ -100,10 +100,6 @@ def _get_semver_version(): _version = _get_semver_version() _version_str = str(_version) - -def get_version(): - return _version_str - def get_resource_opts_defaults() -> pulumi.ResourceOptions: return pulumi.ResourceOptions( version=get_version(), @@ -324,3 +320,6 @@ def deprecated_fn(*args, **kwargs): def get_plugin_download_url(): return None + +def get_version(): + return _version_str diff --git a/sdk/python/pulumi_vault/outputs.py b/sdk/python/pulumi_vault/outputs.py index 2801fc8c8..728246353 100644 --- a/sdk/python/pulumi_vault/outputs.py +++ b/sdk/python/pulumi_vault/outputs.py @@ -277,17 +277,27 @@ class GetPolicyDocumentRuleAllowedParameterResult(dict): def __init__(__self__, *, key: str, values: Sequence[str]): + """ + :param str key: name of permitted or denied parameter. + :param Sequence[str] values: list of values what are permitted or denied by policy rule. + """ pulumi.set(__self__, "key", key) pulumi.set(__self__, "values", values) @property @pulumi.getter def key(self) -> str: + """ + name of permitted or denied parameter. + """ return pulumi.get(self, "key") @property @pulumi.getter def values(self) -> Sequence[str]: + """ + list of values what are permitted or denied by policy rule. + """ return pulumi.get(self, "values") @@ -296,17 +306,27 @@ class GetPolicyDocumentRuleDeniedParameterResult(dict): def __init__(__self__, *, key: str, values: Sequence[str]): + """ + :param str key: name of permitted or denied parameter. + :param Sequence[str] values: list of values what are permitted or denied by policy rule. + """ pulumi.set(__self__, "key", key) pulumi.set(__self__, "values", values) @property @pulumi.getter def key(self) -> str: + """ + name of permitted or denied parameter. + """ return pulumi.get(self, "key") @property @pulumi.getter def values(self) -> Sequence[str]: + """ + list of values what are permitted or denied by policy rule. + """ return pulumi.get(self, "values") diff --git a/sdk/python/pulumi_vault/pkisecret/_inputs.py b/sdk/python/pulumi_vault/pkisecret/_inputs.py index 865bf7033..295ccc154 100644 --- a/sdk/python/pulumi_vault/pkisecret/_inputs.py +++ b/sdk/python/pulumi_vault/pkisecret/_inputs.py @@ -19,6 +19,10 @@ class BackendConfigEstAuthenticatorsArgs: def __init__(__self__, *, cert: Optional[pulumi.Input[Mapping[str, Any]]] = None, userpass: Optional[pulumi.Input[Mapping[str, Any]]] = None): + """ + :param pulumi.Input[Mapping[str, Any]] cert: "The accessor (required) and cert_role (optional) properties for cert auth backends". + :param pulumi.Input[Mapping[str, Any]] userpass: "The accessor (required) property for user pass auth backends". + """ if cert is not None: pulumi.set(__self__, "cert", cert) if userpass is not None: @@ -27,6 +31,9 @@ def __init__(__self__, *, @property @pulumi.getter def cert(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + "The accessor (required) and cert_role (optional) properties for cert auth backends". + """ return pulumi.get(self, "cert") @cert.setter @@ -36,6 +43,9 @@ def cert(self, value: Optional[pulumi.Input[Mapping[str, Any]]]): @property @pulumi.getter def userpass(self) -> Optional[pulumi.Input[Mapping[str, Any]]]: + """ + "The accessor (required) property for user pass auth backends". + """ return pulumi.get(self, "userpass") @userpass.setter diff --git a/sdk/python/pulumi_vault/pkisecret/outputs.py b/sdk/python/pulumi_vault/pkisecret/outputs.py index da517f0ad..a71c411cd 100644 --- a/sdk/python/pulumi_vault/pkisecret/outputs.py +++ b/sdk/python/pulumi_vault/pkisecret/outputs.py @@ -20,6 +20,10 @@ class BackendConfigEstAuthenticators(dict): def __init__(__self__, *, cert: Optional[Mapping[str, Any]] = None, userpass: Optional[Mapping[str, Any]] = None): + """ + :param Mapping[str, Any] cert: "The accessor (required) and cert_role (optional) properties for cert auth backends". + :param Mapping[str, Any] userpass: "The accessor (required) property for user pass auth backends". + """ if cert is not None: pulumi.set(__self__, "cert", cert) if userpass is not None: @@ -28,11 +32,17 @@ def __init__(__self__, *, @property @pulumi.getter def cert(self) -> Optional[Mapping[str, Any]]: + """ + "The accessor (required) and cert_role (optional) properties for cert auth backends". + """ return pulumi.get(self, "cert") @property @pulumi.getter def userpass(self) -> Optional[Mapping[str, Any]]: + """ + "The accessor (required) property for user pass auth backends". + """ return pulumi.get(self, "userpass")