generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade terraform-provider-minio to v1.10.0
- Loading branch information
Showing
78 changed files
with
7,570 additions
and
543 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Minio | ||
{ | ||
/// <summary> | ||
/// ## Example Usage | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using Pulumi; | ||
/// using Minio = Pulumi.Minio; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var test = new Minio.IamUser("test", new() | ||
/// { | ||
/// ForceDestroy = true, | ||
/// Tags = | ||
/// { | ||
/// { "tag-key", "tag-value" }, | ||
/// }, | ||
/// }); | ||
/// | ||
/// var testServiceAccount = new Minio.IamServiceAccount("testServiceAccount", new() | ||
/// { | ||
/// TargetUser = test.Name, | ||
/// }); | ||
/// | ||
/// return new Dictionary<string, object?> | ||
/// { | ||
/// ["minioUser"] = testServiceAccount.AccessKey, | ||
/// ["minioPassword"] = testServiceAccount.SecretKey, | ||
/// }; | ||
/// }); | ||
/// ``` | ||
/// </summary> | ||
[MinioResourceType("minio:index/iamServiceAccount:IamServiceAccount")] | ||
public partial class IamServiceAccount : global::Pulumi.CustomResource | ||
{ | ||
[Output("accessKey")] | ||
public Output<string> AccessKey { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// Disable service account | ||
/// </summary> | ||
[Output("disableUser")] | ||
public Output<bool?> DisableUser { get; private set; } = null!; | ||
|
||
[Output("secretKey")] | ||
public Output<string> SecretKey { get; private set; } = null!; | ||
|
||
[Output("status")] | ||
public Output<string> Status { get; private set; } = null!; | ||
|
||
[Output("targetUser")] | ||
public Output<string> TargetUser { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// rotate secret key | ||
/// </summary> | ||
[Output("updateSecret")] | ||
public Output<bool?> UpdateSecret { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a IamServiceAccount resource with the given unique name, arguments, and options. | ||
/// </summary> | ||
/// | ||
/// <param name="name">The unique name of the resource</param> | ||
/// <param name="args">The arguments used to populate this resource's properties</param> | ||
/// <param name="options">A bag of options that control this resource's behavior</param> | ||
public IamServiceAccount(string name, IamServiceAccountArgs args, CustomResourceOptions? options = null) | ||
: base("minio:index/iamServiceAccount:IamServiceAccount", name, args ?? new IamServiceAccountArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private IamServiceAccount(string name, Input<string> id, IamServiceAccountState? state = null, CustomResourceOptions? options = null) | ||
: base("minio:index/iamServiceAccount:IamServiceAccount", name, state, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
AdditionalSecretOutputs = | ||
{ | ||
"secretKey", | ||
}, | ||
}; | ||
var merged = CustomResourceOptions.Merge(defaultOptions, options); | ||
// Override the ID if one was specified for consistency with other language SDKs. | ||
merged.Id = id ?? merged.Id; | ||
return merged; | ||
} | ||
/// <summary> | ||
/// Get an existing IamServiceAccount resource's state with the given name, ID, and optional extra | ||
/// properties used to qualify the lookup. | ||
/// </summary> | ||
/// | ||
/// <param name="name">The unique name of the resulting resource.</param> | ||
/// <param name="id">The unique provider ID of the resource to lookup.</param> | ||
/// <param name="state">Any extra arguments used during the lookup.</param> | ||
/// <param name="options">A bag of options that control this resource's behavior</param> | ||
public static IamServiceAccount Get(string name, Input<string> id, IamServiceAccountState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new IamServiceAccount(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class IamServiceAccountArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// Disable service account | ||
/// </summary> | ||
[Input("disableUser")] | ||
public Input<bool>? DisableUser { get; set; } | ||
|
||
[Input("targetUser", required: true)] | ||
public Input<string> TargetUser { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// rotate secret key | ||
/// </summary> | ||
[Input("updateSecret")] | ||
public Input<bool>? UpdateSecret { get; set; } | ||
|
||
public IamServiceAccountArgs() | ||
{ | ||
} | ||
public static new IamServiceAccountArgs Empty => new IamServiceAccountArgs(); | ||
} | ||
|
||
public sealed class IamServiceAccountState : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("accessKey")] | ||
public Input<string>? AccessKey { get; set; } | ||
|
||
/// <summary> | ||
/// Disable service account | ||
/// </summary> | ||
[Input("disableUser")] | ||
public Input<bool>? DisableUser { get; set; } | ||
|
||
[Input("secretKey")] | ||
private Input<string>? _secretKey; | ||
public Input<string>? SecretKey | ||
{ | ||
get => _secretKey; | ||
set | ||
{ | ||
var emptySecret = Output.CreateSecret(0); | ||
_secretKey = Output.Tuple<Input<string>?, int>(value, emptySecret).Apply(t => t.Item1); | ||
} | ||
} | ||
|
||
[Input("status")] | ||
public Input<string>? Status { get; set; } | ||
|
||
[Input("targetUser")] | ||
public Input<string>? TargetUser { get; set; } | ||
|
||
/// <summary> | ||
/// rotate secret key | ||
/// </summary> | ||
[Input("updateSecret")] | ||
public Input<bool>? UpdateSecret { get; set; } | ||
|
||
public IamServiceAccountState() | ||
{ | ||
} | ||
public static new IamServiceAccountState Empty => new IamServiceAccountState(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** | ||
// *** Do not edit by hand unless you're certain you know what you are doing! *** | ||
|
||
using System; | ||
using System.Collections.Generic; | ||
using System.Collections.Immutable; | ||
using System.Threading.Tasks; | ||
using Pulumi.Serialization; | ||
|
||
namespace Pulumi.Minio.Inputs | ||
{ | ||
|
||
public sealed class S3BucketNotificationQueueArgs : global::Pulumi.ResourceArgs | ||
{ | ||
[Input("events", required: true)] | ||
private InputList<string>? _events; | ||
public InputList<string> Events | ||
{ | ||
get => _events ?? (_events = new InputList<string>()); | ||
set => _events = value; | ||
} | ||
|
||
[Input("filterPrefix")] | ||
public Input<string>? FilterPrefix { get; set; } | ||
|
||
[Input("filterSuffix")] | ||
public Input<string>? FilterSuffix { get; set; } | ||
|
||
/// <summary> | ||
/// The ID of this resource. | ||
/// </summary> | ||
[Input("id")] | ||
public Input<string>? Id { get; set; } | ||
|
||
[Input("queueArn", required: true)] | ||
public Input<string> QueueArn { get; set; } = null!; | ||
|
||
public S3BucketNotificationQueueArgs() | ||
{ | ||
} | ||
public static new S3BucketNotificationQueueArgs Empty => new S3BucketNotificationQueueArgs(); | ||
} | ||
} |
Oops, something went wrong.