-
Notifications
You must be signed in to change notification settings - Fork 0
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-scaleway to v2.24.0 (#99)
* make tfgen * make build_sdks
- Loading branch information
Showing
191 changed files
with
3,040 additions
and
606 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,205 @@ | ||
// *** 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; | ||
using Pulumi; | ||
|
||
namespace ediri.Scaleway | ||
{ | ||
/// <summary> | ||
/// Creates and manages Scaleway Container Triggers. | ||
/// For more information see [the documentation](https://www.scaleway.com/en/developers/api/serverless-containers/#path-triggers). | ||
/// | ||
/// ## Examples | ||
/// | ||
/// ### Basic | ||
/// | ||
/// ```csharp | ||
/// using System.Collections.Generic; | ||
/// using System.Linq; | ||
/// using Pulumi; | ||
/// using Scaleway = ediri.Scaleway; | ||
/// | ||
/// return await Deployment.RunAsync(() => | ||
/// { | ||
/// var main = new Scaleway.ContainerTrigger("main", new() | ||
/// { | ||
/// ContainerId = scaleway_container.Main.Id, | ||
/// Sqs = new Scaleway.Inputs.ContainerTriggerSqsArgs | ||
/// { | ||
/// NamespaceId = scaleway_mnq_namespace.Main.Id, | ||
/// Queue = "MyQueue", | ||
/// ProjectId = scaleway_mnq_namespace.Main.Project_id, | ||
/// Region = scaleway_mnq_namespace.Main.Region, | ||
/// }, | ||
/// }); | ||
/// | ||
/// }); | ||
/// ``` | ||
/// | ||
/// ## Import | ||
/// | ||
/// Container Triggers can be imported using the `{region}/{id}`, e.g. bash | ||
/// | ||
/// ```sh | ||
/// $ pulumi import scaleway:index/containerTrigger:ContainerTrigger main fr-par/11111111-1111-1111-1111-111111111111 | ||
/// ``` | ||
/// </summary> | ||
[ScalewayResourceType("scaleway:index/containerTrigger:ContainerTrigger")] | ||
public partial class ContainerTrigger : global::Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// The ID of the container to create a trigger for | ||
/// </summary> | ||
[Output("containerId")] | ||
public Output<string> ContainerId { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The description of the trigger. | ||
/// </summary> | ||
[Output("description")] | ||
public Output<string?> Description { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The unique name of the trigger. Default to a generated name. | ||
/// </summary> | ||
[Output("name")] | ||
public Output<string> Name { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// `region`). The region in which the namespace should be created. | ||
/// </summary> | ||
[Output("region")] | ||
public Output<string> Region { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The configuration of the Scaleway's SQS used by the trigger | ||
/// </summary> | ||
[Output("sqs")] | ||
public Output<Outputs.ContainerTriggerSqs?> Sqs { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a ContainerTrigger 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 ContainerTrigger(string name, ContainerTriggerArgs args, CustomResourceOptions? options = null) | ||
: base("scaleway:index/containerTrigger:ContainerTrigger", name, args ?? new ContainerTriggerArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private ContainerTrigger(string name, Input<string> id, ContainerTriggerState? state = null, CustomResourceOptions? options = null) | ||
: base("scaleway:index/containerTrigger:ContainerTrigger", name, state, MakeResourceOptions(options, id)) | ||
{ | ||
} | ||
|
||
private static CustomResourceOptions MakeResourceOptions(CustomResourceOptions? options, Input<string>? id) | ||
{ | ||
var defaultOptions = new CustomResourceOptions | ||
{ | ||
Version = Utilities.Version, | ||
PluginDownloadURL = "github://api.github.com/dirien/pulumi-scaleway", | ||
}; | ||
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 ContainerTrigger 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 ContainerTrigger Get(string name, Input<string> id, ContainerTriggerState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new ContainerTrigger(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class ContainerTriggerArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The ID of the container to create a trigger for | ||
/// </summary> | ||
[Input("containerId", required: true)] | ||
public Input<string> ContainerId { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// The description of the trigger. | ||
/// </summary> | ||
[Input("description")] | ||
public Input<string>? Description { get; set; } | ||
|
||
/// <summary> | ||
/// The unique name of the trigger. Default to a generated name. | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// `region`). The region in which the namespace should be created. | ||
/// </summary> | ||
[Input("region")] | ||
public Input<string>? Region { get; set; } | ||
|
||
/// <summary> | ||
/// The configuration of the Scaleway's SQS used by the trigger | ||
/// </summary> | ||
[Input("sqs")] | ||
public Input<Inputs.ContainerTriggerSqsArgs>? Sqs { get; set; } | ||
|
||
public ContainerTriggerArgs() | ||
{ | ||
} | ||
public static new ContainerTriggerArgs Empty => new ContainerTriggerArgs(); | ||
} | ||
|
||
public sealed class ContainerTriggerState : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The ID of the container to create a trigger for | ||
/// </summary> | ||
[Input("containerId")] | ||
public Input<string>? ContainerId { get; set; } | ||
|
||
/// <summary> | ||
/// The description of the trigger. | ||
/// </summary> | ||
[Input("description")] | ||
public Input<string>? Description { get; set; } | ||
|
||
/// <summary> | ||
/// The unique name of the trigger. Default to a generated name. | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// `region`). The region in which the namespace should be created. | ||
/// </summary> | ||
[Input("region")] | ||
public Input<string>? Region { get; set; } | ||
|
||
/// <summary> | ||
/// The configuration of the Scaleway's SQS used by the trigger | ||
/// </summary> | ||
[Input("sqs")] | ||
public Input<Inputs.ContainerTriggerSqsGetArgs>? Sqs { get; set; } | ||
|
||
public ContainerTriggerState() | ||
{ | ||
} | ||
public static new ContainerTriggerState Empty => new ContainerTriggerState(); | ||
} | ||
} |
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,45 @@ | ||
// *** 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; | ||
using Pulumi; | ||
|
||
namespace ediri.Scaleway.Inputs | ||
{ | ||
|
||
public sealed class ContainerTriggerSqsArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// ID of the mnq namespace | ||
/// </summary> | ||
[Input("namespaceId", required: true)] | ||
public Input<string> NamespaceId { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// ID of the project that contain the mnq namespace, defaults to provider's project | ||
/// </summary> | ||
[Input("projectId")] | ||
public Input<string>? ProjectId { get; set; } | ||
|
||
/// <summary> | ||
/// Name of the queue | ||
/// </summary> | ||
[Input("queue", required: true)] | ||
public Input<string> Queue { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// `region`). The region in which the namespace should be created. | ||
/// </summary> | ||
[Input("region")] | ||
public Input<string>? Region { get; set; } | ||
|
||
public ContainerTriggerSqsArgs() | ||
{ | ||
} | ||
public static new ContainerTriggerSqsArgs Empty => new ContainerTriggerSqsArgs(); | ||
} | ||
} |
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,45 @@ | ||
// *** 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; | ||
using Pulumi; | ||
|
||
namespace ediri.Scaleway.Inputs | ||
{ | ||
|
||
public sealed class ContainerTriggerSqsGetArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// ID of the mnq namespace | ||
/// </summary> | ||
[Input("namespaceId", required: true)] | ||
public Input<string> NamespaceId { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// ID of the project that contain the mnq namespace, defaults to provider's project | ||
/// </summary> | ||
[Input("projectId")] | ||
public Input<string>? ProjectId { get; set; } | ||
|
||
/// <summary> | ||
/// Name of the queue | ||
/// </summary> | ||
[Input("queue", required: true)] | ||
public Input<string> Queue { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// `region`). The region in which the namespace should be created. | ||
/// </summary> | ||
[Input("region")] | ||
public Input<string>? Region { get; set; } | ||
|
||
public ContainerTriggerSqsGetArgs() | ||
{ | ||
} | ||
public static new ContainerTriggerSqsGetArgs Empty => new ContainerTriggerSqsGetArgs(); | ||
} | ||
} |
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.