generated from pulumi/pulumi-tf-provider-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 2
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-confluent to v1.36.0
- Loading branch information
Showing
111 changed files
with
9,163 additions
and
263 deletions.
There are no files selected for viewing
592 changes: 587 additions & 5 deletions
592
provider/cmd/pulumi-resource-confluentcloud/schema.json
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,121 @@ | ||
// *** 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.ConfluentCloud | ||
{ | ||
/// <summary> | ||
/// ## Import | ||
/// | ||
/// You can import a BYOK Key by using BYOK Key ID. The following example shows how to import a BYOK Key$ export CONFLUENT_CLOUD_API_KEY="<cloud_api_key>" $ export CONFLUENT_CLOUD_API_SECRET="<cloud_api_secret>" | ||
/// | ||
/// ```sh | ||
/// $ pulumi import confluentcloud:index/byokKey:ByokKey aws_key cck-abcde | ||
/// ``` | ||
/// | ||
/// !> **Warning:** Do not forget to delete terminal command history afterwards for security purposes. | ||
/// </summary> | ||
[ConfluentCloudResourceType("confluentcloud:index/byokKey:ByokKey")] | ||
public partial class ByokKey : global::Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// (Optional Configuration Block) supports the following: | ||
/// </summary> | ||
[Output("aws")] | ||
public Output<Outputs.ByokKeyAws> Aws { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// (Optional Configuration Block) supports the following: | ||
/// </summary> | ||
[Output("azure")] | ||
public Output<Outputs.ByokKeyAzure> Azure { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a ByokKey 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 ByokKey(string name, ByokKeyArgs? args = null, CustomResourceOptions? options = null) | ||
: base("confluentcloud:index/byokKey:ByokKey", name, args ?? new ByokKeyArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private ByokKey(string name, Input<string> id, ByokKeyState? state = null, CustomResourceOptions? options = null) | ||
: base("confluentcloud:index/byokKey:ByokKey", 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 ByokKey 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 ByokKey Get(string name, Input<string> id, ByokKeyState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new ByokKey(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class ByokKeyArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// (Optional Configuration Block) supports the following: | ||
/// </summary> | ||
[Input("aws")] | ||
public Input<Inputs.ByokKeyAwsArgs>? Aws { get; set; } | ||
|
||
/// <summary> | ||
/// (Optional Configuration Block) supports the following: | ||
/// </summary> | ||
[Input("azure")] | ||
public Input<Inputs.ByokKeyAzureArgs>? Azure { get; set; } | ||
|
||
public ByokKeyArgs() | ||
{ | ||
} | ||
public static new ByokKeyArgs Empty => new ByokKeyArgs(); | ||
} | ||
|
||
public sealed class ByokKeyState : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// (Optional Configuration Block) supports the following: | ||
/// </summary> | ||
[Input("aws")] | ||
public Input<Inputs.ByokKeyAwsGetArgs>? Aws { get; set; } | ||
|
||
/// <summary> | ||
/// (Optional Configuration Block) supports the following: | ||
/// </summary> | ||
[Input("azure")] | ||
public Input<Inputs.ByokKeyAzureGetArgs>? Azure { get; set; } | ||
|
||
public ByokKeyState() | ||
{ | ||
} | ||
public static new ByokKeyState Empty => new ByokKeyState(); | ||
} | ||
} |
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,146 @@ | ||
// *** 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.ConfluentCloud | ||
{ | ||
public static class GetByokKey | ||
{ | ||
/// <summary> | ||
/// [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) | ||
/// | ||
/// > **Note:** `confluentcloud.ByokKey` data source is available in **Preview** for early adopters. Preview features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions. | ||
/// **Preview** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Preview features. Preview features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Preview features at any time in Confluent’s sole discretion. | ||
/// | ||
/// `confluentcloud.ByokKey` describes a BYOK Key data source. | ||
/// | ||
/// {{% examples %}} | ||
/// ## Example Usage | ||
/// {{% example %}} | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using Pulumi; | ||
/// using ConfluentCloud = Pulumi.ConfluentCloud; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var azureKey = ConfluentCloud.GetByokKey.Invoke(new() | ||
/// { | ||
/// Id = "cck-abcde", | ||
/// }); | ||
/// | ||
/// return new Dictionary<string, object?> | ||
/// { | ||
/// ["byok"] = azureKey, | ||
/// }; | ||
/// }); | ||
/// ``` | ||
/// {{% /example %}} | ||
/// {{% /examples %}} | ||
/// </summary> | ||
public static Task<GetByokKeyResult> InvokeAsync(GetByokKeyArgs args, InvokeOptions? options = null) | ||
=> global::Pulumi.Deployment.Instance.InvokeAsync<GetByokKeyResult>("confluentcloud:index/getByokKey:getByokKey", args ?? new GetByokKeyArgs(), options.WithDefaults()); | ||
|
||
/// <summary> | ||
/// [![Preview](https://img.shields.io/badge/Lifecycle%20Stage-Preview-%2300afba)](https://docs.confluent.io/cloud/current/api.html#section/Versioning/API-Lifecycle-Policy) | ||
/// | ||
/// > **Note:** `confluentcloud.ByokKey` data source is available in **Preview** for early adopters. Preview features are introduced to gather customer feedback. This feature should be used only for evaluation and non-production testing purposes or to provide feedback to Confluent, particularly as it becomes more widely available in follow-on editions. | ||
/// **Preview** features are intended for evaluation use in development and testing environments only, and not for production use. The warranty, SLA, and Support Services provisions of your agreement with Confluent do not apply to Preview features. Preview features are considered to be a Proof of Concept as defined in the Confluent Cloud Terms of Service. Confluent may discontinue providing preview releases of the Preview features at any time in Confluent’s sole discretion. | ||
/// | ||
/// `confluentcloud.ByokKey` describes a BYOK Key data source. | ||
/// | ||
/// {{% examples %}} | ||
/// ## Example Usage | ||
/// {{% example %}} | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using Pulumi; | ||
/// using ConfluentCloud = Pulumi.ConfluentCloud; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var azureKey = ConfluentCloud.GetByokKey.Invoke(new() | ||
/// { | ||
/// Id = "cck-abcde", | ||
/// }); | ||
/// | ||
/// return new Dictionary<string, object?> | ||
/// { | ||
/// ["byok"] = azureKey, | ||
/// }; | ||
/// }); | ||
/// ``` | ||
/// {{% /example %}} | ||
/// {{% /examples %}} | ||
/// </summary> | ||
public static Output<GetByokKeyResult> Invoke(GetByokKeyInvokeArgs args, InvokeOptions? options = null) | ||
=> global::Pulumi.Deployment.Instance.Invoke<GetByokKeyResult>("confluentcloud:index/getByokKey:getByokKey", args ?? new GetByokKeyInvokeArgs(), options.WithDefaults()); | ||
} | ||
|
||
|
||
public sealed class GetByokKeyArgs : global::Pulumi.InvokeArgs | ||
{ | ||
/// <summary> | ||
/// The ID of the BYOK key, for example, `cck-abcde`. | ||
/// </summary> | ||
[Input("id", required: true)] | ||
public string Id { get; set; } = null!; | ||
|
||
public GetByokKeyArgs() | ||
{ | ||
} | ||
public static new GetByokKeyArgs Empty => new GetByokKeyArgs(); | ||
} | ||
|
||
public sealed class GetByokKeyInvokeArgs : global::Pulumi.InvokeArgs | ||
{ | ||
/// <summary> | ||
/// The ID of the BYOK key, for example, `cck-abcde`. | ||
/// </summary> | ||
[Input("id", required: true)] | ||
public Input<string> Id { get; set; } = null!; | ||
|
||
public GetByokKeyInvokeArgs() | ||
{ | ||
} | ||
public static new GetByokKeyInvokeArgs Empty => new GetByokKeyInvokeArgs(); | ||
} | ||
|
||
|
||
[OutputType] | ||
public sealed class GetByokKeyResult | ||
{ | ||
/// <summary> | ||
/// (Optional Configuration Block) supports the following: | ||
/// </summary> | ||
public readonly ImmutableArray<Outputs.GetByokKeyAwResult> Aws; | ||
/// <summary> | ||
/// (Optional Configuration Block) supports the following: | ||
/// </summary> | ||
public readonly ImmutableArray<Outputs.GetByokKeyAzureResult> Azures; | ||
/// <summary> | ||
/// (Required String) The ID of the BYOK key, for example, `cck-abcde`. | ||
/// </summary> | ||
public readonly string Id; | ||
|
||
[OutputConstructor] | ||
private GetByokKeyResult( | ||
ImmutableArray<Outputs.GetByokKeyAwResult> aws, | ||
|
||
ImmutableArray<Outputs.GetByokKeyAzureResult> azures, | ||
|
||
string id) | ||
{ | ||
Aws = aws; | ||
Azures = azures; | ||
Id = id; | ||
} | ||
} | ||
} |
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
Oops, something went wrong.