-
Notifications
You must be signed in to change notification settings - Fork 8
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-ovh to v0.40.0 (#127)
* make tfgen * make build_sdks
- Loading branch information
Showing
93 changed files
with
5,941 additions
and
288 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
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,198 @@ | ||
// *** 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.Ovh.CloudProject | ||
{ | ||
/// <summary> | ||
/// Create a new Gateway for existing subnet in the specified public cloud project. | ||
/// </summary> | ||
[OvhResourceType("ovh:CloudProject/gateway:Gateway")] | ||
public partial class Gateway : global::Pulumi.CustomResource | ||
{ | ||
/// <summary> | ||
/// The model of the gateway. | ||
/// </summary> | ||
[Output("model")] | ||
public Output<string> Model { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The name of the gateway. | ||
/// </summary> | ||
[Output("name")] | ||
public Output<string> Name { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The ID of the private network. | ||
/// </summary> | ||
[Output("networkId")] | ||
public Output<string> NetworkId { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The region of the gateway. | ||
/// </summary> | ||
[Output("region")] | ||
public Output<string> Region { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The ID of the private network. | ||
/// </summary> | ||
[Output("serviceName")] | ||
public Output<string> ServiceName { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The status of the gateway. | ||
/// </summary> | ||
[Output("status")] | ||
public Output<string> Status { get; private set; } = null!; | ||
|
||
/// <summary> | ||
/// The ID of the subnet. | ||
/// </summary> | ||
[Output("subnetId")] | ||
public Output<string> SubnetId { get; private set; } = null!; | ||
|
||
|
||
/// <summary> | ||
/// Create a Gateway 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 Gateway(string name, GatewayArgs args, CustomResourceOptions? options = null) | ||
: base("ovh:CloudProject/gateway:Gateway", name, args ?? new GatewayArgs(), MakeResourceOptions(options, "")) | ||
{ | ||
} | ||
|
||
private Gateway(string name, Input<string> id, GatewayState? state = null, CustomResourceOptions? options = null) | ||
: base("ovh:CloudProject/gateway:Gateway", 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/ovh/pulumi-ovh", | ||
}; | ||
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 Gateway 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 Gateway Get(string name, Input<string> id, GatewayState? state = null, CustomResourceOptions? options = null) | ||
{ | ||
return new Gateway(name, id, state, options); | ||
} | ||
} | ||
|
||
public sealed class GatewayArgs : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The model of the gateway. | ||
/// </summary> | ||
[Input("model", required: true)] | ||
public Input<string> Model { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// The name of the gateway. | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// The ID of the private network. | ||
/// </summary> | ||
[Input("networkId", required: true)] | ||
public Input<string> NetworkId { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// The region of the gateway. | ||
/// </summary> | ||
[Input("region", required: true)] | ||
public Input<string> Region { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// The ID of the private network. | ||
/// </summary> | ||
[Input("serviceName", required: true)] | ||
public Input<string> ServiceName { get; set; } = null!; | ||
|
||
/// <summary> | ||
/// The ID of the subnet. | ||
/// </summary> | ||
[Input("subnetId", required: true)] | ||
public Input<string> SubnetId { get; set; } = null!; | ||
|
||
public GatewayArgs() | ||
{ | ||
} | ||
public static new GatewayArgs Empty => new GatewayArgs(); | ||
} | ||
|
||
public sealed class GatewayState : global::Pulumi.ResourceArgs | ||
{ | ||
/// <summary> | ||
/// The model of the gateway. | ||
/// </summary> | ||
[Input("model")] | ||
public Input<string>? Model { get; set; } | ||
|
||
/// <summary> | ||
/// The name of the gateway. | ||
/// </summary> | ||
[Input("name")] | ||
public Input<string>? Name { get; set; } | ||
|
||
/// <summary> | ||
/// The ID of the private network. | ||
/// </summary> | ||
[Input("networkId")] | ||
public Input<string>? NetworkId { get; set; } | ||
|
||
/// <summary> | ||
/// The region of the gateway. | ||
/// </summary> | ||
[Input("region")] | ||
public Input<string>? Region { get; set; } | ||
|
||
/// <summary> | ||
/// The ID of the private network. | ||
/// </summary> | ||
[Input("serviceName")] | ||
public Input<string>? ServiceName { get; set; } | ||
|
||
/// <summary> | ||
/// The status of the gateway. | ||
/// </summary> | ||
[Input("status")] | ||
public Input<string>? Status { get; set; } | ||
|
||
/// <summary> | ||
/// The ID of the subnet. | ||
/// </summary> | ||
[Input("subnetId")] | ||
public Input<string>? SubnetId { get; set; } | ||
|
||
public GatewayState() | ||
{ | ||
} | ||
public static new GatewayState Empty => new GatewayState(); | ||
} | ||
} |
Oops, something went wrong.