-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #75 from pulumi/stack72/v2.14.0
Upgrade to v2.14.0 of the Vault Terraform Provider
- Loading branch information
Showing
16 changed files
with
537 additions
and
35 deletions.
There are no files selected for viewing
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
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,125 @@ | ||
// *** 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.Vault | ||
{ | ||
public partial class QuotaRateLimit : Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// The name of the quota. | ||
/// </summary> | ||
[Output("name")] | ||
public Output<string> Name { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// Path of the mount or namespace to apply the quota. A blank path configures a global rate limit quota. | ||
/// </summary> | ||
[Output("path")] | ||
public Output<string?> Path { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The maximum number of requests at any given second to be allowed by the quota rule. The rate must be positive. | ||
/// </summary> | ||
[Output("rate")] | ||
public Output<double> Rate { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a QuotaRateLimit 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 QuotaRateLimit(string name, QuotaRateLimitArgs args, CustomResourceOptions? options = null) | ||
: base("vault:index/quotaRateLimit:QuotaRateLimit", name, args ?? new QuotaRateLimitArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private QuotaRateLimit(string name, Input<string> id, QuotaRateLimitState? state = null, CustomResourceOptions? options = null) | ||
: base("vault:index/quotaRateLimit:QuotaRateLimit", name, state, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
}; | ||
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 QuotaRateLimit 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 QuotaRateLimit Get(string name, Input<string> id, QuotaRateLimitState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new QuotaRateLimit(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class QuotaRateLimitArgs : Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The name of the quota. | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// Path of the mount or namespace to apply the quota. A blank path configures a global rate limit quota. | ||
/// </summary> | ||
[Input("path")] | ||
public Input<string>? Path { get; set; } | ||
|
||
/// <summary> | ||
/// The maximum number of requests at any given second to be allowed by the quota rule. The rate must be positive. | ||
/// </summary> | ||
[Input("rate", required: true)] | ||
public Input<double> Rate { get; set; } = null!; | ||
|
||
public QuotaRateLimitArgs() | ||
{ | ||
} | ||
} | ||
|
||
public sealed class QuotaRateLimitState : Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The name of the quota. | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// Path of the mount or namespace to apply the quota. A blank path configures a global rate limit quota. | ||
/// </summary> | ||
[Input("path")] | ||
public Input<string>? Path { get; set; } | ||
|
||
/// <summary> | ||
/// The maximum number of requests at any given second to be allowed by the quota rule. The rate must be positive. | ||
/// </summary> | ||
[Input("rate")] | ||
public Input<double>? Rate { get; set; } | ||
|
||
public QuotaRateLimitState() | ||
{ | ||
} | ||
} | ||
} |
Oops, something went wrong.