diff --git a/sdk/dotnet/Inputs/DatabaseUserSettingAclArgs.cs b/sdk/dotnet/Inputs/DatabaseUserSettingAclArgs.cs index 4fed02de..d3a8398a 100644 --- a/sdk/dotnet/Inputs/DatabaseUserSettingAclArgs.cs +++ b/sdk/dotnet/Inputs/DatabaseUserSettingAclArgs.cs @@ -18,9 +18,15 @@ public sealed class DatabaseUserSettingAclArgs : global::Pulumi.ResourceArgs [Input("id")] public Input? Id { get; set; } + /// + /// The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + /// [Input("permission", required: true)] public Input Permission { get; set; } = null!; + /// + /// A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + /// [Input("topic", required: true)] public Input Topic { get; set; } = null!; diff --git a/sdk/dotnet/Inputs/DatabaseUserSettingAclGetArgs.cs b/sdk/dotnet/Inputs/DatabaseUserSettingAclGetArgs.cs index 5e863508..ed79fd2f 100644 --- a/sdk/dotnet/Inputs/DatabaseUserSettingAclGetArgs.cs +++ b/sdk/dotnet/Inputs/DatabaseUserSettingAclGetArgs.cs @@ -18,9 +18,15 @@ public sealed class DatabaseUserSettingAclGetArgs : global::Pulumi.ResourceArgs [Input("id")] public Input? Id { get; set; } + /// + /// The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + /// [Input("permission", required: true)] public Input Permission { get; set; } = null!; + /// + /// A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + /// [Input("topic", required: true)] public Input Topic { get; set; } = null!; diff --git a/sdk/dotnet/Outputs/DatabaseUserSettingAcl.cs b/sdk/dotnet/Outputs/DatabaseUserSettingAcl.cs index 1241e280..5bc27557 100644 --- a/sdk/dotnet/Outputs/DatabaseUserSettingAcl.cs +++ b/sdk/dotnet/Outputs/DatabaseUserSettingAcl.cs @@ -17,7 +17,13 @@ public sealed class DatabaseUserSettingAcl /// An identifier for the ACL, this will be automatically assigned when you create an ACL entry /// public readonly string? Id; + /// + /// The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + /// public readonly string Permission; + /// + /// A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + /// public readonly string Topic; [OutputConstructor] diff --git a/sdk/go/digitalocean/getRecords.go b/sdk/go/digitalocean/getRecords.go index c8b49512..d5c22795 100644 --- a/sdk/go/digitalocean/getRecords.go +++ b/sdk/go/digitalocean/getRecords.go @@ -44,13 +44,9 @@ import ( // if err != nil { // return err // } -// ctx.Export("mailServers", std.Join(ctx, var splat0 []*string -// for _, val0 := range example.Records { -// splat0 = append(splat0, val0.Value) -// } -// &std.JoinArgs{ +// ctx.Export("mailServers", std.Join(ctx, &std.JoinArgs{ // Separator: ",", -// Input: splat0, +// Input: %!v(PANIC=Format method: fatal: A failure has occurred: unlowered splat expression @ example.pp:11,17-41), // }, nil).Result) // return nil // }) diff --git a/sdk/go/digitalocean/pulumiTypes.go b/sdk/go/digitalocean/pulumiTypes.go index 7aa64694..dbe85172 100644 --- a/sdk/go/digitalocean/pulumiTypes.go +++ b/sdk/go/digitalocean/pulumiTypes.go @@ -13369,9 +13369,11 @@ func (o DatabaseUserSettingArrayOutput) Index(i pulumi.IntInput) DatabaseUserSet type DatabaseUserSettingAcl struct { // An identifier for the ACL, this will be automatically assigned when you create an ACL entry - Id *string `pulumi:"id"` - Permission string `pulumi:"permission"` - Topic string `pulumi:"topic"` + Id *string `pulumi:"id"` + // The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + Permission string `pulumi:"permission"` + // A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. + Topic string `pulumi:"topic"` } // DatabaseUserSettingAclInput is an input type that accepts DatabaseUserSettingAclArgs and DatabaseUserSettingAclOutput values. @@ -13387,9 +13389,11 @@ type DatabaseUserSettingAclInput interface { type DatabaseUserSettingAclArgs struct { // An identifier for the ACL, this will be automatically assigned when you create an ACL entry - Id pulumi.StringPtrInput `pulumi:"id"` - Permission pulumi.StringInput `pulumi:"permission"` - Topic pulumi.StringInput `pulumi:"topic"` + Id pulumi.StringPtrInput `pulumi:"id"` + // The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + Permission pulumi.StringInput `pulumi:"permission"` + // A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. + Topic pulumi.StringInput `pulumi:"topic"` } func (DatabaseUserSettingAclArgs) ElementType() reflect.Type { @@ -13448,10 +13452,12 @@ func (o DatabaseUserSettingAclOutput) Id() pulumi.StringPtrOutput { return o.ApplyT(func(v DatabaseUserSettingAcl) *string { return v.Id }).(pulumi.StringPtrOutput) } +// The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. func (o DatabaseUserSettingAclOutput) Permission() pulumi.StringOutput { return o.ApplyT(func(v DatabaseUserSettingAcl) string { return v.Permission }).(pulumi.StringOutput) } +// A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. func (o DatabaseUserSettingAclOutput) Topic() pulumi.StringOutput { return o.ApplyT(func(v DatabaseUserSettingAcl) string { return v.Topic }).(pulumi.StringOutput) } diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/inputs/DatabaseUserSettingAclArgs.java b/sdk/java/src/main/java/com/pulumi/digitalocean/inputs/DatabaseUserSettingAclArgs.java index 1e5b8c28..66e8c24e 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/inputs/DatabaseUserSettingAclArgs.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/inputs/DatabaseUserSettingAclArgs.java @@ -31,16 +31,32 @@ public Optional> id() { return Optional.ofNullable(this.id); } + /** + * The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + * + */ @Import(name="permission", required=true) private Output permission; + /** + * @return The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + * + */ public Output permission() { return this.permission; } + /** + * A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + * + */ @Import(name="topic", required=true) private Output topic; + /** + * @return A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + * + */ public Output topic() { return this.topic; } @@ -92,20 +108,44 @@ public Builder id(String id) { return id(Output.of(id)); } + /** + * @param permission The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + * + * @return builder + * + */ public Builder permission(Output permission) { $.permission = permission; return this; } + /** + * @param permission The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + * + * @return builder + * + */ public Builder permission(String permission) { return permission(Output.of(permission)); } + /** + * @param topic A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + * + * @return builder + * + */ public Builder topic(Output topic) { $.topic = topic; return this; } + /** + * @param topic A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + * + * @return builder + * + */ public Builder topic(String topic) { return topic(Output.of(topic)); } diff --git a/sdk/java/src/main/java/com/pulumi/digitalocean/outputs/DatabaseUserSettingAcl.java b/sdk/java/src/main/java/com/pulumi/digitalocean/outputs/DatabaseUserSettingAcl.java index dd25ee68..f0293840 100644 --- a/sdk/java/src/main/java/com/pulumi/digitalocean/outputs/DatabaseUserSettingAcl.java +++ b/sdk/java/src/main/java/com/pulumi/digitalocean/outputs/DatabaseUserSettingAcl.java @@ -17,7 +17,15 @@ public final class DatabaseUserSettingAcl { * */ private @Nullable String id; + /** + * @return The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + * + */ private String permission; + /** + * @return A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + * + */ private String topic; private DatabaseUserSettingAcl() {} @@ -28,9 +36,17 @@ private DatabaseUserSettingAcl() {} public Optional id() { return Optional.ofNullable(this.id); } + /** + * @return The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + * + */ public String permission() { return this.permission; } + /** + * @return A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "<prefix>*", or "<literal>". "*" is a special value indicating a wildcard that matches on all topics. "<prefix>*" defines a regex that matches all topics with the prefix. "<literal>" performs an exact match on a topic name and only applies to that topic. + * + */ public String topic() { return this.topic; } diff --git a/sdk/nodejs/types/input.ts b/sdk/nodejs/types/input.ts index 59f66697..89e2e46a 100644 --- a/sdk/nodejs/types/input.ts +++ b/sdk/nodejs/types/input.ts @@ -1651,7 +1651,13 @@ export interface DatabaseUserSettingAcl { * An identifier for the ACL, this will be automatically assigned when you create an ACL entry */ id?: pulumi.Input; + /** + * The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + */ permission: pulumi.Input; + /** + * A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. + */ topic: pulumi.Input; } diff --git a/sdk/nodejs/types/output.ts b/sdk/nodejs/types/output.ts index 35364371..c3073271 100644 --- a/sdk/nodejs/types/output.ts +++ b/sdk/nodejs/types/output.ts @@ -1651,7 +1651,13 @@ export interface DatabaseUserSettingAcl { * An identifier for the ACL, this will be automatically assigned when you create an ACL entry */ id: string; + /** + * The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + */ permission: string; + /** + * A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. + */ topic: string; } diff --git a/sdk/python/pulumi_digitalocean/_inputs.py b/sdk/python/pulumi_digitalocean/_inputs.py index 362c37b9..c362d1f9 100644 --- a/sdk/python/pulumi_digitalocean/_inputs.py +++ b/sdk/python/pulumi_digitalocean/_inputs.py @@ -6304,6 +6304,8 @@ def __init__(__self__, *, topic: pulumi.Input[str], id: Optional[pulumi.Input[str]] = None): """ + :param pulumi.Input[str] permission: The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + :param pulumi.Input[str] topic: A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. :param pulumi.Input[str] id: An identifier for the ACL, this will be automatically assigned when you create an ACL entry """ pulumi.set(__self__, "permission", permission) @@ -6314,6 +6316,9 @@ def __init__(__self__, *, @property @pulumi.getter def permission(self) -> pulumi.Input[str]: + """ + The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + """ return pulumi.get(self, "permission") @permission.setter @@ -6323,6 +6328,9 @@ def permission(self, value: pulumi.Input[str]): @property @pulumi.getter def topic(self) -> pulumi.Input[str]: + """ + A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. + """ return pulumi.get(self, "topic") @topic.setter diff --git a/sdk/python/pulumi_digitalocean/_utilities.py b/sdk/python/pulumi_digitalocean/_utilities.py index abad7b41..c92fd32f 100644 --- a/sdk/python/pulumi_digitalocean/_utilities.py +++ b/sdk/python/pulumi_digitalocean/_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_digitalocean/outputs.py b/sdk/python/pulumi_digitalocean/outputs.py index 4e6f1faa..1d7c4e23 100644 --- a/sdk/python/pulumi_digitalocean/outputs.py +++ b/sdk/python/pulumi_digitalocean/outputs.py @@ -5904,6 +5904,8 @@ def __init__(__self__, *, topic: str, id: Optional[str] = None): """ + :param str permission: The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + :param str topic: A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. :param str id: An identifier for the ACL, this will be automatically assigned when you create an ACL entry """ pulumi.set(__self__, "permission", permission) @@ -5914,11 +5916,17 @@ def __init__(__self__, *, @property @pulumi.getter def permission(self) -> str: + """ + The permission level applied to the ACL. This includes "admin", "consume", "produce", and "produceconsume". "admin" allows for producing and consuming as well as add/delete/update permission for topics. "consume" allows only for reading topic messages. "produce" allows only for writing topic messages. "produceconsume" allows for both reading and writing topic messages. + """ return pulumi.get(self, "permission") @property @pulumi.getter def topic(self) -> str: + """ + A regex for matching the topic(s) that this ACL should apply to. The regex can assume one of 3 patterns: "*", "*", or "". "*" is a special value indicating a wildcard that matches on all topics. "*" defines a regex that matches all topics with the prefix. "" performs an exact match on a topic name and only applies to that topic. + """ return pulumi.get(self, "topic") @property